/************ senic97d.sps ***************/ include 'senicread97.sps'. subtitle 'Basic significance tests'. /* Do hospitals with med schools have lower infection risk? ttest groups = medschl(1,2) / variables = infrisk. /* Is routine culturing ratio different from routine x-ray ratio? ttest pairs = xratio culratio. /* Does infection risk vary by region of the country? oneway infrisk by region(1,4) / statistics = descriptives homogeneity /ranges = tukey . /* snk & scheffe also available /* Does infection risk vary by region of the country and Med schl /* affiliation considered jointly? anova variables = infrisk by region(1,4) medschl (1,2). /* Does likelihood of med school affiliation vary by region of country? crosstabs tables = region by medschl / statistics = chisq / cells = count row column expected. /* Is number of nurses related to infection risk? plot /format=regression / plot = infrisk with nurses. /* Correlation matrix of continuous vars - really should do plots too correlations variables = stay to nbeds,census,nurses,service.