| coef.selm | R Documentation |
selmcoef method for classes "selm" and "mselm".
## S4 method for signature 'selm'
coef(object, param.type = "CP", ...)
## S4 method for signature 'mselm'
coef(object, param.type = "CP", vector=TRUE, ...)
object |
an object of class |
param.type |
a character string which indicates the required type of
parameter type; possible values are |
vector |
a logical value (default is |
... |
not used, included for compatibility with the generic method |
a numeric vector or a list
(the latter only for mselm-class objects if vector=FALSE)
The possible options of param.type are described in the
documentation of dp2cp; their corresponding outcomes
differ by an additive constant only. With the "CP" option (that is,
the ‘centred parametrization’), the residuals are centred around 0,
at least approximately; this is a reason for setting "CP" as the
default option. For more information, see the ‘Note’ in the
documentation of summary.selm.
Adelchi Azzalini
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
data(wines, package="sn")
m5 <- selm(acidity ~ phenols + wine, family="SN", data=wines)
coef(m5)
coef(m5, "dp")
#
m12 <- selm(cbind(acidity, alcohol) ~ phenols + wine, family="SN", data=wines)
coef(m12)
coef(m12, "DP", vector=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.