Hi,
I have panel data and defined my variables accordingly:
xtset id q_date,q
if i want to standardize a variable by taking (v1-mean of v1)/(standard deviation of v1), can i do it as :
egen zv1=std(v1) ?? or should i standardize v1 for for each company(id)? in otherwords do we standardize at the aggregate level for all companies or for each company alone? if it is the latter how can i modify the codes?
thanks
Related Posts with Standardized variables
Coordinate of a date on x-axisI am trying to generate scatter points, but my x-axis is a date variable in format %d. Do I have to …
String Variables to NumericGood evening, I just downloaded a dataset containing over a million observations and more than 60 v…
xtabond2 for unbalanced panel with T=24 and N=22?Hello, I am evaluating if using xtabond2 for unbalanced panel with T=24 and N=22, since I read xtab…
cmp commandDear, Now, I would like to investigated the mediation effect of A on B and C. There is potentially …
Singletons, Cluster-Robust Standard Errors in reghdfeDear all, I try to use the command reghdfe to estimate the following fixed effect model: Array My s…
Subscribe to:
Post Comments (Atom)
0 Response to Standardized variables
Post a Comment