Hi,
I would like to run a regression with year month fixed effects. My data consists of year and months but I am unsure how I should include this dummies.
If I want to create a dummy for just one month I would use the "gen dj1=1 if month==1" formula, which is the dummy variable for January. But, how am I suppose to do this for both year and month fixed effects?
Thanks in advance!
Related Posts with Year and Month fixed effects
Find outcome of the most recent and second most recent event within groupDear all, I am trying to find the outcomes of the most recent and second most recent events (in the…
encode and destringHi, this is Alice. I am constantly facing problems of destring a variable that contains both numeric…
Logit and Probit TableI want to estimate a regression (shown below on the table) and fill in the data points of the table …
How to make a table with multiple variables?I want to make a table that looks like: Rate of Graduation (%) Parent’s Years of Education Tal…
Create a loop to repeat the same operation several timesGood morning, I'll explain my problem to you. I would like to create a loop to repeat the same opera…
Subscribe to:
Post Comments (Atom)
0 Response to Year and Month fixed effects
Post a Comment