Hi everyone,
I have two variables measured in units of 'days', i.e., for how many days an individual did the thing measured by the variable. Then, for another variable, I only have the hours that an individual did another activity. I need these to be comparable, and thus, in the same units. Is it possible somehow to change days to hours, or hours to days? So that all three can be the same?
I asked a professor and they told me that it can be done either through a principal component analysis or through converting each variable to a score. I do not know how either of these can be done in STATA. Can someone help?
Thank you!
Related Posts with Changing Variables to Same Units
understand the stata codeI find a code for generating 97th percentile for each year. However, I am not sure why the percentil…
crtrees conformability error diagnosisCould some help me diagnose what is causing this error? Here is a MVCE: Code: . sysuse auto, clear…
Placebo test for the validity of difference-in-differences analysis results for limited data period.I am a Stata 15.1 user. Before posting my question here, I searched in the forum but could not find…
create new variableHi all, I have an unbalanced data HTML Code: tsset code date panel variable: code (unba…
GraphHi, I am trying to make similar graph as on the picture attached. This graph illustrates the. relati…
Subscribe to:
Post Comments (Atom)
0 Response to Changing Variables to Same Units
Post a Comment