\HeaderA{fix.family.link}{Modify families for use in GAM fitting}{fix.family.link}
\aliasA{fix.family.var}{fix.family.link}{fix.family.var}
\keyword{models}{fix.family.link}
\keyword{regression}{fix.family.link}
\begin{Description}\relax
Generalized Additive Model fitting by `outer' iteration,
requires extra derivatives of the variance and link functions to be 
added to family objects. The functions add what is needed.
\end{Description}
\begin{Usage}
\begin{verbatim}
fix.family.link(fam)
fix.family.var(fam)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{fam}] A \code{family}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Outer iteration GAM estimation requires derivatives of the GCV/UBRE
score, which are obtained by differentiating the P-IRLS GAM fitting iteration
w.r.t. the model smoothing parameters. The expressions for the derivatives
require the second derivative of the link w.r.t. the mean, and the first
derivative of the variance function w.r.t. the mean. These functions add
functions evaluating these quantities to a family.
\end{Details}
\begin{Value}
A family object with extra component functions \code{dvar} and \code{d2link}.
\end{Value}
\begin{Author}\relax
Simon N. Wood \email{simon.wood@r-project.org}
\end{Author}

