I am a beginner with tsfilter in stata and have strange behavior when trying. I have a dataset with data per company (CIK Code as identifyer) per Month (M). When I tset CIK M, monthly all looks fine. As there is no month for every CIK I understand I then need to tsfill, full, which works nicely. When I then try to tsfilter (no matter which one) stata tells me there are gaps ..., but when I do tsreport, detail the gaps shown are actuallly all for after when my data ends (it ends 2020-4) the gaps are shown for 2020-05 ...., when I then add dummy dummies for all CIKs for 2020-05, the problem moves to gaps for 2020-06.
PLEASE HELP. What is wrong.
Related Posts with Question on tsfilter
goodness of fit and multi-linear regression analysisHi experts, It did not work when I ran "estat gof" after a multivariable linear regression model. I…
Problems in command for concentration index and slope index of inequityHi, I am facing problem in using STATA command like conindex, cixr, siilogit, equiplot. It is sayi…
does "xtset" and "i.year", "i.country" are the same things?I wanted to confirm my understanding if I get the same results from the following two commands: (the…
How to generate a new variable using an existing variableHello everyone, I am learning Stata and need some help. I have a variable called mrs_90day which has…
how to calculate the Marginal Effects after xtreg commandHi I am new to use STATA for analysis and struggling to estimate marginal effects. I am examining t…
Subscribe to:
Post Comments (Atom)
0 Response to Question on tsfilter
Post a Comment