lambda | R Documentation |
Return local estimates of the mixing proportions from each component of a mixture of regressions model using output from an EM algorithm.
lambda(z, x, xi, h = NULL, kernel = c("Gaussian", "Beta", "Triangle", "Cosinus", "Optcosinus"), g = 0)
z |
An nxk matrix of posterior probabilities obtained from the EM algorithm. |
x |
A vector of values for which the local estimation is calculated. |
xi |
An nx(p-1) matrix of the predictor values. |
h |
The bandwidth controlling the size of the window used for the local estimation. |
kernel |
The type of kernel to be used for the local estimation. |
g |
A shape parameter required for the symmetric beta kernel. The default
is |
lambda
returns local estimates of the mixing proportions for the inputted
x
vector.
lambda
is for use within regmixEM.loc
.
regmixEM.loc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.