Login or Register
Log in with
Forums
FAQ
Search in titles only
Search in General only
Advanced Search
Search
Home
Forums
Forums for Discussing Stata
General
You are not logged in. You can browse but not post. Login or
Register
by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the
FAQ
.
Announcement
Collapse
No announcement yet.
X
Collapse
Posts
Latest Activity
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Filtered by:
Clear All
new posts
TRIPTI RATHI
Join Date:
Apr 2020
Posts:
3
#1
Industry and country fixed effects
18 Jun 2021, 06:43
How to add country fixed effects and industry fixed effects in a panel model?
Felix Bittmann
Join Date:
Aug 2018
Posts:
683
#2
18 Jun 2021, 06:52
Well I assume you have a random effects model, like
Code:
xtreg var1 var2, re
Then simply add the cluster variable with the i.prefix like
Code:
xtreg var1 var2 i.country i.industry, re
Best wishes
Stata 18.0 MP |
ORCID
|
Google Scholar
Comment
Post
Cancel
Previous
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment