Description Usage Format Examples
Data for the Scotland example used in chapters 4, 5, and 6
1 |
A data frame with 32 rows and 7 variables:
Percentage of population who granting Scottish parliament taxation powers
Council tax collected
Female percentage of total claims for unemployment benefits as of January 1998
Standardized mortality rate
Percentage of economically active individuals relative to the population of working age
GDP per council
Percentage of children aged 5 to 15
...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | data(scotvote)
attach(scotvote)
## Table 4.3
scotvote
## Table 5.3
scottish.vote.glm <- glm((PerYesTax) ~ CouncilTax*PerClaimantFemale+
StdMortalityRatio+Active+GDP+Percentage5to15,
family=Gamma,data=scotvote)
vote.sum <- summary(scottish.vote.glm)
round(cbind(
vote.sum$coefficients[,1], vote.sum$coefficients[,2],
confint(scottish.vote.glm)),4)
vote.sum
## Table 6.3
anova(scottish.vote.glm,test="F")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.