https://github.com/andyphilips/qdmean

Stata and R programs to automatically quasi-demean regressors following FGLS-RE or MLE-RE regression

https://github.com/andyphilips/qdmean

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.8%) to scientific vocabulary

Keywords

panel-data r random-effects random-effects-model stata
Last synced: 5 months ago · JSON representation

Repository

Stata and R programs to automatically quasi-demean regressors following FGLS-RE or MLE-RE regression

Basic Info
  • Host: GitHub
  • Owner: andyphilips
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 551 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • Open Issues: 4
  • Releases: 0
Topics
panel-data r random-effects random-effects-model stata
Created over 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme

readme.md

qdmean

A program to automatically quasi-demean regressors following a FGLS-RE or MLE-RE regression. Available in both R and Stata

Stata

qdmean is a program to automatically quasi-demean regressors following the estimation of a random effects (either using FGLS or maximum likelihood) model. This program requires you to first estimate a model using xtreg, with options , re or , mle. The program will automatically obtain theta_i and generate quasi-demeaned regressors, which are useful for post-estimation analysis. See the Stata help file for more details.

To install qdmean in Stata direct from Github, type the following: cap ado uninstall qdmean net install qdmean, from(https://github.com/andyphilips/qdmean/raw/main/)

R

qdmean() in R requires the estimation of a random effects model using either plm or lmer. Once estimated, pass the model, predictor variable (in quotes), and grouping variable (in quotes). If using lmer, additionally pass the dataset used to estimate the model and the dependent variable (in quotes). For help and examples, reference ?qdmean

To install qdmean in R direct from Github, use the devtools package: library(devtools) install_github(''andyphilips/qdmean'') library(qdmean)

Authors

Soren Jordan, Department of Political Science, Auburn University

Andrew Q. Philips, Department of Political Science, University of Colorado Boulder

References

If you use qdmean, please cite:

Jordan, Soren and Andrew Q. Philips. 2023. "Improving the interpretation of random effects regression results." Political Studies Review: 21(1): 210-220.

Owner

  • Name: Andrew Q. Philips
  • Login: andyphilips
  • Kind: user
  • Location: Boulder, Colorado, USA
  • Company: University of Colorado Boulder, Department of Political Science

Associate Professor of Political Science, CU Boulder

GitHub Events

Total
Last Year

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 12
  • Total Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Andrew Q. Philips a****s@c****u 12
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago