0byt3m1n1
Path:
C:
/
Users
/
Administrator
/
SYSTAT
/
SYSTAT_13
/
Gallery
/
[
Home
]
File: Spearman Correlation Probabilities.syc
REM This item generates a matrix of Spearman correlations and their, associated probability values. It was developed using USSTATES and, the variables ACCIDENT through LIVER. TOKEN TOKEN &message / TYPE = MESSAGE PROMPT = 'This item computes a matrix of, Spearman correlations and their associated probability, values. It ranks the raw data values of variables for, the Spearman correlation, replacing the values in the, working data file with their ranks. Be careful not to, save the ranked data over your original data file.' TOKEN &varlist / TYPE = NMULTIVAR PROMPT = 'Select the variables.' CORR NOTE 'Spearman correlation probabilities generated' NOTE 'using the Pearson correlation of ranked values.' RANK &varlist PEARSON &varlist / PROB TOKEN