GithubHelp home page GithubHelp logo

cfbalcazar / vcovconley Goto Github PK

View Code? Open in Web Editor NEW

This project forked from potterzot/vcovconley

0.0 0.0 0.0 4.09 MB

R package to calculate Conley's spatially weighted variance-covariance matrix

License: MIT License

C++ 42.58% R 56.99% Makefile 0.44%

vcovconley's Introduction

ConleySE

An R package to account for spatial correlation as in Conley (1999) in R. ConleySE currently works with model objects generated by lm() and lfe::felm(), or can be used manually for other model objects.

The package is based on and uses cpp code from to provide fast calculate of the distance matrix and spatial correlation.

Acknowledgements

This package is essentially a set of R wrappers around cpp functions written by Darin Christensen and Thiemo Fetzer in the conley-se github repository. That code calculates Conley-adjusted standard errors for lfe::felm() models. This package extends that to work with lm() and plm().

The original stata code was written by Solomon Hsiang. Jordan Adamson found an error that was transcribed by Christensen and Fetzer and has since been fixed, as described in this blog post.

The procedure is from Conley (1999) and Conley and Molinari (2007).

Installation

Install using devtools:

install.packages("devtools")
devtools::install_github("potterzot/ConleySE")

Usage

To be done.

References

  • Conley, Timothy G. "GMM estimation with cross sectional dependence." Journal of econometrics 92.1 (1999): 1-45.
  • Conley, Timothy G., and Francesca Molinari. "Spatial correlation robust inference with errors in location or distance." Journal of Econometrics 140.1 (2007): 76-96.

vcovconley's People

Contributors

potterzot avatar darinchristensen 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.