Hello Stata Forum,
I am having trouble to understand my identifier and relate with fixed effects estimation. I have a database on beverages by brand, size (ml, liter, pack) and by city. So, in order to have an identifier I use:
egen pan_id = group(brand size city)
However, I would like to understand if this captures the time-invariant effects, such as city fixed effects, brand fixed effects, and size fixed effects. I am not sure because when I run an areg with dummy variables with each of this item separately I get different results, but when I absorb the pan_id variable, I get the same result so I am a bit confused what the difference is.
Thank you so much for your help. I really appreciate it.
Best,
Helena
Related Posts with Xtset Identifier - FE estimation
Generating a new variable with an if commandHi all, I have a series of 6 datasets - for ease of reference, let's call them 2015, 2016, 2017, 20…
xtqreg bootstrap with fixed effectsUsing the Grunfeld data, this runs just fine: Code: bootstrap, reps(50) cluster(company) idcluster…
Help with my work!Hi everyone, I have some work I am really struggling with, I am only able to complete 1a) and the re…
Rolling sd over same quartersDear all, I would really appreciate your help over the following issue that I've been struggling wit…
Plotting Intercepts from Another GraphHi all, I have plotted a connected line graph for four series ("Too cheap", "Cheap", "Expensive", "…
Subscribe to:
Post Comments (Atom)
0 Response to Xtset Identifier - FE estimation
Post a Comment