groupstats.rd

来自「这个包里面含有利用极大似然估计方法来拟合成组数据和条件数据的有限混合分布模型的函」· RD 代码 · 共 36 行

RD
36
字号
\name{groupstats} 
\alias{groupstats}
\title{Estimate Parameters of One-Component Mixture Distribution}
\description{
 \code{groupstats} is a function which estimates the
 proportion, mean and standard deviation for a mixture
 distribution with one component.
}
\usage{
groupstats(mixdat)
}
\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.}
}
\value{
A list containing the following components:
\item{pi}{the value is \code{1} because of only one component.}
\item{mu}{the estimated mean of \code{mixdat}.}
\item{sigma}{the estimated standard deviation of \code{mixdat}.}
}
\seealso{
 \code{\link{mixgroup}} for grouping data, \code{\link{mixparam}} for 
 constructing starting values of parameters.
}
\examples{
data(pike65)
groupstats(pike65)
}
\keyword{misc}
\keyword{utilities}

⌨️ 快捷键说明

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