\HeaderA{tau2.DL}{estimating my and tau in a REM}{tau2.DL}
\aliasA{mu.tau2}{tau2.DL}{mu.tau2}
\aliasA{var.tau2}{tau2.DL}{var.tau2}
\keyword{htest}{tau2.DL}
\begin{Description}\relax
tau2.DL is an estimation of tau in a random effects model (REM) using 
Cochran's Q statistic.
\end{Description}
\begin{Usage}
\begin{verbatim}
tau2.DL(Q, num.studies, my.weights)
mu.tau2(my.d, my.vars.new)
var.tau2(my.vars.new)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{Q}] A vector of Cochran's Q statistics.
\item[\code{num.studies}] The number of studies used for the meta-analysis.
\item[\code{my.weights}] A matrix with one column for each experiment containing the
variances of the effects that should be combined.
\item[\code{my.d}] A matrix, with one column for each experiment, containing
the effects that should be combined.
\item[\code{my.vars.new}] A matrix, with one column for each experiment, containing 
the variances of the effects that should be combined.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\end{Details}
\begin{Value}
\end{Value}
\begin{Author}\relax
L. Lusa and R. Gentleman
\end{Author}
\begin{References}\relax
Choi et al, Combining multiple microarray studies and
modeling interstudy variation. Bioinformatics, 2003, i84-i90.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{dstar}{dstar}},\code{\LinkA{sigmad}{sigmad}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
# please have a look at the vignette
\end{ExampleCode}
\end{Examples}

