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
Using coefficeints from regress command to generate a new variablegood evening everyone, I am using Stata 16.1. I have to run a pooled OLS on a panel data and the us…
Adding a non-standard row to a summary tableHi there! I'm new to STATA and trying to create a table similar to the below. Specifically, I'm loo…
Weighted VS Unweighted Advice + HelpGood evening everyone; I have a quick question / in need of some advice. I am doing weighted and u…
Loop to change MDE and N in pcpanel commandHi. I'm using the pc_simulate command to find a sample size that will give me a power of 80%. I want…
Nested or Non nested?I have the following two models. I want to know whether these two models can be considered nested or…
Subscribe to:
Post Comments (Atom)
0 Response to Combining multiple variables
Post a Comment