Skip to contents

Package Overview

The hetid package provides a comprehensive R implementation of heteroskedasticity-based identification methods for econometric models with endogenous regressors. When traditional instrumental variables are unavailable, these methods exploit heteroskedasticity in the error terms to achieve identification.

Available Methods

The package implements three major identification strategies:

  1. Lewbel (2012): Uses continuous heteroskedasticity drivers
  2. Rigobon (2003): Exploits discrete regime changes
  3. Prono (2014): Leverages time-varying conditional heteroskedasticity (GARCH)

Vignette Guide

Getting Started

  • Getting Started with hetid
    • Basic introduction to the package
    • Simple examples using Lewbel’s method
    • Data generation and assumption verification
    • Read this first if you’re new to the package

Theoretical Background

Method-Specific Guides

  • GMM Estimation for Lewbel (2012)
    • Advanced GMM implementation
    • Efficiency considerations
    • Both triangular and simultaneous systems
    • For users needing optimal estimation
  • The Rigobon Method
    • Regime-based heteroskedasticity
    • Financial contagion example
    • Comparison with Lewbel approach
    • Best for discrete variance changes
  • The Prono (2014) Method
    • GARCH-based identification
    • Time series applications
    • Asset pricing examples
    • Ideal for financial time series

Validation and Comparison

Suggested Reading Order

For Practitioners

  1. Getting Started - Basic usage
  2. Choose your method:
  3. Package Comparison - Verify your results

For Researchers

  1. Theory and Methods - Mathematical foundations
  2. Getting Started - Implementation basics
  3. All method-specific vignettes for comprehensive understanding
  4. Package Comparison - Software validation

Quick Decision Guide

Which method should I use?
│
├─ Do you have time series data?
│  ├─ Yes → Is volatility time-varying (GARCH-like)?
│  │        ├─ Yes → Use Prono method
│  │        └─ No → Use Lewbel method
│  └─ No → Do you have discrete regime changes?
│           ├─ Yes → Use Rigobon method
│           └─ No → Use Lewbel method

Key Functions by Method

Lewbel (2012)

Rigobon (2003)

Prono (2014)

Installation

# Install from CRAN (when available)
install.packages("hetid")

# Install development version from GitHub
# install.packages("devtools")
devtools::install_github("fernando-duarte/heteroskedasticity_identification")

Getting Help

  • Documentation: Use ?function_name for any function
  • Examples: Each major function includes runnable examples
  • Citation: Use citation("hetid") for citing the package

See Also

  • Original papers: Lewbel (2012), Rigobon (2003), Prono (2014)