Description Usage Arguments Details Value Author(s) References Examples
Fits a possibly very large number of semiparametric models by quadratically penalized least squares. The model may include a combination of parametric terms, smooth terms, varying-coefficient terms, and simple random effect structures.
1 2 3 |
formula |
a formula object such as " |
Y |
an n \times V response matrix, where V is the number of models fitted in parallel, e.g., voxels in neuroimaging applications. |
lsp |
vector of candidate log tuning parameters (log(λ)). |
data |
an optional data frame containing the variables in the model. |
range.basis |
a numeric vector of length 2 defining the interval over
which the B-spline basis is created. If |
knots |
knot placement for the B-spline bases. The default,
|
rm.constr |
logical: should the constraints be removed for varying-coefficient models? |
random |
a formula or a matrix for random effects. |
store.reml |
logical: should the pointwise REML criterion at each grid
point be included in the output? |
store.fitted |
logical: should the fitted values be included in the
output? |
The basic approach to massively parallel smoothing is described in Reiss et
al. (2014). Although simple mixed-effect models are available,
semipar.mix.mp is generally preferable for mixed models with a
single smooth term.
Each element of list.all corresponding to a nonparametric term
of the model is a list with components modmat, penmat,
pen.order, start, and end. For each parametric
term, the same five components are included, plus basis,
argvals, effect, k, and norder.
An object of class "semipar.mp", which is also of class
"qplsc.mp" but includes the following additional elements:
where.sf, where.nsf |
vectors or scalars identifying where the smooth and non-smooth terms, respectively, appear in the model formula. |
list.all |
a list of lists, one for each term of the model; see Details. |
formula |
model formula. |
Y |
response matrix. |
lsp |
candidate values for the log smoothing parameter. |
data |
the supplied data frame, if any. |
Yin-Hsiu Chen enjoychen0701@gmail.com and Philip Reiss phil.reiss@nyumc.org
Reiss, P. T., Huang, L., Chen, Y.-H., Huo, L., Tarpey, T., and Mennes, M. (2014). Massively parallel nonparametric regression, with an application to developmental brain mapping. Journal of Computational and Graphical Statistics, Journal of Computational and Graphical Statistics, 23(1), 232–248.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.