| WVS {effects} | R Documentation |
Data from the World Values Surveys 1995-1997 for Australia, Norway, Sweden, and the United States.
WVS
A data frame with 5381 observations on the following 6 variables.
povertyToo Little, About Right, Too Muchreligionno or yes.degreeno or yes.countryAustralia, Norway, Sweden, or USA.agegendermale or female.J. Fox and R. Andersen (2006) Effect displays for multinomial and proportional-odds logit models. Sociological Methodology 36, 225–255.
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)