Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block bootstrap for SH-test (etc) #53

Open
seb-mueller opened this issue Jun 12, 2018 · 0 comments
Open

Block bootstrap for SH-test (etc) #53

seb-mueller opened this issue Jun 12, 2018 · 0 comments

Comments

@seb-mueller
Copy link

Having done some test with the SH.test function, I've noticed that comparing trees constructed from adjacent blocks of a multiple alignment often reject H0 (trees constructed by adjacent blocks are different).
I suspect this is because could be due to local correlation.

The implemented bootstrap approach only operates on drawing with replacing which doesn't preserve the order:

boot <- tabulate(sample(wvec, replace=TRUE), nbins=lw)

I was therefore wondering if the block bootstrap might be more appropriate for this scenario (or possibly in general since all sequences might have local correlation.
This has also been discussed in Holmes 2012 to a degree.

I was therefore wondering if the block bootstrap makes sense and given it does whether it could be implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant