Hi Stata users,
I would like to run a negative binomial model with bootstrapped standard errors based on an unbalanced panel data set comprising a number of countries over a thirty-year period. My intention is to run the model with fixed effects by including dummy variables for each country respectively. However, when using vce(bootstrap) I must choose between using cluster() or strata() - which should I choose? As far as I've understood I must choose between either strata() or cluster() in order to estimate correct standard errors (given the panel data structure of the dataset).
To give you an idea of the model I'm trying to run, I intend to use the following code:
nbreg PAT QUOTA DPRICEIND RDEXP TOTP DAUSTRIA DBELGIUM DDENMARK DFINLAND DFRANCE DSPAIN DSWEDEN, dispersion(mean) vce(bootstrap, strata(CTRYID) reps(200))
In vce(bootstrap), should I replace strata() with cluster()?
Finally, another question, is it necessary to drop observations containing missing values when using vce(bootstrap)?
Many thanks,
Kristoffer Bäckström
PhD Candidate
Luleå University of Technology
I would like to run a negative binomial model with bootstrapped standard errors based on an unbalanced panel data set comprising a number of countries over a thirty-year period. My intention is to run the model with fixed effects by including dummy variables for each country respectively. However, when using vce(bootstrap) I must choose between using cluster() or strata() - which should I choose? As far as I've understood I must choose between either strata() or cluster() in order to estimate correct standard errors (given the panel data structure of the dataset).
To give you an idea of the model I'm trying to run, I intend to use the following code:
nbreg PAT QUOTA DPRICEIND RDEXP TOTP DAUSTRIA DBELGIUM DDENMARK DFINLAND DFRANCE DSPAIN DSWEDEN, dispersion(mean) vce(bootstrap, strata(CTRYID) reps(200))
In vce(bootstrap), should I replace strata() with cluster()?
Finally, another question, is it necessary to drop observations containing missing values when using vce(bootstrap)?
Many thanks,
Kristoffer Bäckström
PhD Candidate
Luleå University of Technology
Comment