summary.qrmix {qrmix} | R Documentation |
Summarizing qrmix Fits
Description
summary
method for class "qrmix"
Usage
## S3 method for class 'qrmix'
summary(object, fitMethod=NULL, data=NULL, ...)
Arguments
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. |
Value
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 |
Examples
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
[Package qrmix version 0.9.0 Index]