Hi,
how to create dummy variable for panel data? I want to create a dummy for 130 districts for 3 years; 2010, 2012 and 2014. If the district has a cant then it should be 1 otherwise 0. How to do it for all 3 years?
Related Posts with dummy for panel data
Creating a variable equal to 1 if a name (i.e., string) at time t-4 appears at time tI have Brazilian electoral data with the names of candidates who ran for mayor from 2000 to 2016. Th…
Choose Which Fixed Effect Has Coefficient 0Hi Statalisters, I'm running a fixed-effects regression with fixed-effects by region (e.g. Americas…
Threshold for small/large T in quarterly panel dataDear all, Sorry for basic question. I am estimating dynamic panel data model for 40 countries &…
Creating variables for husband and wife using data for respondent and their partnerDear Statalist. I would like help to generate a variable, say level of education "educ" for the mal…
Count and recordHi all, My data has four variables: acty, deady, nation, and id. "acty" is the year when company is…
Subscribe to:
Post Comments (Atom)
0 Response to dummy for panel data
Post a Comment