majPara: Update the functional parameters (associated to the aligned...

Description Usage Arguments Value

View source: R/majPara.R

Description

This function updates the estimations of the mean curve, the individual effect U_i, related to aligned curves.

Usage

1
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.


warpMix documentation built on May 1, 2019, 6:30 p.m.

Related to majPara in warpMix...