Abortion | R Documentation |
Data used in Exercise 8.51
Abortion
A data frame/tibble with 51 observations on the following 10 variables:
a character variable with values alabama
,
alaska
, arizona
, arkansas
, california
,
colorado
, connecticut
, delaware
, dist of columbia
,
florida,
georgia
, hawaii
, idaho
, illinois
,
indiana
, iowa
, kansas
, kentucky
, louisiana
,
maine
, maryland
, massachusetts
, michigan
,
minnesota
, mississippi
, missouri
, montana
,
nebraska
, nevada
, new hampshire
, new jersey
,
new mexico
, new york
, north carolina
, north dakota
,
ohio
, oklahoma
, oregon
, pennsylvania
, rhode
island
, south carolina
, south dakota
, tennessee
,
texas
, utah
, vermont
, virginia
, washington
,
west virginia
, wisconsin
, and wyoming
a character variable with values midwest
northeast
south
west
a numeric vector
a numeric vector
a numeric vector
a numeric vector
a numeric vector
a numeric vector
a numeric vector
a factor with levels Low
and High
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
T1 <- xtabs(~region + rate, data = Abortion)
T1
chisq.test(T1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.