Description Usage Arguments Value Examples
Compute probabilities of an observation falling into a grouping interval when given component distribution which the observation comes from.
1 | grpintprob(mixdat, mixpar, dist, constr)
|
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. |
mixpar |
a data frame containing the parameter values of component distributions, which are, in order, the proportions, means, and standard deviations. |
dist |
the distribution of components, it can be one of
|
constr |
a list of constraints on parameters of component distributions. |
It produces a matrix, whose each column contains the probabilities of the observations from one component falling into each grouping interval.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.