Sie sind auf Seite 1von 3

This is the raw data plot from the data set of Monthly number of Deaths from Bronchitis, emphysema,

and asthma in the United Kingdoms from 1974-1990. There is seasonality


(Code command list #A)
=====================================================================================

This data is still seasonal after being differenced.

(Code command list #B)


=====================================================================================

(Code command list #C)

=====================================================================================

Code List

#A
bea=read.csv("uk-deaths-from-bronchitis-emphys.csv", nrows=204)
beats=ts(bea,frequency=12)
ts.plot(bea, xlab="Number of Months", ylab="Number of deaths from Bronchitis, emphysema, and
asthma", main="Monthly Number of Deaths from Illness in UK from 1974-1990")

#B
beats.diff<-diff(beats,lag=12)
ts.plot(beats.diff, main="Differenced Data of UK deaths")

#C
beats.tr<-log(beats)
ts.plot(beats.tr,xlab="Number of Months", ylab="Number of deaths from Bronchitis, emphysema, and
asthma", main="Monthly Number of Deaths from Illness in UK from 1974-1990 TRANSFORMED")