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
Reshape long multiple variables error invalid "var" 198Hi all, I am having trouble with the reshaping long command. I have read the previous posts, but I w…
Problem with margins after regression with cubic spline interaction termsHello, I am working on a longitudinal study looking for differences between two groups in the depen…
sdmxuse error with OECD APII have a strange error with "sdmxuse" command. I used the same code a week ago with no issues. Now I…
entropy and missing valuesThe number of non-missing values varies with cases. For example, as shown in the below table, a has …
Help with Tabout One-way tableHello, I would like to make a simple summary statistic table describing 3 merges. I just renamed th…
Subscribe to:
Post Comments (Atom)
0 Response to Changing Variables to Same Units
Post a Comment