selm
fitsresiduals
and fitted
methods for classes "selm"
and
"mselm"
.
# S4 method for selm
residuals(object, param.type = "CP", ...)
# S4 method for mselm
residuals(object, param.type = "CP", ...)
# S4 method for selm
fitted(object, param.type = "CP", ...)
# S4 method for mselm
fitted(object, param.type = "CP", ...)
an object of class "selm"
or "mselm"
as created
by a call to function selm
.
a character string which indicates the required type of
parameter type; possible values are "CP"
(default), "DP"
,
"pseudo-CP"
and their equivalent lower-case expressions.
not used, included for compatibility with the generic method.
a numeric vector (for selm-class
objects) or a matrix
(for mselm-class
objects).
Azzalini, A. with the collaboration of Capitanio, A. (2014). The Skew-Normal and Related Families. Cambridge University Press, IMS Monographs series.
dp2cp
, summary.selm
,
selm
function, '>selm-class
# NOT RUN {
data(wines, package="sn")
m5 <- selm(acidity ~ phenols + wine, family="SN", data=wines)
residuals(m5)
residuals(m5, "dp")
fitted(m5, "dp")
#
m12 <- selm(cbind(acidity, alcohol) ~ phenols + wine, family="SN", data=wines)
residuals(m12)
#
# see other examples at function selm
# }
Run the code above in your browser using DataLab