Hi users.
I am using a variable called activity status which comes in codes such 11, 12, 21, 31, 41, 42, 51 and 81. The code 81 gives number of unemployed people, and the code 11 to 81 gives number of labour force. I want to calculate unemployment rate which is percentage of unemployed out of labour force. I want to calculate the unemployment rate and plug the values back into Stata in a variable say Unemployment rate.
How ca i write the function? Is there way to make it easy?
Related Posts with Plugging values of a variable back into Stata
Constant interpretation - multiple regression with log dependent variableDear all, Could anyone please explain me how to interpret the constant in a multiple regression whe…
Problem with count variable generationDear Statalist Users, Although I went through many related discussions and explanations about my qu…
How to write a loop code for this following case as detailed in the post?I want to rename variables: rename f120_0_s1 f120_s1_0_ rename f120_1_s1 f120_s1_1_ rename f120_2_s…
Merging individuals and domicilesHi, Can somebody please advise me on the best way to merge information I have on individuals and the…
Linear Regression: Interpreting Continuous Interaction?Hi! I'm a beginner when it comes to both statistics and STATA. This question might be more of a sta…
Subscribe to:
Post Comments (Atom)
0 Response to Plugging values of a variable back into Stata
Post a Comment