Dear all,
I am using Stata 16, on mac. I want to create a new variable called resid_sq that is equal to the square of the residuals. I used the following command: predict resid_sq, residuals. Would that be the correct way to achieve my goal?
Thank you in advance for your help
Jason Browen
Related Posts with Help Creating New Variable Equal to the Square of the Residuals
Rolling regression comparing two different portfolios using the Fame French assest modelHey, Second time writing on this forum. I am looking to find a way to create an equally weighted s…
CAAR and t-test in event studyDear Statali, I am currently working on an event study for my thesis. The study comprises of 1834 e…
Interpretting coefficients when dependant variable is percentage changeDear Statalist, I think this is more of a statistics question rather than a Stata-specific question…
Predict after fixed effect regressionDear Statlist, I am performing a simple Fixed Effects (FE) regression with time dummies and I would…
Problem with generating anthropmetry measuresHello, I used commands zscore06 and igrowup to estimate z-scores. They only work for children below …
Subscribe to:
Post Comments (Atom)
0 Response to Help Creating New Variable Equal to the Square of the Residuals
Post a Comment