VarianceComponentsHDFE.jl

Author HighDimensionalEconLab
Popularity
12 Stars
Updated Last
7 Months Ago
Started In
October 2020

VarianceComponentsHDFE

Build Status Coverage Dev

This Julia package implements the leave out correction of Kline, Saggio and Soelvsten (2020) for estimating variance components in two-way fixed effects models. We provide the usual Julia Package as well as an executable/app that can be run in the terminal and does not require the installation of Julia or any other statistical software.

For instructions on how to install and use the executable follow this link.

For instructions on how to install the Julia Package and know about the exported methods follow this link.

Julia Package Development

Some instructions are provided at the Development Setup and at the Package docs.

Matlab Version

The Matlab version of the package can be found here.

Summary of Executable's Latest Version

  • By default, the code runs a leave-out correction by leaving a match out as opposed to leaving an observation out. See Matlab's vignette for details.
  • New, optimized, random projection algorithm for calculation of the statistical leverages which scale extremely well to large datasets.
  • Controls are partialled out before performing the KSS routine.
  • High dimensional linear combination can be performed on the fixed effects based on the second identifier (e.g. firm effects).