Learn R Programming

⚠️There's a newer version (2.4.10) of this package.Take me there.

REndo (version 1.2)

Fitting Linear Models with Endogenous Regressors using Latent Instrumental Variables

Description

Fits linear models with endogenous regressor using latent instrumental variable approaches. The methods included in the package are Lewbel's (1997) higher moments approach as well as Lewbel's (2012) heteroskedasticity approach, Park and Gupta's (2012) joint estimation method that uses Gaussian copula and Kim and Frees's (2007) 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. This version: - solves an error occurring when using the multilevelIV() function with two levels, random intercept. - returns the AIC and BIC for copulaCorrection() (method 1) and latentIV() methods. - residuals and fitted values can be saved by users for latentIV() and copulaCorrection() methods. - improves the summary methods for copulaCorrection() and multilevelIV() functions.

Copy Link

Version

Install

install.packages('REndo')

Monthly Downloads

1,292

Version

1.2

License

GPL-3

Maintainer

Raluca Gui

Last Published

April 10th, 2017

Functions in REndo (1.2)

coef,livREndo-method

latentIV methods
coef,mixedREndo-method

methods for the multilevelIV function
copulaCont1

Fitting Linear Models with One Enedogenous Regressor using Gaussian Copula
copulaCorrection

Fitting Linear Models Endogeneous Regressors using Gaussian Copula
dataLatentIV

hetErrorsIV

Fitting Linear Models with Endogenous Regressors using Heteroskedastic Covariance Restictions
copulaPStar

Inverse-Normal Distribution of the Empirical Distribution Function
copulaREndo-class

generics for copulaREndo-class
livREndo-class

latentIV Object
logL

Likelihood Estimation for latentIV
summary,mixedREndo-method

methods for the multilevelIV function
tScores

Test scores of 3054 test scores of 1174 students in 60 schools
boots

Bootstrapping Standard Errors
checkAssumptions

Checks Assumptions for Constructing Internal Instruments
copulaDiscrete

Fitting Linear Models with Endogeneous Discrete Regressors using Internal Instrumental Variables
copulaMethod2

Fitting Linear Models with Endogeneous Regressors using Gaussian Copula - Method 2
dataCopC1

dataCopC2

hetREndo-class

hetErrorsIV Object
higherMomentsIV

Fitting Linear Models with Endogenous Regressors using Lewbel's Higher Moments Approach
logLL

Log-likelihood
mixedGMM

Multilevel GMM Estimation
mixedREndo-class

mixedREndo S4 Object
multilevelGMM

Multilevel GMM estimation
summary,hetREndo-method

methods for the hetErrorsIV function
coef,copulaREndo-method

coefficients for the copulaCorrection method
coef,hetREndo-method

methods for the hetErrorsIV function
dataCopDis

dataHigherMoments

multilevelIV

Multilevel GMM Estimation
summary,livREndo-method

latentIV methods
summary,copulaREndo-method

summary for the copulaCorrection method
internalIV

Constructs Internal Instrumental Variables From Data
latentIV

Fitting Linear Models with one Endogenous Regressor using Latent Instrumental Variables