File:TrendSaisonModell.svg

Original file(SVG file, nominally 900 × 630 pixels, file size: 166 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

edit
Description
English: Trend season model for unemployed people in germany from 2005-2008.
Date
Source Own work
Author Sigbert
x <- read.csv2("arbeitslose0511.csv", header=F)
pos <- 1+3*(0:15)
mon <- paste(rep(c("Jan", "Apr", "Jul", "Oct"), 4), 2005+floor(pos/12))
arb <- x[1:48,1]/1000000
t   <- 1:48
svg("TrendSaisonModell.svg", width=10, height=7)
par(mfrow=c(2,2))
trend <- lm(arb~t)
plot(arb, main="Arbeitslose in Deutschland 2005-2008", sub="(Quelle: Genesis online/Bundesagentur für Arbeit)", xlab="", ylab="Arbeitslose in Mio.", axes=F)
abline(trend, lwd=2)
axis(2)
axis(1, at=pos, labels=mon)
box()
plot(trend$residuals, main="Beobachtete Arbeitslose - Geschätzter Trend",  xlab="", ylab="Differenz in Mio. Arbeitslose", axes=F)
axis(2)
axis(1, at=pos, labels=mon)
abline(h=0)
col<-rainbow(12)
for (i in 1:48) {
  lines(c(i,i), c(0, trend$residuals[i]), lwd=2, col=col[1+i%%12])
}
box()
saison <- matrix(trend$residuals, nr=12)
msaison <- apply(saison, 1, mean)
plot(msaison, axes=F, type="h", xlab="", ylab="Differenz in Mio. Arbeitslose", col=col, main="Mittlere Abweichung vom Trend", lwd=2)
axis(2)
abline(h=0)
axis(1, at=1:12, labels=c("Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"),)
box()
zrm<-trend$fitted+rep(msaison, 4)
plot(arb, main="Arbeitslose in Deutschland 2005-2008", sub="Lineares Trendmodell mit additiver Schwankung", xlab="", ylab="Arbeitslose in Mio.",  axes=F)
lines(1:48, zrm, lwd=2, col="red")
axis(2)
axis(1, at=pos, labels=mon)
box()
dev.off()
 
This W3C-unspecified chart was created with R.

Licensing

edit
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:36, 22 September 2012Thumbnail for version as of 19:36, 22 September 2012900 × 630 (166 KB)Sigbert (talk | contribs)Typos
19:23, 22 September 2012Thumbnail for version as of 19:23, 22 September 2012900 × 630 (167 KB)Sigbert (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata