Search found 457 matches
- Sat Jan 24, 2026 12:24 pm
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
No. You're not bootstrapping to get an estimate of alpha; the mean across bootstrap samples should be roughly the same as the mean of the data. Yes, the mean across bootstrap samples is approximately the same as the mean of the data. Instead, you're bootstrapping to get the sampling distribution an...
- Sat Jan 24, 2026 8:57 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
No. That's a different type of bootstrap (which is bootstrapping data under the null). You need to compare the results with the assumed value of alpha. I can block bootstrap trigger within a loop, ndraws times, and calculate the means. That's straightforward. The question is what’s the p-value? Som...
- Sat Jan 24, 2026 3:30 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
In https://estima.com/forum/viewtopic.php?p=19882#p19882, I describe a valid test for PoF in overlapping samples. If you aren't satisfied with the Wald test based on QMLE asymptotics, you can block bootstrap the exceedance data and get a bootstrapped distribution for the alphahat. (You don't have t...
- Fri Jan 23, 2026 9:02 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
- Fri Jan 23, 2026 1:39 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
acKupiecBlockBoot.src: S1. Counts actual violations in the VaR OOS sample. S2. Computes Kupiec POF statistic as usual. S3. Generates many synthetic violation series under H0 (correct VaR model): H0 : violation probability = alpha (correct unconditional coverage) S4. Uses block bootstrap with blockle...
- Thu Jan 22, 2026 3:21 pm
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
You shuffle the values of the trigger series, not a randomized series. Sorry, are you saying the fix is BOOT(block=blocklen) bootentries startl endl startl endl set bootviol startl endl = trigger(bootentries(t)) ? Then, the p-value for Day 1 is completely different from the analytical Kupiec.
- Thu Jan 22, 2026 2:05 pm
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
I'm not sure what it is that you think that procedure is doing, but it's not block bootstrapping. The only thing that you are reshuffling are the independently drawn random numbers, and reshuffling independent random numbers produces independent random numbers. How do I fix so that it is block boot...
- Thu Jan 22, 2026 2:03 pm
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
It doesn't work for 0 because there is nothing in the formula that forces the alphahat to [0,1] when there are no data points that apply to the log(alphahat). And even if it's tweaked to limit the alphahat, the asymptotics don't work when the parameters is on the boundary. (The same is true for the...
- Thu Jan 22, 2026 10:52 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
- Thu Jan 22, 2026 2:57 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
If there are 0 or 1 or 2 exceedances, but not >=3, why does Wald QMLE give a p-value of exactly 0.0 ?
- Thu Jan 22, 2026 2:31 am
- Forum: ARCH and GARCH Models
- Topic: Extreme Value Theory (EVT): Hill estimator
- Replies: 7
- Views: 3022
Re: Extreme Value Theory (EVT): Hill estimator
The tail index doesn't provide enough information to compute the VaR and the ES. Those need complete distributions. tsay3p355 does that. The thing to note is that the results are sensitive to the number of extreme values that are included, which is the point of the earlier search. Are you saying I ...
- Tue Jan 20, 2026 2:07 pm
- Forum: ARCH and GARCH Models
- Topic: Extreme Value Theory (EVT): Hill estimator
- Replies: 7
- Views: 3022
Re: Extreme Value Theory (EVT): Hill estimator
Although, @HillGEV is designed for GEV asymptotics, not classical Pareto Hill estimator: 1/ihat = (1/k) summation from j=1 to k [log( X(j)/X(k+1))]. I'd like the classical estimator to complement various risk algos. That's what the procedure computes. Alright if I use @HillGEV(span=CT,tail=left) ys...
- Mon Jan 19, 2026 1:09 pm
- Forum: ARCH and GARCH Models
- Topic: Extreme Value Theory (EVT): Hill estimator
- Replies: 7
- Views: 3022
Re: Extreme Value Theory (EVT): Hill estimator
Thanks! Based on the HS loop (fixed rolling window) and using @HillGEV, it would be something like the following, however what are the formulae for VaR and ES as positive numbers? comp WIN = 1000 comp SCALE = 100.0 comp CT = 100; * threshold for tail observations *=============================== do ...
- Sun Jan 18, 2026 3:02 am
- Forum: ARCH and GARCH Models
- Topic: Extreme Value Theory (EVT): Hill estimator
- Replies: 7
- Views: 3022
Extreme Value Theory (EVT): Hill estimator
Hi Tom, Here's my loop for risk algo Historical Simulation (HS), calculate VaR and ES: *=============================== do i = 1, %allocend() - WIN * clear dlp1 clear y set dlp1 1+i WIN+i = dlp order(index=ix,nodecreasing) dlp1 1+i WIN+i set y 1+i WIN+i = dlp1(ix) comp op = fix(WIN*alpha)+i; * alpha...
- Mon Dec 15, 2025 2:47 am
- Forum: ARCH and GARCH Models
- Topic: garchmvbootstrap.rpf
- Replies: 53
- Views: 61790
Re: garchmvbootstrap.rpf
Here's an attempt at Block Bootstrap Kupiec , as a minimal procedure. There is a small difference (4th decimal place...) in the results for %%pofbootse from the STATS instruction i.e. all the ndraws of the POF's stored as a vector vs. the Alternative acsum method, not sure why that would be? Please ...