R Packages



Hierarchical Dirichlet Process Generalized Linear Models (hdpGLM)

edar

The package implements the hierarchical Dirichlet process Generalized Linear Models proposed in the paper Modeling Context-Dependent Latent Effect Heterogeneity. The model can be used to estimate latent heterogeneity in the marginal effect of GLM linear coefficients, cluster data points based on that latent heterogeneity, and investigate if Simpson’s Paradox occurs due to latent or omitted features. It also can be used with hierarchical data to estimate the effect of upper-level covariates on the latent heterogeneity in the effect of lower-level features.

​[ Github ]



Exploratory Data Analysis in R (edar)

edar

 

A package that facilitates Exploratory data analysis and visualization of model results, aligned with tidyverse and pipe coding philosophy.

[ Github ] [ Vignette in pdf ]

 



Election Forensics Package (eforensics)

 

The package can be used to estimate probability of fraud in elections using Finite Mixture Models (Supported by NSF grant SES 1523355).

[ Github ] (request access here)