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
How to regress with seasonality dummy variablesExcuse my perhaps dumb question, however I have a dataset consisting of daily crime date and weather…
Inserting blank rows at specific observations in datasetI am trying to manipulate a text (.tex) document (a multiple-choice exam) in Stata, which I realize …
pvar with system gmmcan somebody help me with command for panel var using system GMM?? …
Managing time factor in repeated-measures ANOVAHello, I'm analysing data from a protocol which in fact works under the same structure as described …
Error when using medsem command in simultaneous group SEM estimationHi all, I am running a between groups SEM with multiple mediators. In one group there is a signific…
Subscribe to:
Post Comments (Atom)
0 Response to Plugging values of a variable back into Stata
Post a Comment