happy {Fahrmeir} | R Documentation |
Reported Happiness
Description
Relationship between sex, years in school, and reported happiness.
Usage
data(happy)
Format
A data frame with 24 observations on the following 4 variables.
- Rep.happiness
an ordered factor with levels
Not to happy
< \ codePretty happy <Very happy
- School
a factor with levels
<12
>16
12
13-16
- Sex
a factor with levels
Females
Males
- n
number of persons in group
Source
Ludwig Fahrmeir, Gerhard Tutz (1994): Multivariate Statistical Modelling Based on Generalized Linear Models. Springer Series in Statistics. Springer Verlag. New-York Berlin Heidelberg
Examples
str(happy)
table(happy)
[Package Fahrmeir version 2016.5.31 Index]