Hello!
I jsut 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
marginal effectsDear everyone, I have a regression on GDP where I include both inflation, inflation^2 and one lag o…
Endogeneity test for two endogenous variables using REIV (xtivreg, re)Dear all, I am using an REIV using the command "xtivreg, re". I have two endogenous variables, y2 a…
Specification of treatment and control group in diff-in-diffDear all, I am doing a difference-in-differences estimation to see the effect of a parental leave re…
How to choose part of dataset based on dateHi I need some help with Stata syntax. I have a dataset with persons who have participated in a hea…
Multiple observations per year in the dependent variable and annual observations for the dependent variablesHello Statalisters, I am trying to explore the impact of CSR expenses on the credit ratings of firm…
Subscribe to:
Post Comments (Atom)
0 Response to Combining multiple variables
Post a Comment