Hello,
I would like to know if it is possible to use the panel model, and hence xtreg command, on Stata if none of my explanatory variable depends on time dimesion. My dependant variable depends on time and individu (extraction). My explanatory variables (treatment_questionnaire ctb study_level study_discipline) only depend on invididu and I add a fixed effect on time.
here is my code (nb= individu, instant = time)
xtset nb instant
xtreg extraction treatment_questionnaire ctb study_level study_discipline i.instant, robust
Does areg command with absorb(isntant) is more convenient (I used it but I obtain results completly different)
areg extraction treatment_questionnaire ctb study_level study_discipline, absorb(instant) robust
I also undeline that time dimension in my sample is higher than the number of individu, this is why i also tested the xtscc command
tsset nb instant
xtscc extraction treatment_questionnaire ctb study_level study_discipline i.instant
Thank in advance!!
Best regards
J.
I would like to know if it is possible to use the panel model, and hence xtreg command, on Stata if none of my explanatory variable depends on time dimesion. My dependant variable depends on time and individu (extraction). My explanatory variables (treatment_questionnaire ctb study_level study_discipline) only depend on invididu and I add a fixed effect on time.
here is my code (nb= individu, instant = time)
xtset nb instant
xtreg extraction treatment_questionnaire ctb study_level study_discipline i.instant, robust
Does areg command with absorb(isntant) is more convenient (I used it but I obtain results completly different)
areg extraction treatment_questionnaire ctb study_level study_discipline, absorb(instant) robust
I also undeline that time dimension in my sample is higher than the number of individu, this is why i also tested the xtscc command
tsset nb instant
xtscc extraction treatment_questionnaire ctb study_level study_discipline i.instant
Thank in advance!!
Best regards
J.

Comment