Package: MECfda 0.2.0

MECfda: Scalar-on-Function Regression with Measurement Error Correction

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) <doi:10.48550/arXiv.2305.12624>, Tekwe et al. (2022) <doi:10.1093/biostatistics/kxac017>, Zhang et al. (2023) <doi:10.5705/ss.202021.0246>, Tekwe et al. (2019) <doi:10.1002/sim.8179>.

Authors:Heyang Ji [aut, cre, ctb, dtc], Ufuk Beyaztas [aut, ctb, rev], Nicolas Escobar-Velasquez [com], Yuanyuan Luan [aut, ctb], Xiwei Chen [aut, ctb], Mengli Zhang [aut, ctb], Roger Zoh [aut, ths], Lan Xue [aut, ths], Carmen Tekwe [aut, ths]

MECfda_0.2.0.tar.gz
MECfda_0.2.0.zip(r-4.5)MECfda_0.2.0.zip(r-4.4)MECfda_0.2.0.zip(r-4.3)
MECfda_0.2.0.tgz(r-4.5-any)MECfda_0.2.0.tgz(r-4.4-any)MECfda_0.2.0.tgz(r-4.3-any)
MECfda_0.2.0.tar.gz(r-4.5-noble)MECfda_0.2.0.tar.gz(r-4.4-noble)
MECfda_0.2.0.tgz(r-4.4-emscripten)MECfda_0.2.0.tgz(r-4.3-emscripten)
MECfda.pdf |MECfda.html
MECfda/json (API)
NEWS

# Install 'MECfda' in R:
install.packages('MECfda', repos = c('https://jihx1015.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda-Forge:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.30 score 1 stars 1 scripts 171 downloads 27 exports 75 dependencies

Last updated 4 hours agofrom:3b16e87bda. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 06 2025
R-4.5-winOKMar 06 2025
R-4.5-macOKMar 06 2025
R-4.5-linuxOKMar 06 2025
R-4.4-winOKMar 06 2025
R-4.4-macOKMar 06 2025
R-4.4-linuxOKMar 06 2025
R-4.3-winOKMar 06 2025
R-4.3-macOKMar 06 2025

Exports:%>%basis2funbspline_basisbspline_basis_expansionbspline_seriesbsplineSeries2funextractCoeffc.betafcQRfcRegressionfourier_basis_expansionFourier_seriesFourierSeries2funFPC_basis_expansionfunctional_variableME.fcLR_IVME.fcQR_CLSME.fcQR_IV.SIMEXME.fcRegression_MEMMECfda_simDataGen_fcRegMECfda_simDataGen_MEMEM_X_hatnumeric_basisnumeric_basis_expansionnumericBasis_seriesnumericBasisSeries2funplot

Dependencies:abindashbitopsbootcliclustercolorspacecorpcordeSolvedplyrfansifarverfdafdsFNNgamm4genericsggplot2glmegluegrpreggssgtablehdrcdeisobandkernlabKernSmoothkslabelinglatticelifecyclelme4locfitmagicmagrittrMASSMatrixMatrixModelsmclustmgcvminqamulticoolmunsellmvtnormnlmenloptrpbspcaPPpillarpkgconfigplyrpracmaquantregR6rainbowrbibutilsRColorBrewerRcppRcppEigenRCurlRdpackreformulasrefundreshaperlangRLRsimscalesSparseMsurvivaltibbletidyselectutf8vctrsviridisLitewithr

MECfda: An R package for bias correction due to measurement error in functional and scalar covariates in scalar-on-function regression models

Rendered fromMECfda.Rmdusingknitr::rmarkdownon Mar 06 2025.

Last update: 2025-03-06
Started: 2024-10-21

Readme and manuals

Help Manual

Help pageTopics
From the summation series of a functional basis to function valuebasis2fun basis2fun,bspline_series,numeric-method basis2fun,Fourier_series,numeric-method basis2fun,numericBasis_series,numeric-method
B-splines basis expansion for functional variable databspline_basis_expansion bspline_basis_expansion,functional_variable,integer-method
b-spline basisbspline_basis bspline_basis-class
b-splines summation series.bspline_series bspline_series-class
Compute the value of the b-splines summation series at certain points.bsplineSeries2fun bsplineSeries2fun,bspline_series,numeric-method
Extract dimensionality of functional data.dim,functional_variable-method
Method of class Fourier_series to extract Fourier coefficientsextractCoef extractCoef,Fourier_series-method
Extract the value of coefficient parameter functionfc.beta fc.beta,fcQR-method fc.beta,fcRegression-method
Solve quantile regression models with functional covariate(s).fcQR
Solve linear models with functional covariate(s)fcRegression
Fourier basis expansion for functional variable datafourier_basis_expansion fourier_basis_expansion,functional_variable,integer-method
s4 class of Fourier summation seriesFourier_series Fourier_series-class
Compute the value of the Fourier summation seriesFourierSeries2fun FourierSeries2fun,Fourier_series,numeric-method
Functional principal component basis expansion for functional variable dataFPC_basis_expansion FPC_basis_expansion,functional_variable,integer-method
Function-valued variable data.functional_variable functional_variable-class
Bias correction method of applying linear regression to one functional covariate with measurement error using instrumental variable.ME.fcLR_IV
Bias correction method of applying quantile linear regression to dataset with one functional covariate with measurement error using corrected loss score method.ME.fcQR_CLS
Bias correction method of applying quantile linear regression to dataset with one functional covariate with measurement error using instrumental variable.ME.fcQR_IV.SIMEX
Use UP_MEM or MP_MEM substitution to apply (generalized) linear regression with one functional covariate with measurement error.ME.fcRegression_MEM
Simulation Data Generation: Scalar-on-function RegressionMECfda_simDataGen_fcReg
Simulation Data Generation: Measurement Error Bias Correction of Scalar-on-function RegressionMECfda_simDataGen_ME
Simulated dataMECfda.data.sim.0.0
Simulated dataMECfda.data.sim.0.1
Simulated dataMECfda.data.sim.0.2
Simulated dataMECfda.data.sim.0.3
Simulated dataMECfda.data.sim.1.0
Simulated dataMECfda.data.sim.1.1
Simulated dataMECfda.data.sim.1.2
Simulated dataMECfda.data.sim.1.3
Get MEM substitution for (generalized) linear regression with one functional covariate with measurement error.MEM_X_hat
Numeric basis expansion for functional variable datanumeric_basis_expansion numeric_basis_expansion,functional_variable,numeric_basis-method
Numeric representation of a function basisnumeric_basis numeric_basis-class
Linear combination of a sequence of basis functions represented numericallynumericBasis_series numericBasis_series-class
Compute the value of the basis function summation series at certain points.numericBasisSeries2fun numericBasisSeries2fun,numericBasis_series,numeric-method
Plot b-splines basis summation series.plot,bspline_series-method
Plot Fourier basis summation series.plot,Fourier_series-method
Plot numeric basis function summation series.plot,numericBasis_series-method
Predicted values based on fcQR objectpredict.fcQR
Predicted values based on fcRegression objectpredict.fcRegression