Displaying 1 result from an estimated 1 matches for "cisemipartcorr".
2016 Apr 02
0
BCa Bootstrap confidence intervals
...e confidence intervals around the semipartial correlation coefficients.
Now, I would like to calculate BCa bootstrap CIs using the boot library and the boot.ci(results, type="all") function. How could I modify my R script (here below reproducible example) to get the BCa bootstrap CIs ?
CIsemipartcorr <- function(alpha, part, mult, n) {
# Computes a confidence interval for a semipartial correlation
# Arguments:
# alpha: alpha value for 1-alpha confidence
# part: sample semipartial correlation
# mult: sample squared multiple correlation in full model
# n: sample size
# Returns:
#...