This page is hosted on AFS file server space, which is being shut down on November 13, 2018.
If you are seeing this message, your service provider needs to take steps now.
Visit
afs.unc.edu for more information.
BOOTSTRAP ANALYSIS OF SPEARMAN RANK CORRELATION FOR EFRON LAW
SCHOOL DATA SET (1,000 SAMPLES)
>corr
>graph none
>print none
>use law
>rseed=414123
>save temp
>spearman lsat gpa/sample=boot(1000,15)
Spearman correlation matrix
LSAT GPA
LSAT 1.000000
GPA 0.803636 1.000000
Number of observations: 15
Spearman correlation matrix
LSAT GPA
LSAT 1.000000
GPA 0.663082 1.000000
Number of observations: 15
<...zillions of correlation matrices omitted ...>
<The print=none option does not seem to inhibit this output>
Spearman correlation matrix
LSAT GPA
LSAT 1.000000
GPA 0.794964 1.000000
Number of observations: 15
Matrix has been saved.
>basic
File in use is law.SYD.
Variables in the SYSTAT Rectangular file are:
LSAT GPA
BASIC statements cleared.
>use temp
BASIC statements cleared.
>type=rectangular
>if case<>2*int(case/2) then delete
>rem get rid of odd rows in stacked correlation matrices
>save blaw
>run
SYSTAT file created.
1000 cases and 2 variables processed and saved.
BASIC statements cleared.
>sort lsat
1000 cases and 2 variables processed.
>if case=975 then print "95% CI Upper:", lsat
>if case=25 then print "95% CI Lower:", lsat
>output text2.txt
>run
95% CI Lower: 0.470270
95% CI Upper: 0.963437
SYSTAT file created.
1000 cases and 2 variables processed.
BASIC statements cleared.
>density lsat/stick
>stats
>stat
LSAT GPA
N of cases 1000 1000
Minimum 0.045704 1.000000
Maximum 1.000000 1.000000
Mean 0.768157 1.000000
Standard Dev 0.126460 0.0
>corr
>use law
>rem get the Spearman correlation for the original sample
>spearman
Spearman correlation matrix
LSAT GPA
LSAT 1.000000
GPA 0.796429 1.000000
Number of observations: 15
>plot gpa*lsat/stick
Last modified 28 April 1999