Skip to content

Replication code for "Connecting Leaves to the Forest" academic project.

Notifications You must be signed in to change notification settings

DamonCharlesRoberts/imputation-with-random-forests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replication Code: Connecting Leaves to the Forest

GitHub last commit GitHub issues GitHub pull requests


Academic project examining the utility of using Random Forest models for multiple imputation with chained equations in political science.

Code

  • anes_cleaning.py: Python script to clean the 2020 ANES for the Application section of the paper
  • anes_imputation.R: R Script that performs the MI and RF-MICE imputation procedures on the 2020 ANES data.
  • anes_models.R: R Script that performs the main models and t-tests using LWD, MI, and RF-MICE procedures on 2020 ANES data.
  • introduce_mar.R: R Script that performs the amputation for the simulated data.
  • simulated_imputation.R: R Script that performs the imputation procedures on the amputed simulated data.
  • simulated_models.R: R Script that performs the main models and data exploration on the simulated data.
  • simulation_data.R: R Script that generates the simulated data.

About

Replication code for "Connecting Leaves to the Forest" academic project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published