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
Standardised rates for hospitalization in case of multiple admissionsHelo every one, I am new here and have just a general question. Is there a method for calcultation…
Display full, unabbreviated variable names in data editorHow do we display full variable names in data browser? My variable names are very long and most of t…
Matching firms basedDear all, I am currently writing a code to capture the differences in earnings management between U…
Pooled logit with Clustered standard errors a substitute for a panel model with high variation of panelid?By exploring my dataset, I noticed great Variation among my Groups of the panelid. I thus want to kn…
Matching firms based on size, performance and market-to-book ratioDear all, I am currently writing a code to capture the differences in earnings management between U…
Subscribe to:
Post Comments (Atom)
0 Response to Scaling a variable by another variable
Post a Comment