I'm working with a base that it´s compouse from 500 samples, but I have to create a compillation of coeficients and also i need predict the residuals from each regression, but idk how can i make the ´predictions with the command i used, some idea?
This is what I did to ger the 500 regressions, but when I try to get the residuals Stata only takes the last regression
by sample_id : eststo : reg lwage leduc
sttab using tabla1.rtf, nostar
Related Posts with residual from multiple regresion
Listing unique observations with a rolling windowDear all, Suppose I have the following dataset: Code: clear input str8 memberid year "B000" 1980…
Maximum Likelihood Exploratory Factor Analysis and Confirmatory Factor AnalysisDear Statalist users, I am using Stata 15 and comparing the results between Maximum likelihood expl…
Hazard as a Propensity Score for Matching - Propensity Score Matching with Time-Dependent CovariatesHello, I am trying to create a matched sample using hazard ratios by observation by id. I am conduct…
How to make a hbar which shows percentage of sum of one variable over groupsI have a dataset like this (part of it): Code: * Example generated by -dataex-. To install: ssc in…
Referencing local variable in nested foreach var of varlistHi, I would like to do something which I believe is fairly simple, but I can't get the syntax corre…
Subscribe to:
Post Comments (Atom)
0 Response to residual from multiple regresion
Post a Comment