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
How do I reformat data from excel in bulk while importing?Hi, I'm fairly new to Stata, so this question may be somewhat basic I need to import a decent amou…
Constant term omitted without specifying "nocons", helpI ran a logit regression and the constant term was missing. How can this be? xtlogit vigact3 years …
simple stacked bar with two different continous variables on x axisHello and happy Good Friday I'm trying to reproduce in STATA a following stacked bar chart (done i…
Multiple Imputation - How to compute restrictions for the imputation?Dear all, I think my problem should be easy to solve, but I just cannot figure it out, so I hope so…
Box-tidwell testI am doing a logistic regression analysis with Lyme disease (borrelia) as dependent variable. I want…
Subscribe to:
Post Comments (Atom)
0 Response to Help Creating New Variable Equal to the Square of the Residuals
Post a Comment