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

📄 coef.mix.rd

📁 这个包里面含有利用极大似然估计方法来拟合成组数据和条件数据的有限混合分布模型的函数
💻 RD
字号:
\name{coef.mix} 
\alias{coef.mix}
\title{Extract Mixture Model Coefficients}
\description{
  \code{coef.mix} is a function which extracts mixture model coefficients
  from objects returned by the model fitting function \code{\link{mix}}. It is 
  called via the generic function \code{\link[base]{coef}}.
}
\usage{
\method{coef}{mix}(object, natpar = FALSE, \dots)
}
\arguments{
\item{object}{an object of class \code{"mix"}, usually, the results
  returned by the model fitting function \code{\link{mix}}.}
\item{natpar}{a logical scalar specifying whether the natural
  parameters should be given.}
\item{\dots}{other arguments.}
}
\value{
A data frame containing three variables, which are,
in order, the proportions, means, and standard
deviations, respectively. If \code{natpar} is \code{TRUE},
then the natural parameters of component
distributions are also displayed.
}
\seealso{
\code{\link{mix}} for model fitting.
}
\examples{
data(pike65) # load the grouped data `pike65'
data(pikepar) # load the initial values of parameters for the data `pike65'
fit <- mix(pike65, pikepar, "lnorm", mixconstr(consigma = "CCV"), emsteps = 3)
coef(fit)
coef(fit, natpar = TRUE)
}
\keyword{models}{coefficients}

⌨️ 快捷键说明

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