Hi,
I have a question about time dummies. Is it possible to have an ‘or’ condition for a time dummy? What I mean is for example: say my panel data is for the years 2000-2010, and I want to include a time dummy for whether two specific years (2005 and 2008) were significant or not. So D=1 if the given year is 2005 OR 2008, and D=0 otherwise. I am struggling to code this, help would be much appreciated!!
Many thanks,
Riaz
Related Posts with ‘Or’ condition for time dummies
bar graph positionHi Anybody can help me with how to fix the graph position. < graph hbar (mean) group_0 group_1 i…
How can I report p value with asdoc and xtregDear all, I am struggeling with getting the p value in word using asdoc and xtreg. - i tried to us…
Second-order factor analysis Dear StataListers, I am working on a project on which I am trying to estimate a factor analysis usi…
Very different SEs with table vs mean when there are missing values and pweightsStata version: 17 I ran the new table command with the statistic(semean varlist) option. The result…
Long categories labels in graph hbarDear Stata users, I encounter this question when I graph hbar. Value labels of my category variable…
Subscribe to:
Post Comments (Atom)
0 Response to ‘Or’ condition for time dummies
Post a Comment