Hello!
I just started learning Stata and I am using a consensus data set and trying to combine a bunch of different variables to make one "Happy People" vs "Unhappy People" variable and then see which group is more active in Political Rallys. The variables I want to use are:
p_psych 1 (Self- Described Anxious rated 1 - 5)
p_mental (Mental Health rated 1 - 5)
p_life_ideal (In most ways my life is ideal rated 1 - 5)
p_life_sat (I am satisfied with my life rated 1 - 5)
If there's a way to combine these I would love to hear your thoughts! I have no idea what I'm doing so anything would help!
Thank you!
Related Posts with Combining multiple variables
[new on SSC] ineqord: module to calculate indices of inequality and polarization for ordinal dataWith thanks as ever to Kit Baum, ineqord is now available on SSC. Its functionality is described bel…
New variable: link individuals to their respective householdsHi guys, I have an assignment which consists on the following. I merged two datasets. One contained…
Post estimation with endogenous switching regressionsDear STATALIST, I am using an endogenous switching regression model to understand how selection aff…
removing the first character of a string variable if it is zeroHi everyone, How can I remove the first character(s) of values if they are zero? For example, I woul…
Ivreg 2sls and fixed effectsDear all, I would like to use instrument2 as an instrument for sp_city_10t. I estimate the following…
Subscribe to:
Post Comments (Atom)
0 Response to Combining multiple variables
Post a Comment