{"id":29638958,"url":"https://github.com/andyphilips/qdmean","last_synced_at":"2025-07-21T20:07:54.392Z","repository":{"id":161310422,"uuid":"421972691","full_name":"andyphilips/qdmean","owner":"andyphilips","description":"Stata and R programs to automatically quasi-demean regressors following FGLS-RE or MLE-RE regression","archived":false,"fork":false,"pushed_at":"2024-05-31T19:26:38.000Z","size":564,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-31T20:46:49.638Z","etag":null,"topics":["panel-data","r","random-effects","random-effects-model","stata"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andyphilips.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-27T21:02:10.000Z","updated_at":"2024-05-31T19:26:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4d26b66-d9d7-420d-866a-600be7ab5efd","html_url":"https://github.com/andyphilips/qdmean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andyphilips/qdmean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyphilips%2Fqdmean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyphilips%2Fqdmean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyphilips%2Fqdmean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyphilips%2Fqdmean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyphilips","download_url":"https://codeload.github.com/andyphilips/qdmean/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyphilips%2Fqdmean/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266371486,"owners_count":23918862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["panel-data","r","random-effects","random-effects-model","stata"],"created_at":"2025-07-21T20:07:49.425Z","updated_at":"2025-07-21T20:07:54.376Z","avatar_url":"https://github.com/andyphilips.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qdmean\nA program to automatically quasi-demean regressors following a FGLS-RE or MLE-RE regression. Available in both R and Stata\n\n## Stata\n`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.\n\nTo install `qdmean` in Stata direct from Github, type the following:\n```\ncap ado uninstall qdmean\nnet install qdmean, from(https://github.com/andyphilips/qdmean/raw/main/)\n```\n\n## R\n`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`\n\nTo install `qdmean` in `R` direct from Github, use the `devtools` package:\n```\nlibrary(devtools)\ninstall_github(''andyphilips/qdmean'')\nlibrary(qdmean) \n```\n\n## Authors\nSoren Jordan, Department of Political Science, Auburn University\n\nAndrew Q. Philips, Department of Political Science, University of Colorado Boulder\n   \n## References\nIf you use `qdmean`, please cite:\n\nJordan, Soren and Andrew Q. Philips. 2023. \"Improving the interpretation of random effects regression results.\" _Political Studies Review_: 21(1): 210-220.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyphilips%2Fqdmean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyphilips%2Fqdmean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyphilips%2Fqdmean/lists"}