Re: [R] Extracting p value from bootstrap in R

2020-01-03 Thread Patrick (Malone Quantitative)
Also, note that the p-values will probably not exactly correspond to conclusions drawn from the bootstrapped confidence limits. They are two different approaches to the research question. Broadly speaking, the bootstrapped limits avoid the assumption of a symmetric sampling distribution that underl

Re: [R] Extracting p value from bootstrap in R

2020-01-03 Thread Rui Barradas
Hello, Your code is correctly extracting the bootstrapped r-squared confidence intervals calculated using the adjusted bootstrap percentile (BCa) method. If you want the p-values, do summary(fit)$coefficients[, 4] in the function. Also, function boot calls a function statistic that expects

[R] Extracting p value from bootstrap in R

2020-01-03 Thread Saaim Khan
I've been trying to get the pvalue of my samples from a bootstrap rsquared test in R. I'm not very good with statistics so could someone please take a look at my below code and point me in the right direction with regards to how I can extract the p-values per sample (basically input a Descriptor