\HeaderA{fitFDist}{Moment Estimation of Scaled F-Distribution}{fitFDist}
\keyword{distribution}{fitFDist}
\begin{Description}\relax
Moment estimation of the parameters of a scaled F-distribution given one of the degrees of freedom.
This function is called internally by \code{ebayes} and is not usually called directly by a user.
\end{Description}
\begin{Usage}
\begin{verbatim}
fitFDist(x,df1)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] numeric vector or array of positive values representing a sample from an F-distribution.
\item[\code{df1}] the first degrees of freedom of the F-distribution. May be an integer or a vector of the same length as \code{x}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The function estimates \code{scale} and \code{df2} under the assumption that \code{x} is distributed as \code{scale} times an F-distributed random variable on \code{df1} and \code{df2} degrees of freedom.
\end{Details}
\begin{Value}
A list containing the components
\begin{ldescription}
\item[\code{scale}] scale factor for F-distribution
\item[\code{df2}] the second degrees of freedom of the F-distribution
\end{ldescription}
\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{ebayes}{ebayes}}, \code{\LinkA{trigammaInverse}{trigammaInverse}}
\end{SeeAlso}


