\HeaderA{dnormexp}{The Normal + Exponential Convolution Distribution}{dnormexp}
\methaliasA{dnormexp.saddle}{dnormexp}{dnormexp.saddle}
\keyword{models}{dnormexp}
\begin{Description}\relax
Density of the normal + exponential convolution distribution.
This function is called by \code{normexp.fit}.
\end{Description}
\begin{Usage}
\begin{verbatim}
dnormexp(x,normmean,normsd,expmean,log=FALSE)
dnormexp.saddle(x,normmean,normsd,expmean,log=FALSE,secondorder=TRUE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] numeric vector of quantiles
\item[\code{normmean}] mean of normal distribution
\item[\code{normsd}] standard deviation of normal distribution
\item[\code{expmean}] mean of exponential distribution
\item[\code{log}] logical, if \code{TRUE}, density values \code{d} are given as \code{log(d)}
\item[\code{secondorder}] logical, if \code{TRUE} the second order saddle-point approximation is used
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\code{dnormexp} computes the exact density but may fail for some extreme parameter values.
\code{dnormexp.saddle} computes the saddle-point approximation to the density.
\end{Details}
\begin{Value}
numeric vector of density or log-density values.
\end{Value}
\begin{Author}\relax
Jeremy Silver and Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
An overview of background correction functions is given in \code{\LinkA{04.Background}{04.Background}}.
\end{SeeAlso}


