Predicted values based on a model object produced by selm
with
univariate response.
1 2 3 
object 
an object of class 
newdata 
an optional data frame in which to look for variables with which to predict. If omitted, the fitted values are used. 
param.type 
a character string with the required parameterization; it must be one of

interval 
type of interval calculation among 
level 
tolerance/confidence level (default value is 
na.action 
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
dataframe newdata
(which defaults to model.frame(object)
).
Setting interval
other than "none"
produces computation of
confidence or prediction (tolerance) intervals at the specified level.
If newdata
is omitted the predictions are based on the data used for
the fit.
The action taken in case of missing data is regulated by argument
na.action
, along the lines of function predict.lm
.
A detailed description of the methodology underlying predict.selm
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 fit
, lwr
, and
upr
, if interval
is set.
Adelchi Azzalini
Azzalini, A. (2016).
Derivation of various types of intervals from a selm
object.
Technical note distributed with the documentation of the R package
sn
, in file selmintervals.pdf
makeSECdistr
for the CP/DP parameterizations,
predict.lm
for usage of na.action
1 2 3 4 5 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.