Home » date » 2010 » Dec » 29 »

Decompositie consumptieprijs van rundsvlees in Denemarken

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 29 Dec 2010 13:58:58 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j.htm/, Retrieved Wed, 29 Dec 2010 14:57:19 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W92
 
Dataseries X:
» Textbox « » Textfile « » CSV «
98,4 96,5 97,4 99,2 100,8 101,8 102,7 100 100,8 101,7 99 101,7 100,2 101,2 99,5 100,8 100,7 99,5 99,4 101,1 97,2 98,1 97,8 95,5 96,3 93,6 96,7 95,1 97,7 96,5 98,1 97,3 97 93,7 95,6 94,6 95,1 94,5 93,6 92,1 95,9 98,1 98,2 96,2 94,1 95 93,4 95,4 93,5 94,5 94,3 95,7 98,4 99,4 99,2 99 99,4 99,3 98,6 98,7 96 98,7 100,1 100 101,5 101,5 103,8 104,1 101 104,9 104,4 105,6 103,4 101,7 103,5 101,2 105,4 105,4 108,6 110,6 110,2 106,2 108,6 107,5 106,9 108,4 109,9 108,6 106,5 105,7 105,6 104,2 105,1 102,7 108,3 104,2 105,4 104,6 106,4 111 111,7 113,8 115,9 117,3 113,6 113,6 114,6 113,2 112,8 109,6 111,1 109,7 113 111 113,3 111,8 107,2 106,4 110 108,2
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
198.4NANA0.987932971940836NA
296.5NANA0.984193147235365NA
397.4NANA0.99214821392913NA
499.2NANA0.990511176550081NA
5100.8NANA1.00812064400401NA
6101.8NANA1.00758844405299NA
7102.7101.923677254773100.0751.018472917859331.00761670659985
8100101.852117805352100.3458333333331.015010931913990.98181561812105
9100.8100.778298555047100.6291666666671.001481994667361.00021533847330
10101.7100.490481619862100.7833333333330.9970942446157921.01203614870425
1199100.960524262005100.8458333333331.001137289711240.980581278907416
12101.7100.373882086196100.7458333333330.9963080235198761.01321178264944
13100.299.2996128422032100.51250.9879329719408361.00906737833135
14101.298.8334960063314100.4208333333330.9841931472353651.02394435175618
1599.599.5290016606572100.3166666666670.992148213929130.99970861095587
16100.899.0676261746173100.0166666666670.9905111765500811.01748678041734
17100.7100.62724228233399.81666666666661.008120644004011.00072304195183
1899.5100.2634467536499.50833333333331.007588444052990.9923855923733
1999.4100.91793524838699.08751.018472917859330.984958716756834
20101.1100.08853631115298.60833333333331.015010931913991.01010568968362
2197.298.320494826467898.1751.001481994667360.98860364943804
2298.197.536589920187397.82083333333330.9970942446157921.00577639714771
2397.897.56917169310897.45833333333331.001137289711241.00236579139585
2495.596.849442452994697.20833333333330.9963080235198760.986066595544424
2596.395.858312989942697.02916666666670.9879329719408361.00460770689866
2693.695.28629987150496.81666666666660.9841931472353650.982302808758678
2796.795.891124876250496.650.992148213929131.00843534920248
2895.195.543057238059996.45833333333330.9905111765500810.995362747949797
2997.796.964403942452196.18333333333331.008120644004011.00758624843385
3096.596.783068336473796.05416666666671.007588444052990.997075228742598
3198.197.739451017233895.96666666666671.018472917859331.00368887873846
3297.397.394528129363495.95416666666671.015010931913990.999029430798845
339796.004567713799595.86251.001481994667361.01036859297328
3493.795.330518903974895.60833333333330.9970942446157920.982896149913784
3595.695.516840249295.40833333333331.001137289711241.00087062920615
3694.695.047785443796295.40.9963080235198760.99528883874879
3795.194.318784108668295.47083333333330.9879329719408361.00828271800484
3894.593.920731879714895.42916666666660.9841931472353651.00616762783564
3993.694.514519229423795.26250.992148213929130.990324034477668
4092.194.292536877665495.19583333333330.9905111765500810.976747503564253
4195.995.93108028234895.15833333333331.008120644004010.999676014465212
4298.195.821661029439895.11.007588444052991.02377686784056
4398.296.822825391160495.06666666666671.018472917859331.01422365649087
4496.296.4260385318288951.015010931913990.997655835132601
4594.195.1699993849195.02916666666671.001481994667360.988756967617679
469594.931681206128595.20833333333330.9970942446157921.00071966274065
4793.495.571068519059495.46251.001137289711240.977283203455799
4895.495.267803465656895.62083333333330.9963080235198761.00138763075807
4993.594.561650964270395.71666666666670.9879329719408360.988772922707626
5094.594.359517991190695.8750.9841931472353651.00148879532028
5194.395.457060032656496.21250.992148213929130.987878738018324
5295.795.695761044444796.61250.9905111765500811.00004429616849
5398.497.796103473755597.00833333333331.008120644004011.00617505713207
5499.498.101329884109797.36251.007588444052991.01323804802060
5599.299.407200420228497.60416666666661.018472917859330.997915639718727
569999.35265338551497.88333333333331.015010931913990.996450488502348
5799.498.445680075801298.31.001481994667361.00969387304211
5899.398.433974740341498.72083333333330.9970942446157921.00879803200006
5998.699.141791519029599.02916666666671.001137289711240.994535185306536
6098.798.879420050916499.24583333333330.9963080235198760.998185466188779
619698.324029032411699.5250.9879329719408360.97636356997082
6298.798.34960104227499.92916666666670.9841931472353651.00356278982337
63100.199.4215189374815100.2083333333330.992148213929131.00682428783798
6410099.5546275030877100.5083333333330.9905111765500811.00447364937304
65101.5101.803383033671100.9833333333331.008120644004010.997019912063521
66101.5102.282821926930101.51251.007588444052990.992346496584844
67103.8103.994572187753102.1083333333331.018472917859330.998129015931698
68104.1104.080912643347102.5416666666671.015010931913991.00018338959727
69101102.960694735093102.8083333333331.001481994667360.980956861838026
70104.9102.7007071954271030.9970942446157921.02141458286542
71104.4103.329882514322103.21251.001137289711241.01035632151745
72105.6103.155241985189103.53750.9963080235198761.02369979428832
73103.4102.646235784653103.90.9879329719408361.00734332057659
74101.7102.721058937911104.3708333333330.9841931472353650.99005988695533
75103.5104.200366167907105.0250.992148213929130.993278659244073
76101.2104.461784956913105.46250.9905111765500810.968775328142647
77105.4106.549951065857105.6916666666671.008120644004010.989207399399497
78105.4106.749797362231105.9458333333331.007588444052990.987355504220294
79108.6108.132118416557106.1708333333331.018472917859331.00432694365277
80110.6108.195936129815106.5958333333331.015010931913991.02221953944093
81110.2107.300450045318107.1416666666671.001481994667361.02702271941503
82106.2107.403668382531107.7166666666670.9970942446157920.988793042168318
83108.6108.193741180169108.0708333333331.001137289711241.00375491978926
84107.5107.729956326518108.1291666666670.9963080235198760.997865437484993
85106.9106.713226519143108.0166666666670.9879329719408361.00175023740683
86108.4105.923787471206107.6250.9841931472353651.02337730351142
87109.9106.304547171615107.1458333333330.992148213929131.03382219222082
88108.6105.774212265842106.78750.9905111765500811.02671528034694
89106.5107.495064169611106.6291666666671.008120644004010.990743164095045
90105.7107.287177865726106.4791666666671.007588444052990.985206266980826
91105.6108.242452982658106.2791666666671.018472917859330.975587646899673
92104.2107.650367753911106.0583333333331.015010931913990.967948388603758
93105.1105.910893777717105.7541666666671.001481994667360.992343622560495
94102.7105.401170774594105.7083333333330.9970942446157920.974372478457845
95108.3106.145581141634106.0251.001137289711241.02029683040211
96104.2106.185678890062106.5791666666670.9963080235198760.98129993695178
97105.4106.050488150466107.3458333333330.9879329719408360.993866240864986
98104.6106.608621869491108.3208333333330.9841931472353650.981158917222008
99106.4108.363254715518109.2208333333330.992148213929130.981882652743572
100111108.985119329825110.0291666666670.9905111765500811.01848766769780
101111.7111.645160820761110.7458333333331.008120644004011.00049119172597
102113.8112.228559526769111.3833333333331.007588444052991.01400214419446
103115.9114.136864994769112.0666666666671.018472917859331.01544755066921
104117.3114.273314084650112.5833333333331.015010931913991.02648637557766
105113.6113.154946872478112.98751.001481994667361.00393313010012
106113.6112.800440981514113.1291666666670.9970942446157921.00708826146005
107114.6113.257827303958113.1291666666671.001137289711241.01185059547752
108113.2112.649227192647113.0666666666670.9963080235198761.00488927284349
109112.8111.480003108757112.8416666666670.9879329719408361.01184066069639
110109.6110.725829868759112.5041666666670.9841931472353650.98983227427518
111111.1111.128867861845112.0083333333330.992148213929130.999740230757312
112109.7110.384216366702111.4416666666670.9905111765500810.993801501797785
113113111.850985452245110.951.008120644004011.01027272619110
114111111.388902490059110.551.007588444052990.996508606500605
115113.3NANA1.01847291785933NA
116111.8NANA1.01501093191399NA
117107.2NANA1.00148199466736NA
118106.4NANA0.997094244615792NA
119110NANA1.00113728971124NA
120108.2NANA0.996308023519876NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j/19d4i1293631134.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j/19d4i1293631134.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j/29d4i1293631134.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j/29d4i1293631134.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j/3jm331293631134.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j/3jm331293631134.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j/4cw261293631134.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293631039y8xj4nscgv6tc2j/4cw261293631134.ps (open in new window)


 
Parameters (Session):
par1 = 4 ;
 
Parameters (R input):
par1 = multiplicative ; par2 = 12 ;
 
R code (references can be found in the software module):
par2 <- as.numeric(par2)
x <- ts(x,freq=par2)
m <- decompose(x,type=par1)
m$figure
bitmap(file='test1.png')
plot(m)
dev.off()
mylagmax <- length(x)/2
bitmap(file='test2.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(x),lag.max = mylagmax,main='Observed')
acf(as.numeric(m$trend),na.action=na.pass,lag.max = mylagmax,main='Trend')
acf(as.numeric(m$seasonal),na.action=na.pass,lag.max = mylagmax,main='Seasonal')
acf(as.numeric(m$random),na.action=na.pass,lag.max = mylagmax,main='Random')
par(op)
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
spectrum(as.numeric(x),main='Observed')
spectrum(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
spectrum(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
spectrum(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
bitmap(file='test4.png')
op <- par(mfrow = c(2,2))
cpgram(as.numeric(x),main='Observed')
cpgram(as.numeric(m$trend[!is.na(m$trend)]),main='Trend')
cpgram(as.numeric(m$seasonal[!is.na(m$seasonal)]),main='Seasonal')
cpgram(as.numeric(m$random[!is.na(m$random)]),main='Random')
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Classical Decomposition by Moving Averages',6,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observations',header=TRUE)
a<-table.element(a,'Fit',header=TRUE)
a<-table.element(a,'Trend',header=TRUE)
a<-table.element(a,'Seasonal',header=TRUE)
a<-table.element(a,'Random',header=TRUE)
a<-table.row.end(a)
for (i in 1:length(m$trend)) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
if (par1 == 'additive') a<-table.element(a,m$trend[i]+m$seasonal[i]) else a<-table.element(a,m$trend[i]*m$seasonal[i])
a<-table.element(a,m$trend[i])
a<-table.element(a,m$seasonal[i])
a<-table.element(a,m$random[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by