Hi there
I work in the rodent learning field and have been trying to model the effect of different variables on how mice choose different response options. The dependent variable is the binary outcome of a trial (correct/incorrect), Genotype, Sex and Correction_Trial are binary variables. Correction_Trial is 0 if the previous trial is correct and vice versa so we would expect the observation with Correction_Trial==1 to decrease as the mice improve. The mice are trained for multiple trials per day and across many days. The identifier variable for the panel is the individual animals. We wanted to use a robust clustered estimator for the standard errors because we expect there to be heteroskedasticity in at least some of the variables.
The two models I have tried are xtlogit with vce(robust) (fig.1) and gllamm with cluster (Animal_id) (fig.2). As expected the point estimates for the effect size are very similar between the two models. The error estimates for genotype and sex are very different. My naive understanding is that both models use similar methods to generate clustered robust error estimates but why are they so different. I then tried bootstrapping from the clusters (fig. 3). This gives me errors very similar to the gllamm model. Any idea what's happening? Hope I've explained the question properly.
Keith
Fig. 1
Array
Fig. 2
Array
Fig. 3
Array
Related Posts with Clustered sandwich estimator gives very differ error in gllamm, xtlogit and xtlogit bootstrap
xtlogit re or pooled logit?When I ran a logit model with random effects, I could reject the null of the LR test that the random…
Panel data - first differences modelI am using panel data (world bank's world development indicators). Need to create a first difference…
Matching firmsDear all, I am currently writing a code to capture the differences in earnings management between U…
Selecting the first variable without knowing it's nameHello all, I'm doing some big data cleaning for a lot of excel files, and I'm trying to figure out …
Wingdings characters in graphI want to use a single Wingdings character in a graph, specifically I want the telephone icon as an …
Subscribe to:
Post Comments (Atom)
0 Response to Clustered sandwich estimator gives very differ error in gllamm, xtlogit and xtlogit bootstrap
Post a Comment