REGALL: Stata module to run and compare all regressions derived from complete sets of regressors
Abstract
regall runs all possible regressions derived from varlist and compares results with R2 (R2, Adjusted R2 or Pseudo R2) and Information Criteria (AIC or BIC). For example, a set of 3 regressors A, B and C can generate 3 equations of 1 regressor (A,B,C), 3 equations of 2 regressors (AB,BC,AC) and 1 equation of 3 regressors (ABC) for a total of 7 possible equations. In this case, regall runs all 7 equations and compares results.
Remarks
regall uses regsets. regsets uses combinatory calculus to calculate the number of combinations without repetitions of the set of variables listed in varlist.
regall returns all results for all equations as stored by STATA in r(table).
Please send comments to pverme@worldbank.org.
Related Posts with REGALL: Stata module to run and compare regressions
Heckpoisson Error MessageI am currently attempting to use the heckpoisson command in Stata 15.1. My dependent variable is an …
Survival analysis: information before the observation time?Dear all, I am doing a survival analysis on companies performance from year 1980 to 2010. I want to…
Updating generates error message - Stata 9 and file not Stata formatI have installed Stata 9 (intercooled) on a new laptop computer. It worked perfectly on my previous …
Sufficient control for seasonality?Hello, I have a question about how to remove seasonality in Panel data. I want to evaluate how sales…
fsum commandHi all, I am using the fsum command to produce a table with my variables using label. it works well …
Subscribe to:
Post Comments (Atom)
0 Response to REGALL: Stata module to run and compare regressions
Post a Comment