

    \filetitle{windex}{Simple weighted or Divisia index}{tseries/windex}

	\paragraph{Syntax}
 
 \begin{verbatim}
 y = windex(x,w,range)
 \end{verbatim}
 \paragraph{Input arguments}
 
 \begin{itemize}
 \item
   \texttt{x} {[} tseries {]} - Input times series.
 \item
   \texttt{w} {[} tseries \textbar{} numeric {]} - Fixed or time-varying
   weights on the input time series.
 \item
   \texttt{range} {[} numeric {]} - Range on which the Divisia index is
   computed.
 \end{itemize}
 \paragraph{Output arguments}
 
 \begin{itemize}
 \item
   \texttt{y} {[} tseries {]} - Weighted index based on \texttt{x}.
 \end{itemize}
 \paragraph{Options}
 
 \begin{itemize}
 \item
   \texttt{'method='} {[} `divisia' \textbar{} \emph{`simple'} {]} -
   Weighting method.
 \item
   \texttt{'log='} {[} \texttt{true} \textbar{} \emph{\texttt{false}} {]}
   - Logarithmise the input data before computing the index,
   delogarithmise the output data.
 \end{itemize}
 \paragraph{Description}
 
 \paragraph{Example}
 
 -IRIS Toolbox. -Copyright (c) 2007--2012 Jaromir Benes.


