Learn R Programming

PhaseGMM (version 0.1.0)

Phase-Function Based Estimation and Inference for Linear Errors-in-Variables (EIV) Models

Description

Estimation and inference for coefficients of linear EIV models with symmetric measurement errors. The measurement errors can be homoscedastic or heteroscedastic, for the latter, replication for at least some observations needs to be available. The estimation method and asymptotic inference are based on a generalised method of moments framework, where the estimating equations are formed from (1) minimising the distance between the empirical phase function (normalised characteristic function) of the response and that of the linear combination of all the covariates at the estimates, and (2) minimising a corrected least-square discrepancy function. Specifically, for a linear EIV model with p error-prone and q error-free covariates, if replicates are available, the GMM approach is based on a 2(p+q) estimating equations if some replicates are available and based on p+2q estimating equations if no replicate is available. The details of the method are described in Nghiem and Potgieter (2020) and Nghiem and Potgieter (2025) .

Copy Link

Version

Install

install.packages('PhaseGMM')

Version

0.1.0

License

GPL-2

Maintainer

Chang Liu

Last Published

April 2nd, 2026

Functions in PhaseGMM (0.1.0)

coef

Extract Coefficients from an eiv_mlr Object
computing_corrected_estimator

Compute the corrected estimator via estimating equations
eiv_mlr

Linear Regression with Errors-in-Variables Using Replicated Measurements
confint

Confidence Intervals for eiv_mlr Coefficients
estim_eq_correctedAndPhase

Combined estimating equations: moment correction and phase function
dietary_white_women

dietary_white_women
computing_GMM_estimator

GMM estimator combining moment-corrected and phase-function equations
PhaseGradient

Gradient of the phase-function estimating equations
estimating_weight

Estimate observation weights for measurement error models
vcov

Variance-Covariance Matrix for eiv_mlr Objects
print.eiv_mlr

Print Method for eiv_mlr Objects
predict.eiv_mlr

Predictions from an Errors-in-Variables Linear Model
estim_eq_corrected

Moment-corrected estimating equations for measurement error regression
residuals

Residuals from an Errors-in-Variables Linear Model
summary

Summary of an Errors-in-Variables Linear Model