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
multiple criteria across several variablesHi there Sorry if this is really basic, but I want to flag every observation where both values 3 an…
2SLS on Panel DataHi guys! I'm using 2SLS on Panel Data, however when I calculate 2SLS manually, I mean, by doing: F…
Resetting IndexHello, I have a panel dataset containing three vars: nation, year, and a variable called 'event' wh…
Calculating sample size with more parametersHello, I am trying to calculate sample size with the parameters below. I used the code below to cal…
Forest plots - how do I move the null reference line in meta forest?Hi, I am trying to make a Forest plot of odds ratios. The studies cannot be combined, I'm only tryi…
Subscribe to:
Post Comments (Atom)
0 Response to REGALL: Stata module to run and compare regressions
Post a Comment