bootstrap p-value
Show older comments
Hello!
Does anyone know how to get a p-value using bootstrap? I have created a sample of 20 bootstrapped data and calculated a statistic(RMSD) for each of them. Now i want to see if the RMSD from my real data is consistent with being generated from the distribution implied by the null distribution. The problem is I didn't use matlab's bootstrapped functions to get these data so I would like a reply that helps me calculate the p-value with the form my data already have. I have attached the RMSDs from the bootstrapped data as all_RMSD. The RMSD of the original data is 19.9976.
Thanks on advance! ~M.
1 Comment
dpb
on 23 Jun 2018
This is a statistics Q?? more than Matlab; a couple of links on how to compute the statistic are
bootstrap lecture and bootstrap hypothesis. The first is a general tutorial/lecture on bootstrap in general with example usage and the latter a more specific how to compute from a given numerical example.
Accepted Answer
More Answers (1)
John Williams
on 15 Oct 2018
0 votes
Here is some code my advisor wrote back in 2009 that can get the actual P value (rather than simple determine if it is greater than or less than 0.05). Methods are described in the Archives of General Psychiatry paper that follows.
https://www.mathworks.com/matlabcentral/fileexchange/69119-bca_bootstrap
https://www.ncbi.nlm.nih.gov/pubmed/19581566
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!