<p>One way is to rely on a simple block bootstrap procedure. That is, you can draw <span class="math-container">$n$</span> contiguous blocks of length <span class="math-container">$t^{bs}$</span> (both LHS and RHS variables) which result in an overall bootstrapped sample of length <span class="math-container">$T$</span>, which should be identical to the length of your original sample.</p>
<p>Then repeat your estimation for each bootstrap sample and save your results, e.g. 10000 times. Thus, inference is based on the distribution of your coefficients.</p>
<p>From my personal experience, dummy variables often result in singular (or nearly singular) matrices within your estimation procedure. However, you can either manually add these observations to your bootstrap sample or alternatively discard all samples resulting in numerical errors.</p>

CC BY-SA 4.0
2021-02-16T17:27:23.497Z
thanks a lot for the reply.
Dummy variables in my case are set by me manually, they have the lengs of the variable on the LHS which is the dependant variable.
so you are basically saying i have to draw a sample from the dummy variables too ?
AugusteDupin
CC BY-SA 4.0
2021-02-16T17:32:46.697Z
You should draw random samples from all your LHS and RHS (same observations), including the dummies.
chopschoc
CC BY-SA 4.0
2021-02-16T17:38:44.633Z
Hmmm interesting.
I had the feeling i can resample from the LHS (Y) and the RHS only the market return and then for every resample I run the regression to estimate the coefficients of the dummies. I guess that is flat wrong.
AugusteDupin
CC BY-SA 4.0
2021-02-16T17:22:56.307Z
2021-02-16T17:22:56.307Z
chopschoc
<p>I am doing a project where i am trying to estimate the effect of the inclusion of a stock in an ETF on its returns, meaning that i am trying to see how the inclusion of a stock in a given ETF affects that stocks returns, I have collected return data on more than 150 equities, their event dates (when they were included in the ETF and so on).</p>
<p>my design is this, i have divided the sample into the estimation periot starting 130 days before the inclusion and the forecast window which inclused 10 days.</p>
<p>I am using the Multivariable Regression Model (MVRM) technique and the market model with dummy variables, the market model's dependant variable is the firms returns on the left hand side of the equation and on the right hand side of the equation qe have the market returns represented by the returns of the S&amp;P500 index and 10 dummy variables where every dummy takes the value of 1 for the observations within the forecast interval.</p>
<p>More can be read on the model in <a href="https://sci-hub.se/10.1111/J.1540-6288.1988.TB01273.X" rel="nofollow noreferrer">Karafiath 1988</a>.</p>
<p>I want to do determine the distribution of the sum of the dummy estimators which pretty much represents the cummulative abnormal returns in this case by bootstrapping.</p>
<p>Now my question is this:</p>
<p>Do i have to use a bootstrap method by simply resampling with replacement from the Dependant Variable (firm i's returns) and the market returns (S&amp;P500's returns) and once i have drawn a sample I run a regression with the resampled values of those two and estimate the the coefficients of the dummies and save them, then draw another sample from the DepVar and IndVar and again run a regression and estimate the coefficients of the dummy variables and save them and repeat this process 10 000 times and then construct the empirical distribution of the dummy variables?</p>
<p>OR</p>
<p>Should i draw 10 000 samples and run the regression for all the variables in the regression including the dummies?</p>
<p>will this second case imply that when resampling from the dummy variable which is basically a bunch of zeros with only one 1 at the position of the date in the forecast interval, would this mean it will randomly assign the number 1 to some other non forecast interval because that would not make sense.</p>
<p>Thanks in Advance.</p>

<econometrics><applied-econometrics>
Do I have to bootstrap the dummy variables used for event dates in an event study?
AugusteDupin
# Do I have to bootstrap the dummy variables used for event dates in an event study?

(Asked by: username_0 on 2021-02-16)

I am doing a project where i am trying to estimate the effect of the inclusion of a stock in an ETF on its returns, meaning that i am trying to see how the inclusion of a stock in a given ETF affects that stocks returns, I have collected return data on more than 150 equities, their event dates (when they were included in the ETF and so on).

my design is this, i have divided the sample into the estimation periot starting 130 days before the inclusion and the forecast window which inclused 10 days.

I am using the Multivariable Regression Model (MVRM) technique and the market model with dummy variables, the market model's dependant variable is the firms returns on the left hand side of the equation and on the right hand side of the equation qe have the market returns represented by the returns of the S&P500 index and 10 dummy variables where every dummy takes the value of 1 for the observations within the forecast interval.

More can be read on the model in [Karafiath 1988](https://sci-hub.se/10.1111/J.1540-6288.1988.TB01273.X).

I want to do determine the distribution of the sum of the dummy estimators which pretty much represents the cummulative abnormal returns in this case by bootstrapping.

Now my question is this:

Do i have to use a bootstrap method by simply resampling with replacement from the Dependant Variable (firm i's returns) and the market returns (S&P500's returns) and once i have drawn a sample I run a regression with the resampled values of those two and estimate the the coefficients of the dummies and save them, then draw another sample from the DepVar and IndVar and again run a regression and estimate the coefficients of the dummy variables and save them and repeat this process 10 000 times and then construct the empirical distribution of the dummy variables?

OR

Should i draw 10 000 samples and run the regression for all the variables in the regression including the dummies?

will this second case imply that when resampling from the dummy variable which is basically a bunch of zeros with only one 1 at the position of the date in the forecast interval, would this mean it will randomly assign the number 1 to some other non forecast interval because that would not make sense.

Thanks in Advance.

**Tags:** econometrics, applied-econometrics

---

## 1 answers

### Answer by username_1 on 2021-02-16. Score: 2

One way is to rely on a simple block bootstrap procedure. That is, you can draw $n$ contiguous blocks of length $t^{bs}$ (both LHS and RHS variables) which result in an overall bootstrapped sample of length $T$, which should be identical to the length of your original sample.

Then repeat your estimation for each bootstrap sample and save your results, e.g. 10000 times. Thus, inference is based on the distribution of your coefficients.

From my personal experience, dummy variables often result in singular (or nearly singular) matrices within your estimation procedure. However, you can either manually add these observations to your bootstrap sample or alternatively discard all samples resulting in numerical errors.

> **Comments:**
> **username_0**: thanks a lot for the reply. Dummy variables in my case are set by me manually, they have the lengs of the variable on the LHS which is the dependant variable. so you are basically saying i have to draw a sample from the dummy variables too ?  
> **username_1**: You should draw random samples from all your LHS and RHS (same observations), including the dummies.  
> **username_0**: Hmmm interesting. I had the feeling i can resample from the LHS (Y) and the RHS only the market return and then for every resample I run the regression to estimate the coefficients of the dummies. I guess that is flat wrong.  

---

