Hi Everyone -
I've been trying to replicate a result with handwritten python and I'm running into a bit of problems replicating the bootstrapped p-value. I've tried pair-wise bootstrapping (bootstrapping the rows), and cross sectional bootstrapping (bootstrapping the people -- it is panel data with a bunch of ids and six observations per person).
Obviously it isn't going to be exact, but it isn't close (my p-value is about .08 and stata's is about .06). Here's what I know:
1. My value is much closer to the uncorrected value
2. Stata's is closer to the corrected value
So my question is this: what procedure is stata running when you run:
xtset ID
xtreg Dep Var1 i.Category, fe vce(bootstrap, reps(1000))
And there are many ID values?
Thanks! Any help would be appreciated!
Ben
I've been trying to replicate a result with handwritten python and I'm running into a bit of problems replicating the bootstrapped p-value. I've tried pair-wise bootstrapping (bootstrapping the rows), and cross sectional bootstrapping (bootstrapping the people -- it is panel data with a bunch of ids and six observations per person).
Obviously it isn't going to be exact, but it isn't close (my p-value is about .08 and stata's is about .06). Here's what I know:
1. My value is much closer to the uncorrected value
2. Stata's is closer to the corrected value
So my question is this: what procedure is stata running when you run:
xtset ID
xtreg Dep Var1 i.Category, fe vce(bootstrap, reps(1000))
And there are many ID values?
Thanks! Any help would be appreciated!
Ben
Comment