Learn R Programming

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

REndo (version 1.3)

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: - includes an omitted variable test in the multilevel estimation. It is reported in the summary() function of the multilevelIV() function. - resolves the error "Error in listIDs[, 1] : incorrect number of dimensions" when using the multilevelIV() function. - a new simulated dataset is provided, dataMultilevelIV, on which to exemplify the multilevelIV() function.

Copy Link

Version

Install

install.packages('REndo')

Monthly Downloads

1,292

Version

1.3

License

GPL-3

Maintainer

Raluca Gui

Last Published

November 8th, 2017

Functions in REndo (1.3)

multilevelGMM

Multilevel GMM estimation
hetErrorsIV

Fitting Linear Models with Endogenous Regressors using Heteroskedastic Covariance Restictions
copulaCorrection

Fitting Linear Models Endogeneous Regressors using Gaussian Copula
copulaPStar

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

hetErrorsIV Object
copulaREndo-class

generics for copulaREndo-class
higherMomentsIV

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

Multilevel GMM Estimation
dataHetIV

Simmulated Dataset
internalIV

Constructs Internal Instrumental Variables From Data
latentIV

Fitting Linear Models with one Endogenous Regressor using Latent Instrumental Variables
copulaMethod2

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

Simulated Dataset
mixedREndo-class

mixedREndo S4 Object
summary,livREndo-method

latentIV methods
dataLatentIV

Simulated Dataset
logLL

Log-likelihood
summary,mixedREndo-method

methods for the multilevelIV function
checkAssumptions

Checks Assumptions for Constructing Internal Instruments
dataCopC1

Simulated Dataset
livREndo-class

latentIV Object
dataCopC2

Simulated Dataset
summary,hetREndo-method

methods for the hetErrorsIV function
logL

Likelihood Estimation for latentIV
summary,copulaREndo-method

summary for the copulaCorrection method
copulaCont1

Fitting Linear Models with One Enedogenous Regressor using Gaussian Copula
boots

Bootstrapping Standard Errors
coef,livREndo-method

latentIV methods
copulaDiscrete

Fitting Linear Models with Endogeneous Discrete Regressors using Internal Instrumental Variables
coef,hetREndo-method

methods for the hetErrorsIV function
coef,copulaREndo-method

coefficients for the copulaCorrection method
dataMultilevelIV

Simmulated Dataset
dataCopDis

Simulated Dataset
coef,mixedREndo-method

methods for the multilevelIV function