Qindex {Qindex} | R Documentation |
Sign-Adjusted Quantile Indices
Description
Sign-adjusted quantile indices based on linear and/or nonlinear functional predictors.
Usage
Qindex(formula, data, sign_prob = 0.5, ...)
Qindex_prefit_(formula, data, family, nonlinear = FALSE, ...)
Arguments
formula |
formula, e.g., |
data |
data.frame, must be a returned object from function clusterQp |
sign_prob |
double scalar between 0 and 1,
user-specified probability |
... |
additional parameters for functions s and ti,
most importantly |
family |
|
nonlinear |
logical scalar,
whether to use nonlinear or linear functional model.
Default |
Value
Function Qindex returns an Qindex object, which is an instance of an S4 class. See section Slots for details.
Slots
.Data
double vector, sign-adjusted quantile indices, see section Details of function integrandSurface
formula
see section Arguments, parameter
formula
gam
a gam object
gpf
a
'gam.prefit'
object, which is the returned object from function gam with argumentfit = FALSE
p.value
numeric scalar,
p
-value for the test of significance of the functional predictor, based on slot@gam
sign
double scalar of either 1 or -1, sign-adjustment, see section Details of function integrandSurface
sign_prob
double scalar, section Arguments, parameter
sign_prob
Examples
# see ?`Qindex-package`