OvaryCancer               package:vcd               R Documentation

_O_v_a_r_y _C_a_n_c_e_r _D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     Data from Obel (1975) about a retrospective study of ovary cancer
     carried out in 1973.  Information was obtained from 299 women, who
     were operated for ovary cancer 10 years before.

_U_s_a_g_e:

     data("OvaryCancer")

_F_o_r_m_a_t:

     A data frame with 16 observations and 5 variables.

     _F_r_e_q frequency.

     _s_t_a_g_e factor indicating the stage of the cancer at the time of
          operation (early, advanced).

     _o_p_e_r_a_t_i_o_n factor indicating type of operation (radical, limited).

     _s_u_r_v_i_v_a_l factor indicating survival status after 10 years (yes,
          no).

     _x_r_a_y factor indicating whether X-ray treatment was received (yes,
          no).

_S_o_u_r_c_e:

     E. B. Andersen (1991), The Statistical Analysis of Categorical
     Data, Table 6.4.

_R_e_f_e_r_e_n_c_e_s:

     E. B. Obel (1975), A Comparative Study of Patients with Cancer of
     the Ovary Who Have Survived More or Less Than 10 Years. _Acta
     Obstetricia et Gynecologica Scandinavica_,  *55*, 429-439.

     E. B. Andersen (1991), _The Statistical Analysis of Categorical
     Data_. 2nd edition. Springer-Verlag, Berlin.

_E_x_a_m_p_l_e_s:

     data("OvaryCancer")
     tab <- xtabs(Freq ~ xray + survival + stage + operation, data = OvaryCancer)
     ftable(tab, col.vars = "survival", row.vars = c("stage", "operation", "xray"))

     ## model: ~ xray * operation * stage + survival * stage
     ## interpretation: treat xray, operation, stage as fixed margins,
     ##   the survival depends on stage, but not xray and operation.
     doubledecker(survival ~ stage + operation + xray, data = tab)
     mosaic(~ stage + operation + xray + survival,
       split = c(FALSE, TRUE, TRUE, FALSE), data = tab, keep = FALSE,
       gp = gpar(fill = rev(grey.colors(2))))
     mosaic(~ stage + operation + xray + survival,
       split = c(FALSE, TRUE, TRUE, FALSE), data = tab, keep = FALSE,
       expected = ~ xray * operation * stage + survival*stage)

