Dear community,
For an assignment: "include now in the regression fixed effects for borrowers’ country of residence and for month when the loan was issued". I have two variables: "country" and "loandate" for which I have to create dummies to run a fixed effects regression. For country it was rather easy to do this, as I have only three countries in my dataset. However, due to the amount of months I have created thousands of dummies. Is there a way I can do the fixed effects regression that will combine all the dummies into one variable in terms of the regression output? I need to put the output in a regression table and I don't think my teacher wants me to include thousands of dummies. Every time I run the regression it takes a huge amount of time for it to run. Note, my data is not in panel form.
I have tried: xtset country loandate, but I got the error message: repeated time values within panel. This is probably because my data is not in panel data form. Nor is it in chronological order, as loandate merely specifies when a loan applicant received a loan. How do I approach this problem?
Let me know if you need additional information!
Thanks in advance!
Related Posts with Fixed effects month dummies: How to combine them all in one variable?
Transposing selected observations from the same datasetHello, I want to change the layout of my dataset for only SOME observations (from long to wide). Not…
importing a .csv fileHi, I have a .csv file that the first row is variable names and the second row belongs to the corres…
summary stats with yearsDear all, do you know if there is a quick and easy way to produce summary stats with a column conta…
Difference in Difference model with panel data Dear, I have some questions about the difference-in-differences (DID) model with fixed effects. I …
Methods for computing the point-biserial correlationAfter reading this question on ResearchGate the other day, I installed -pbis- (net describe sg20, fr…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed effects month dummies: How to combine them all in one variable?
Post a Comment