Dear all,
I am estimating the following model using the reghdfe command:
reghdfe log(dowry) age age_marriage educ_years, absorb(religion wave urbanrural) cluster(district)
Every time I run the code, a different number of clusters appears (between 90 and 76) even though the code ran is always the same. The coefficients and significance of the values also changes, even after using "set seed 1212". I have a panel data structure with the id being group(district year of marriage wave) as I want to capture the variation at the district level, the year of marriage and the wave level. I have also tried to use the Vce option, but it stated that this is not allowed. If I use the VCE(cluster district) I continue to get a change in results every time I run the same code.
Any help with be appreciated, apologies if it is a rather simple question, I am new to Stata.
Thank you in advance,
Enrique
I am estimating the following model using the reghdfe command:
reghdfe log(dowry) age age_marriage educ_years, absorb(religion wave urbanrural) cluster(district)
Every time I run the code, a different number of clusters appears (between 90 and 76) even though the code ran is always the same. The coefficients and significance of the values also changes, even after using "set seed 1212". I have a panel data structure with the id being group(district year of marriage wave) as I want to capture the variation at the district level, the year of marriage and the wave level. I have also tried to use the Vce option, but it stated that this is not allowed. If I use the VCE(cluster district) I continue to get a change in results every time I run the same code.
Any help with be appreciated, apologies if it is a rather simple question, I am new to Stata.
Thank you in advance,
Enrique

Comment