Estimate size factor.
1 2 | estimate.size.factor(X, X.train.parameter = NULL, type = c("mle",
"quantile", "medratio"))
|
X |
Matrix of predictors. |
X.train.parameter |
Statistic of the training data used in calculating new s.hats. Rather than calculate this from scratch using the training data, just remember it for later. This parameter is different for each type. |
type |
Type of discriminant analysis to be performed. Linear assumes that all population class covariances are equal. Quadratic estimates each population class covariance separately. Linear and Quadratic assume predictors are normally distributed (i.e. continous data). Poisson models count data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.