1\name{lndIChisq}
2\alias{lndIChisq}
3\concept{Inverted Chi-squared Distribution}
4\concept{density}
5
6\title{Compute Log of Inverted Chi-Squared Density}
7
8\description{
9\code{lndIChisq} computes the log of an Inverted Chi-Squared Density.
10}
11
12\usage{lndIChisq(nu, ssq, X)}
13
14\arguments{
15  \item{nu  }{ d.f. parameter }
16  \item{ssq }{ scale parameter }
17  \item{X   }{ ordinate for density evaluation (this must be a matrix)}
18}
19
20\details{
21  \eqn{Z = nu*ssq / \chi^2_{nu}} with \eqn{Z} \eqn{\sim}{~} Inverted Chi-Squared.  \cr
22  \code{lndIChisq} computes the complete log-density, including normalizing constants.
23}
24
25\value{Log density value}
26
27\section{Warning}{
28This routine is a utility routine that does \strong{not} check the input arguments for proper dimensions and type.
29}
30
31\author{Peter Rossi, Anderson School, UCLA, \email{perossichi@gmail.com}.}
32
33\references{For further discussion, see Chapter 2, \emph{Bayesian Statistics and Marketing} by Rossi, Allenby, and McCulloch. \cr \url{http://www.perossi.org/home/bsm-1}}
34
35\seealso{ \code{\link{dchisq}} }
36
37\examples{
38lndIChisq(3, 1, matrix(2))
39}
40
41\keyword{distribution}
42