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!