vcd (version 0.9-0)

Bundesliga: Ergebnisse der Fussball-Bundesliga

Description

Results from the first German soccer league in the years 1995/6 and 2001/2.

Usage

data(Bundesliga)

Arguments

source

SFB 386 Statistical Analysis of Discrete Structures http://www.stat.uni-muenchen.de/service/datenarchiv/bundesliga/bundesliga.html

Details

The data for the season 1995/6 is taken from Knorr-Held (1999), the data for the season 2001/2 was collected by Achim Zeileis.

References

Leonhard Knorr-Held (1999), Dynamic rating of sports teams. SFB 386 Statistical Analysis of Discrete Structures, Discussion paper 98.

See Also

UKSoccer

Examples

Run this code
data(Bundesliga)

## independence of home and away goals
tore95 <- xtabs(~ HomeGoals + AwayGoals, data = Bundesliga,
                subset = Year == 1995)
tore95
mosaic(tore95, gp = shading_max)

## number of goals per game poisson distributed?
ntore1 <- xtabs(~ HomeGoals, data = Bundesliga, subset = Year == 1995)
ntore2 <- xtabs(~ AwayGoals, data = Bundesliga, subset = Year == 1995)
ntore3 <- table(apply(subset(Bundesliga, Year == 1995)[,3:4], 1, sum))

gf1 <- goodfit(ntore1)
gf2 <- goodfit(ntore2)
gf3 <- goodfit(ntore3)

summary(gf1)
summary(gf2)
summary(gf3)
plot(gf1)
plot(gf2)
plot(gf3)

Ord_plot(ntore1)
distplot(ntore1)

Run the code above in your browser using DataLab