toydat | R Documentation |
A dataset containing binary and categorical outcome variables, area
identifiers, and categorical and continuous predictor
variables. This data-set is a random sample from the
post-stratification frame contained in toypsf
toydat
A data frame with 800 rows and 12 variables:
An area identifier with 26 possible values from A-Z
A categorical predictor with 5 possible values a-e
A categorical predictor with 5 possible values f-j
A categorical predictor with 3 possible values k-m
Continuous (standard normal) predictors measured at area level
Latent utility for the binary outcome
A binary outcome variable
Latent log utility for the categorical outcome, red option. Constant value of zero.
Latent log utility for the categorical outcome, green option
Latent log utility for the categorical outcome, blue option
A categorical outcome variable
The count of individuals choosing blue in aggregate
The count of individuals choosing green in aggregate
The count of individuals choosing red in aggregate
Original code is in the package's tools/ directory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.