| Vietnam | R Documentation |
Student Opinion about the Vietnam War
Description
A survey of student opinion on the Vietnam War was taken at the University of North Carolina at Chapel Hill in May 1967 and published in the student newspaper. Students were asked to fill in ballot papers stating which policy out of A,B,C or D they supported. Responses were cross-classified by gender/year.
The response categories were:
ADefeat North Vietnam by widespread bombing and land invasion
BMaintain the present policy
CDe-escalate military activity, stop bombing and begin negotiations
DWithdraw military forces Immediately
Usage
data(Vietnam)
Format
A frequency data frame with 40 observations representing a 2 x 5 x 4 contingency table on the following 4 variables.
sexa factor with levels
FemaleMaleyearyear of study, an ordered factor with levels
Freshmen,Sophomore,Junior,Senior,Grad studentresponsea factor with levels
ABCDFreqcell frequency, a numeric vector
Details
For some analyses, it is useful to treat year as numeric,
and possibly assign grad students a value year=7.
Source
Aitken, M. etal, 1989, Statistical Modelling in GLIM
References
Friendly, M. (2000), Visualizing Categorical Data, SAS Institute, Cary, NC, Example 7.9.
Examples
data(Vietnam)
## maybe str(Vietnam) ; plot(Vietnam) ...