⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 grpintprob.rd

📁 这个包里面含有利用极大似然估计方法来拟合成组数据和条件数据的有限混合分布模型的函数
💻 RD
字号:
\name{grpintprob} 
\alias{grpintprob}
\title{Compute Probabilities of an Observation Falling into a Grouping Interval}
\description{
 Compute probabilities of an observation falling into a grouping 
 interval when given component distribution which the observation 
 comes from.
}
\usage{
grpintprob(mixdat, mixpar, dist, constr)
}
\arguments{
\item{mixdat}{a data frame containing grouped data, whose first
 column should be right boundaries of grouping intervals where 
 the first and last intervals are open-ended; whose second 
 column should consist of the frequencies indicating numbers of
 observations falling into each interval.}
\item{mixpar}{a data frame containing the parameter values of
 component distributions, which are, in order, the proportions, 
 means, and standard deviations.}
\item{dist}{the distribution of components, it can be one of
 \code{"norm"}, \code{"lnorm"}, \code{"gamma"}, \code{"weibull"},
 \code{"binom"}, \code{"nbinom"} and \code{"pois"}.}
\item{constr}{a list of constraints on parameters of component
 distributions.}
}
\value{
 It produces a matrix, whose each column contains the
 probabilities of the observations from one component
 falling into each grouping interval.
}
\examples{
data(bindat)
data(binpar)
grpintprob(bindat, binpar, "binom", mixconstr(consigma = "BINOM", size = c(20, 20, 20, 20)))
}
\keyword{internal}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -