Predict method for selm-class objects
Predicted values based on a model object produced by
1 2 3
an object of class
an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used.
a character string with the required parameterization; it must be one of
type of interval calculation among
tolerance/confidence level (default value is
function determining what should be done with missing
values in newdata. The default is to predict
not used, only there for compatibility reasons.
Predicted values are obtained by evaluating the regression function in the
newdata (which defaults to
interval other than
"none" produces computation of
confidence or prediction (tolerance) intervals at the specified level.
newdata is omitted the predictions are based on the data used for
The action taken in case of missing data is regulated by argument
na.action, along the lines of function
A detailed description of the methodology underlying
is available in the technical note of Azzalini (2016).
a vector of predictions (if
interval="none") or a matrix of
predictions and bounds with column names
interval is set.
Azzalini, A. (2016).
Derivation of various types of intervals from a
Technical note distributed with the documentation of the R package
sn, in file
makeSECdistr for the CP/DP parameterizations,
predict.lm for usage of
1 2 3 4 5