Hi!
I would like to calculate duration of low wage employment (dummy 0/1) for each individual in my data set.
My data is in long format, every personal identifier is repeated ten times, one for each year. Do any of you have any ideas of how to create a new variable that captures the duration of the spell/ if low wage emplyment lasts for all years in the data set/only a couple of years etc, by personal id? That is for the specific individual.
best,
Karin
Related Posts with duration of employment spells by personal id
Export Summary Statistics of a Loop to Word FileDear Statalisters, I am interested in the summary statistics (specifically, the number of observati…
Choice of Estimator for Dynamic Panel AnalysisHi, I am working on determinants of corporate cash holdings with a panel dataset of ~700 firms acr…
Are bias corrected estimators available in Stata?Hi, Zhou, Faff & Alpert (2014) recommend a new class of dynamic panel analysis estimators for c…
r(2000) no observations? I have tried 'destring', but then it says 'already numeric; no generateHello I am trying to make a regression using mlogit. But once I enter a specific one of my variables…
COURSE using Stata: Causal Inference in Observational Studies and Clinical Trials Affected by Treatment SwitchingCausal Inference in Observational Studies and Clinical Trials Affected by Treatment Switching: A Pra…
Subscribe to:
Post Comments (Atom)
0 Response to duration of employment spells by personal id
Post a Comment