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
Missing values more than 50% of trading daysHi all, I have a panel dataset of companies with trading days for the period from 2010 until 2020. …
Why cant I reproduce results after sortingDear Statlisters, Why can't I reproduce the results after this lines of code. I am working with lon…
Eprobit, entreat: missing information in model output for error correlationsHello, I am missing running a series of models using eprobit, entreat in Stata 16.1. My model is: …
Error "not stata format", but no change in software or dataset, which previously worked fineDear Statalists, I am currently working with a dataset from the European Values Survey. The past we…
PPML , endogeneityDear Prof. Joao Santos Silva , Prof. Tom Zylkin and dear Statalisters The purpose of my work is to …
Subscribe to:
Post Comments (Atom)
0 Response to Help Creating New Variable Equal to the Square of the Residuals
Post a Comment