Package: REndo 2.5.0

Raluca Gui

REndo: Fitting Linear Models with Endogenous Regressors using Latent Instrumental Variables

Fits linear models with endogenous regressor using latent instrumental variable approaches. The methods included in the package are Lewbel's (1997) <doi:10.2307/2171884> higher moments approach as well as Lewbel's (2012) <doi:10.1080/07350015.2012.643126> heteroscedasticity approach, Park and Gupta's (2012) <doi:10.1287/mksc.1120.0718> joint estimation method that uses Gaussian copula and Kim and Frees's (2007) <doi:10.1007/s11336-007-9008-1> multilevel generalized method of moment approach that deals with endogeneity in a multilevel setting. These are statistical techniques to address the endogeneity problem where no external instrumental variables are needed. See the publication related to this package in the Journal of Statistical Software for more details: <doi:10.18637/jss.v107.i03>. Note that with version 2.0.0 sweeping changes were introduced which greatly improve functionality and usability but break backwards compatibility.

Authors:Raluca Gui [cre, aut], Markus Meierer [aut], Rene Algesheimer [aut], Patrik Schilter [aut], Kimberly-Anne Lew Chuk Wai [aut]

REndo_2.5.0.tar.gz
REndo_2.5.0.zip(r-4.7)REndo_2.5.0.zip(r-4.6)REndo_2.5.0.zip(r-4.5)
REndo_2.5.0.tgz(r-4.6-x86_64)REndo_2.5.0.tgz(r-4.6-arm64)REndo_2.5.0.tgz(r-4.5-x86_64)REndo_2.5.0.tgz(r-4.5-arm64)
REndo_2.5.0.tar.gz(r-4.7-arm64)REndo_2.5.0.tar.gz(r-4.7-x86_64)REndo_2.5.0.tar.gz(r-4.6-arm64)REndo_2.5.0.tar.gz(r-4.6-x86_64)
REndo_2.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
REndo/json (API)
NEWS

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

Bug tracker:https://github.com/mmeierer/rendo/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • dataCopCont - Simulated Dataset with One Endogenous Continuous Regressor
  • dataCopCont2 - Simulated Dataset with Two Endogenous Continuous Regressor
  • dataCopDis - Simulated Dataset with One Endogenous Discrete Regressor
  • dataCopDis2 - Simulated Dataset with Two Endogenous Discrete Regressors
  • dataCopDisCont - Simulated Dataset with Two Endogenous Regressors
  • dataCopIMABinExo - Simulated Dataset for Copula IMA
  • dataCopIMAContExo - Simulated Dataset for Copula IMA - Continuous Exogenous Regressor
  • dataCopIMAMultiEndo - Simulated Dataset for Copula IMA - Two Continuous Endogenous Regressors, Intercept and No Exogenous Regressor
  • dataHetIV - Simulated Dataset with One Endogenous Continuous Regressor
  • dataHigherMoments - Simulated Dataset with One Endogenous Regressor
  • dataLatentIV - Simulated Dataset with One Endogenous Continuous Regressor
  • dataMultilevelIV - Multilevel Simulated Dataset - Three Levels

On CRAN:

Conda:

cpp

6.99 score 21 stars 30 scripts 5.2k downloads 6 exports 89 dependencies

Last updated from:382afe135d. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK239
linux-devel-x86_64OK272
source / vignettesOK236
linux-release-arm64OK242
linux-release-x86_64OK294
macos-release-arm64OK144
macos-release-x86_64OK404
macos-oldrel-arm64OK150
macos-oldrel-x86_64OK383
windows-develOK247
windows-releaseOK252
windows-oldrelOK254
wasm-releaseOK130

Exports:copulaCorrectioncopulaIMAhetErrorsIVhigherMomentsIVlatentIVmultilevelIV

Dependencies:abindADGofTestAERbackportsbootbroomcarcarDatacliclustercolorspacecopulacorpcorcowplotcpp11data.tableDerivdoBydplyrfarverFNNforecastFormulafracdiffgenericsggplot2gluegslgtableisobandkernlabKernSmoothkslabelinglatticelifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmclustmgcvmicrobenchmarkminqamodelrmulticoolmvtnormnlmenloptrnnetnumDerivoptimxpbkrtestpcaPPpillarpkgconfigpracmapsplinepurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangS7sandwichscalesSparseMstablediststringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo

REndo-introduction

Rendered fromREndo-introduction.pdf.asisusingR.rsp::asison May 30 2026.

Last update: 2018-12-21
Started: 2018-12-21

Readme and manuals

Help Manual

Help pageTopics
Confidence Intervals for Bootstrapped Model Parametersconfint.rendo.boots
Fitting Linear Models Endogenous Regressors using Gaussian CopulacopulaCorrection
Copula-based Instrumental Variable Model (IMA)copulaIMA
Simulated Dataset with One Endogenous Continuous RegressordataCopCont
Simulated Dataset with Two Endogenous Continuous RegressordataCopCont2
Simulated Dataset with One Endogenous Discrete RegressordataCopDis
Simulated Dataset with Two Endogenous Discrete RegressorsdataCopDis2
Simulated Dataset with Two Endogenous RegressorsdataCopDisCont
Simulated Dataset for Copula IMA - Binary Exogenous RegressordataCopIMABinExo
Simulated Dataset for Copula IMA - Continuous Exogenous RegressordataCopIMAContExo
Simulated Dataset for Copula IMA - Two Continuous Endogenous Regressors, Intercept and No Exogenous RegressordataCopIMAMultiEndo
Simulated Dataset with One Endogenous Continuous RegressordataHetIV
Simulated Dataset with One Endogenous RegressordataHigherMoments
Simulated Dataset with One Endogenous Continuous RegressordataLatentIV
Multilevel Simulated Dataset - Three LevelsdataMultilevelIV
Fitting Linear Models with Endogenous Regressors using Heteroskedastic Covariance RestrictionshetErrorsIV
Fitting Linear Models with Endogenous Regressors using Lewbel's Higher Moments ApproachhigherMomentsIV
Fitting Linear Models with one Endogenous Regressor using Latent Instrumental VariableslatentIV
Fitting Multilevel GMM Estimation with Endogenous RegressorsmultilevelIV
Predict method for Models using the Gaussian Copula Approachpredict.rendo.copula.correction
Predict method for fitted Regression Models with Internal Instrumental Variablespredict.rendo.ivreg
Predict method for Models using the Latent Instrumental Variables approachpredict.rendo.latent.IV
Predict method for Multilevel GMM Estimationspredict.rendo.multilevel
Fitting Linear Models with Endogenous Regressors using Latent Instrumental VariablesREndo-package REndo
Summarizing Bootstrapped copulaCorrection Model Fitssummary.rendo.copula.correction
Summarizing latentIV Model Fitssummary.rendo.latent.IV
Summarizing Multilevel GMM Estimation with Endogenous Regressors Model Fitssummary.rendo.multilevel
Calculate Variance-Covariance Matrix for Models Fitted with Bootstrapped Parametersvcov.rendo.boots