WVS                 package:effects                 R Documentation

_W_o_r_l_d _V_a_l_u_e_s _S_u_r_v_e_y_s

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

     Data from the World Values Surveys 1995-1997 for Australia,
     Norway, Sweden, and the United States.

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

     WVS

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

     A data frame with 5381 observations on the following 6 variables.

     '_p_o_v_e_r_t_y' ``Do you think that what the government is doing for
          people in poverty in this country is about the right amount,
          too much, or too little?'' (ordered):  'Too Little', 'About
          Right', 'Too Much'.

     '_r_e_l_i_g_i_o_n' Member of a religion: 'no' or 'yes'.

     '_d_e_g_r_e_e' Held a university degree: 'no' or 'yes'.

     '_c_o_u_n_t_r_y' 'Australia', 'Norway', 'Sweden', or 'USA'.

     '_a_g_e' in years.

     '_g_e_n_d_e_r' 'male' or 'female'.

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

     J. Fox and R. Andersen (2006) Effect displays  for multinomial and
     proportional-odds logit models. _Sociological Methodology_ *36*,
     225-255.

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

     summary(WVS)

     require(splines)  # for bs()
     wvs <- polr(poverty ~ gender + country*(religion + degree + bs(age, 4)), data=WVS)

     plot(effect("country*bs(age,4)", wvs, xlevels=list(age=18:83),
       given.values=c(gendermale=0.5)), rug=FALSE)

     plot(effect("country*bs(age,4)", wvs, xlevels=list(age=18:83),
       given.values=c(gendermale=0.5)), rug=FALSE, style="stacked")

     plot(effect("country*bs(age,4)", wvs, xlevels=list(age=18:83),
       given.values=c(gendermale=0.5), latent=TRUE), rug=FALSE)

