bootstrap p-value
显示 更早的评论
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 个评论
dpb
2018-6-23
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.
采纳的回答
更多回答(1 个)
John Williams
2018-10-15
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!