Dear Sir/Madam
I have a panel dataset (each company has one or multiple years of data, but there are gaps) and I need to create a flag to identify cases in which there are at least 3 consecutive years of data, without deleting cases where there are not. Can anybody help me? Many thanks!
Kind regards,
João
Related Posts with Help needed: creating flag to Identify at least 3 consecutive years of data (without discarding other cases)
Significant interaction term but no increase in r2Hey everyone, I was just wondering how to interpret my interaction terms in my regression analysis. …
syndicated loan proxyHello everyone, I am trying to create a proxy that captures whether a loan is considered syndicated…
xtreg adjusted for heteroskedasticiy and firm-level clusteringHello, I have unbalanced panel data (74 companies with a total of 800 observations over 18 years). …
I am trying to make something like -levelsof- saving the levels of a variable, but not in a local, rather in a another variable.Good morning, I often use -levelsof- to loop through the levels of an unequally spaced variable. It…
Wrong observation number and cluster numberHi, I am currently puzzled by having a different observation and cluster count in the regression mo…
Subscribe to:
Post Comments (Atom)
0 Response to Help needed: creating flag to Identify at least 3 consecutive years of data (without discarding other cases)
Post a Comment