Description Usage Format Examples
This is an artificial data set on electoral choice as influenced by class and party positions.
1 |
A data frame containing the following variables:
class position of voters
party that runs for election
freqency by which each party list is chosen by members of each class
time variable, runs from zero to one
economic-policy "leftness" of each party
emphasis of welfare expansion of each party
position on authoritarian issues
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | data(electors)
summary(mclogit(
cbind(Freq,interaction(time,class))~econ.left+welfare+auth,
data=electors))
summary(mclogit(
cbind(Freq,interaction(time,class))~econ.left/class+welfare/class+auth/class,
data=electors))
summary(mclogit(
cbind(Freq,interaction(time,class))~econ.left/class+welfare/class+auth/class,
random=~1|party.time,
data=within(electors,party.time<-interaction(party,time))))
summary(mclogit(
cbind(Freq,interaction(time,class))~econ.left/(class*time)+welfare/class+auth/class,
random=~1|party.time,
data=within(electors,{
party.time <-interaction(party,time)
econ.left.sq <- (econ.left-mean(econ.left))^2
})))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.