ME.fcLR_IV | R Documentation |
See detailed model in reference
ME.fcLR_IV(
data.Y,
data.W,
data.M,
t_interval = c(0, 1),
t_points = NULL,
CI.bootstrap = FALSE
)
data.Y |
Response variable, can be an atomic vector, a one-column matrix or data frame, recommended form is a one-column data frame with column name. |
data.W |
A dataframe or matrix, represents |
data.M |
A dataframe or matrix, represents |
t_interval |
A 2-element vector, represents an interval,
means the domain of the functional covariate.
Default is |
t_points |
Sequence of the measurement (time) points,
default is |
CI.bootstrap |
Whether to return the confidence using bootstrap method.
Default is |
Returns a ME.fcLR_IV class object. It is a list that contains the following elements.
beta_tW |
Parameter estimates. |
CI |
Confidence interval, returnd only when CI.bootstrap is TRUE. |
Tekwe, Carmen D., et al. "Instrumental variable approach to estimating the scalar‐on‐function regression model w ith measurement error with application to energy expenditure assessment in childhood obesity." Statistics in medicine 38.20 (2019): 3764-3781.
data(MECfda.data.sim.0.3)
res = ME.fcLR_IV(data.Y = MECfda.data.sim.0.3$Y,
data.W = MECfda.data.sim.0.3$W,
data.M = MECfda.data.sim.0.3$M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.