msn.dev {sn} | R Documentation |
Computes twice the negative profile log-likelihood (essentially, a form of the deviance) for multivariate regression models with errors having a multivariate skew-normal distribution.
msn.dev(param, X, y, freq, trace=F)
param |
a numeric vector of parameter values. |
X |
a matrix of explanatory variables.
Missing values (NA s) are not allowed.
|
y |
a matrix contaning the response variable.
Missing values (NA s) are not allowed.
|
freq |
a vector of weights, with length equal to nrow(y) .
|
trace |
logical value.
If trace=T , details are printed. Default value is F .
|
This is the objective function of msn.mle
, whose documentation
gives additional details.
a numeric value.
~describe any side effects if they exist