groupstats {mixdist} | R Documentation |
Estimate Parameters of One-Component Mixture Distribution
Description
groupstats
is a function which estimates the
proportion, mean and standard deviation for a mixture
distribution with one component.
Usage
groupstats(mixdat)
Arguments
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:
pi |
the value is |
mu |
the estimated mean of |
sigma |
the estimated standard deviation of |
See Also
mixgroup
for grouping data, mixparam
for
constructing starting values of parameters.
Examples
data(pike65)
groupstats(pike65)
[Package mixdist version 0.5-5 Index]