Qindex | R Documentation |
Sign-adjusted quantile indices based on linear and/or nonlinear functional predictors.
Qindex(formula, data, sign_prob = 0.5, ...)
Qindex_prefit_(formula, data, family, nonlinear = FALSE, ...)
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 |
family object, see function gam. Default values are
|
nonlinear |
logical scalar,
whether to use nonlinear or linear functional model.
Default |
Function Qindex returns an Qindex object, which is an instance of an S4 class. See section Slots for details.
.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 argument fit = 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
# see ?`Qindex-package`
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.