Learn R Programming

MECfda (version 0.2.1)

Scalar-on-Function Regression with Measurement Error Correction

Description

Solve scalar-on-function linear models, including generalized linear mixed effect model and quantile linear regression model, and bias correction estimation methods due to measurement error. Details about the measurement error bias correction methods, see Luan et al. (2023) , Tekwe et al. (2022) , Zhang et al. (2023) , Tekwe et al. (2019) .

Copy Link

Version

Install

install.packages('MECfda')

Monthly Downloads

277

Version

0.2.1

License

GPL-3

Maintainer

Heyang Ji

Last Published

June 30th, 2025

Functions in MECfda (0.2.1)

basis2fun

From the summation series of a functional basis to function value
MECfda.data.sim.1.2

Simulated data
MECfda_simDataGen_ME

Simulation Data Generation: Measurement Error Bias Correction of Scalar-on-function Regression
bsplineSeries2fun

Compute the value of the b-splines summation series at certain points.
predict.fcQR

Predicted values based on fcQR object
bspline_series-class

b-splines summation series.
MECfda.data.sim.1.1

Simulated data
dim,functional_variable-method

Extract dimensionality of functional data.
numericBasis_series-class

Linear combination of a sequence of basis functions represented numerically
fcQR

Solve quantile regression models with functional covariate(s).
plot,Fourier_series-method

Plot Fourier basis summation series.
numericBasisSeries2fun

Compute the value of the basis function summation series at certain points.
fcRegression

Solve linear models with functional covariate(s)
%>%

Pipe operator
predict.fcRegression

Predicted values based on fcRegression object
plot,bspline_series-method

Plot b-splines basis summation series.
bspline_basis-class

b-spline basis
bspline_basis_expansion

B-splines basis expansion for functional variable data
MECfda.data.sim.1.0

Simulated data
fourier_basis_expansion

Fourier basis expansion for functional variable data
plot,numericBasis_series-method

Plot numeric basis function summation series.
numeric_basis-class

Numeric representation of a function basis
extractCoef

Method of class Fourier_series to extract Fourier coefficients
functional_variable-class

Function-valued variable data.
numeric_basis_expansion

Numeric basis expansion for functional variable data
fc.beta

Extract the value of coefficient parameter function
ME.fcRegression_MEM

Use UP_MEM or MP_MEM substitution to apply (generalized) linear regression with one functional covariate with measurement error.
FPC_basis_expansion

Functional principal component basis expansion for functional variable data
ME.fcQR_CLS

Bias correction method of applying quantile linear regression to dataset with one functional covariate with measurement error using corrected loss score method.
ME.fcQR_IV.SIMEX

Bias correction method of applying quantile linear regression to dataset with one functional covariate with measurement error using instrumental variable.
ME.fcLR_IV

Bias correction method of applying linear regression to one functional covariate with measurement error using instrumental variable.
FourierSeries2fun

Compute the value of the Fourier summation series
Fourier_series-class

s4 class of Fourier summation series
MECfda.data.sim.0.0

Simulated data
MEM_X_hat

Get MEM substitution for (generalized) linear regression with one functional covariate with measurement error.
MECfda_simDataGen_fcReg

Simulation Data Generation: Scalar-on-function Regression
MECfda.data.sim.0.3

Simulated data
MECfda.data.sim.1.3

Simulated data
MECfda.data.sim.0.1

Simulated data
MECfda.data.sim.0.2

Simulated data