Giter Site home page Giter Site logo

lixiongyang / gmm-lasso Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metricshilab/gmm-lasso

2.0 0.0 0.0 1.22 MB

The scripts for simulation results in "Estimation of Sparse Structural Parameters with Many Endogenous Variables" (2016), Econometric Reviews.

Home Page: http://zhentaoshi.github.io/GMM-Lasso/

R 97.19% Jupyter Notebook 2.81%

gmm-lasso's Introduction

This repository hosts functions that generate the simulation results in

Zhentao Shi (2016): "Estimation of Sparse Structural Parameters with Many Endogenous Variables", Econometric Reviews, 35(8-10): 1582-1608

Paper Abstract

We apply the generalized method of moments–least absolute shrinkage and selection operator (GMM-Lasso) (Caner, 2009) to a linear structural model with many endogenous regressors. If the true parameter is sufficiently sparse, we can establish a new oracle inequality, which implies that GMM-Lasso performs almost as well as if we knew a priori the identities of the relevant variables. Sparsity, meaning that most of the true coefficients are too small to matter, naturally arises in econometric applications where the model can be derived from economic theory. In addition, we propose to use a modified version of AIC or BIC to select the tuning parameter in practical implementation. Simulations provide supportive evidence concerning the finite sample properties of the GMM-Lasso.

Functionality of Scripts in v1.0

  • master_DGP1.R is the master file.
  • estimation.R is the main function for the estimation and the calculation of the summary statistics such as the MSE, squared-bias and variance. It also has many small functions to do the background work.
  • DGP.R only contains functions that generate the data.

Works for future research

  • solution_path_of_gmm_lasso.lyx contains idea to transform LARS for GMM_Lasso. I am interested in developing it into a note.
  • super_master_inference.R is for another project for the asymptotic distribution of GMM-Lasso. func_inference.R contains the workhorse files.
  • cv.lars.2sls is a modified version to implement cross-validation to choose the tuning parameter.

gmm-lasso's People

Contributors

zhentaoshi avatar

Stargazers

 avatar Chuang Wan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.