158 RESAMPLING METHODS FOR INTERVAL ESTIMATION
The confidence interval is
CI_95_ CI_95_
lower upper
321.578 359.077
Example 8.2 For the data in Example 3.3, we apply the jackknife method to con-
struct a 99% confidence interval for the Spearman correlation coefficient between
the number of hours students studied for an exam and their scores on that exam. The
statements below produce the desired confidence limits.
data studying4exam;
input hours score @@;
datalines;
0 28 5 94 9 84 7 45 17 82 17 99 5 67
12 97 21 79 3 93 7 62 29 60 7 85 10 78
;
proc corr data=studying4exam outs=corr_all;
var hours score;
run;
data _null_;
set corr_all;
if (_type_=’N’) then
call symput (’n_obs’, hours);
if (_type_=’CORR’ and _name_=’hours’) then
call symput (’corr_all’, score);
run;
data ...