Hi everyone,
I need to calculate a variable as the standard deviation of another variable scaled by yet another variable, requiring at least 3 years of data.
This is how I calculate the standard deviation:
egen cfv = sd(oibdp)
But then I don't know how to proceed to scale the variable as explained above. Can anyone help me?
Thank you in advance!
Related Posts with Scaling a variable by another variable
zero-inflated and right-censored count dataDear all statalists, Thank you for clicking on my post. What is the proper way to deal with zero-in…
Sum variables taking into account missing dataHello, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc insta…
Cmxtmixlogit discrete choice experiment with choice card blocksDear all, I am encountering a convergence problem with the 'cmxtmixlogit' command, using STATA 16.1…
Error: <istmt>: 3499 ASREGFMB() not foundGood morning, I try to run the asreg command and I receive this error. I checked that the installati…
Number of splitvoters from two variablesI need to know the number of split voters in Denmark - those who did not vote for the same party at …
Subscribe to:
Post Comments (Atom)
0 Response to Scaling a variable by another variable
Post a Comment