Hello everyone,
I'm wondering how to 'insert' empty values in my panel data. My data looks as follows:
Array
For each b_id I want a full series from 2008-2018. So for example, for b_id 174 I would want to automatically create 4 entries:
174 - United Kingdom - 2008
174 - United Kingdom - 2009
174 - United Kingdom - 2010
174 - United Kingdom - 2011
All other variables will then be missing.
Kind regards,
Philippe
Related Posts with Complete Time Series
Mata debugging strategiesMight anyone suggest helpful references on strategies for Mata debugging? …
Count dates within previous 31 day range for each date using forvaluesDear Stata colleagues, I created a loop in order to count the number of dates following 3 condition…
Finding the number of firms for which a given worker has worked - Matched employer-employee datasetDear all, I am working with a matched employer-employee dataset from Brazil in which each observati…
Calculating difference in differences, percentages and treatment effectsHi everyone, I'm working on a project for my economic development course and am having difficulty d…
Confidence Intervals / Errr plots with binscatterI am trying to include confidence intervals / errors bars in a plot for two variables using -binscat…
Subscribe to:
Post Comments (Atom)
0 Response to Complete Time Series
Post a Comment