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
Technical problem: A regression model runs slowlyHello, I am doing multilevel logistic regression models And I run into a problem when I add two slop…
List string values of multiple varlistsHi everyone, I am trying to list the string values of two varlists (med_other_ind* and med_name*) w…
Conflicting results in did and dose response modelsDear All, I am looking to the impact of Syrian mass migration on the firm-level performance measure…
Small sample of 38 observationsHi, I have a panel data of 26 countries and 21 years, but I am only concerned with 38 observations.…
How to use lnmvnormalden(M,V,X) function (natural logarithm of the multivariate normal density)?I need to calculate the (logs of) bivariate normal densities for a large number of observations on t…
Subscribe to:
Post Comments (Atom)
0 Response to Help Creating New Variable Equal to the Square of the Residuals
Post a Comment