Description Usage Arguments Value Examples
summary
method for class "qrmix"
1 2 |
object |
an object of class |
fitMethod |
an optional refitting method if the user wants a method different than the one used to obtain |
data |
data used to fit |
... |
other argumets passed to other methods. |
residuals |
the residuals, response minus fitted values. |
clusters |
cluster assignment for each observation. |
call |
the matched call. |
fitMethod |
the fitting method used to obtain |
quantiles |
the set of k quantiles that minimize the mean loss. |
clusters# |
generic summary from function |
1 2 3 4 5 6 7 8 9 10 11 | data(blood.pressure)
#qrmix model using default function values:
mod1 = qrmix(bmi ~ ., data = blood.pressure, k = 3)
#summary using fitMethod = "rlm" instead of the one used when fitting the model mod1
summary1 = summary(mod1, fitMethod = "rlm")
#Are the quantiles selected in this case the same as in the original model?
summary1$quantiles
mod1$quantiles
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.