Results: SurveyExamples.sas

Student housing arrangements

The Print Procedure

Data Set WORK.STUDENTS

Obs housing count classification
1 1OnCampus 86318 Firstyear
2 2FratOrSoroHouse 610 Firstyear
3 3OffCampusWalk 7647 Firstyear
4 4OffCampusNowalk 26115 Firstyear
5 5Other 6055 Firstyear
6 1OnCampus 26888 Senior
7 2FratOrSoroHouse 2067 Senior
8 3OffCampusWalk 40866 Senior
9 4OffCampusNowalk 87535 Senior
10 5Other 12012 Senior

Student housing arrangements by classification (relative frequency distributions)

The FREQ Procedure

The Freq Procedure

classification=Firstyear

Table housing

One-Way Frequencies

housing Frequency Percent Cumulative
Frequency
Cumulative
Percent
1OnCampus 86318 68.10 86318 68.10
2FratOrSoroHouse 610 0.48 86928 68.58
3OffCampusWalk 7647 6.03 94575 74.62
4OffCampusNowalk 26115 20.60 120690 95.22
5Other 6055 4.78 126745 100.00

Student housing arrangements by classification (relative frequency distributions)

The FREQ Procedure

classification=Senior

Table housing

One-Way Frequencies

housing Frequency Percent Cumulative
Frequency
Cumulative
Percent
1OnCampus 26888 15.88 26888 15.88
2FratOrSoroHouse 2067 1.22 28955 17.10
3OffCampusWalk 40866 24.13 69821 41.22
4OffCampusNowalk 87535 51.68 157356 92.91
5Other 12012 7.09 169368 100.00

The SGPanel Procedure

The SGPanel Procedure

The SGPanel Procedure

The SGPlot Procedure

The SGPlot Procedure

The SGPlot Procedure

Scientific achievement survey

The Print Procedure

Data Set WORK.SCIENCE

Obs SciAchievements count samplegroup
1 1BestInTheWorld 344 GeneralAdults
2 2AboveAverage 783 GeneralAdults
3 3Average 668 GeneralAdults
4 4BelowAverage 156 GeneralAdults
5 1BestInTheWorld 1687 Scientists
6 2AboveAverage 1762 Scientists
7 3Average 225 Scientists
8 4BelowAverage 74 Scientists

Scientific achievement survey results by sample group (relative frequency distributions)

The FREQ Procedure

The Freq Procedure

samplegroup=GeneralAdults

Table SciAchievements

One-Way Frequencies

SciAchievements Frequency Percent Cumulative
Frequency
Cumulative
Percent
1BestInTheWorld 344 17.63 344 17.63
2AboveAverage 783 40.13 1127 57.77
3Average 668 34.24 1795 92.00
4BelowAverage 156 8.00 1951 100.00

Scientific achievement survey results by sample group (relative frequency distributions)

The FREQ Procedure

samplegroup=Scientists

Table SciAchievements

One-Way Frequencies

SciAchievements Frequency Percent Cumulative
Frequency
Cumulative
Percent
1BestInTheWorld 1687 45.01 1687 45.01
2AboveAverage 1762 47.01 3449 92.02
3Average 225 6.00 3674 98.03
4BelowAverage 74 1.97 3748 100.00

The SGPanel Procedure

The SGPanel Procedure

The SGPanel Procedure

The SGPlot Procedure

The SGPlot Procedure

The SGPlot Procedure