majPara {warpMix} | R Documentation |
Update the functional parameters (associated to the aligned curves).
Description
This function updates the estimations of the mean curve, the individual effect U_i, related to aligned curves.
Usage
majPara(t, y, splineBasisMu, splineBasisU, warpTime)
Arguments
t |
A vector of numbers, corresponding to time points. |
y |
A matrix of numbers, corresponding to observations (size: T * n). |
splineBasisMu |
A matrix, corresponding to the spline basis for the global mean function, evaluted in time points. |
splineBasisU |
A matrix, corresponding to the spline basis for the individual curves, evaluted in time points. |
warpTime |
A matrix, corresponding to warping time points. |
Value
A list, with x, aligned curves, alphaMu the coefficients of the mean curve, sigmaEpsilon the variance of the noise, sigmaU the variance of the random effects, and indSignal the individual curves.
[Package warpMix version 0.1.0 Index]