Home » date » 2008 » May » 17 » attachments

Gemiddelde consumptieprijs - broodje - Elisa Somers

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 17 May 2008 10:12:03 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb.htm/, Retrieved Sat, 17 May 2008 18:12:55 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
4.07 4.07 4.08 4.09 4.08 4.09 4.12 4.14 4.14 4.14 4.14 4.14 4.23 4.29 4.32 4.33 4.35 4.35 4.35 4.35 4.36 4.36 4.38 4.4 4.4 4.4 4.43 4.44 4.46 4.47 4.49 4.49 4.57 4.62 4.64 4.66 4.67 4.68 4.72 4.74 4.75 4.76 4.77 4.76 4.77 4.77 4.78 4.81 4.81 4.85 4.92 4.96 4.95 4.96 4.97 5 5 5.01 5.01 5.02 5.04 5.04 5.19 5.22 5.22 5.22 5.24 5.28 5.34 5.36 5.38 5.39 5.41 5.44 5.51 5.55 5.56 5.57 5.58 5.58 5.59 5.61 5.63 5.64 5.64
 
Text written by user:
Multiplicatief
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
14.07NANA0.996062039909238NA
24.07NANA0.996949949031497NA
34.08NANA1.00598615846656NA
44.09NANA1.00624873224116NA
54.08NANA1.00374164108387NA
64.09NANA1.00063900939266NA
74.124.110417955353264.1150.9988865019084461.00233116066318
84.144.119221226528624.130833333333330.9971889190708781.00504434511494
94.144.149331269185294.150.9998388600446480.997751139019777
104.144.166040800255604.170.9990505516200470.993749269029243
114.144.18229598890824.191250.9978636418510480.989886897287907
124.144.202985367200884.213333333333330.9975439953799550.985014135977632
134.234.217077661465734.233750.9960620399092381.00306428754024
144.294.239114262444344.252083333333330.9969499490314971.01200386080802
154.324.29556089665224.271.005986158466561.00568938584175
164.334.315129980094194.288333333333331.006248732241161.00344601900161
174.354.323617118968754.30751.003741641083871.00610203917352
184.354.331099178987884.328333333333331.000639009392661.00436397787975
194.354.341410458919584.346250.9988865019084461.00197851393267
204.354.34566621023434.357916666666670.9971889190708781.00099726706011
214.364.366379621719984.367083333333330.9998388600446480.998538921882044
224.364.372094976527234.376250.9990505516200470.997233597030219
234.384.376047846034284.385416666666670.9978636418510481.00090313317056
244.44.38420585969494.3950.9975439953799551.00360250882613
254.44.388483337500124.405833333333330.9960620399092381.00262429217891
264.44.404026399846644.41750.9969499490314970.999085745751484
274.434.458614486503654.432083333333331.005986158466560.993582202141435
284.444.479483939693584.451666666666671.006248732241160.991185605256063
294.464.490070941115164.473333333333331.003741641083870.993302791535029
304.474.497872347219994.4951.000639009392660.993803215149666
314.494.512053569662284.517083333333330.9988865019084460.995112298796593
324.494.527237692581794.540.9971889190708780.991774743207585
334.574.563014597528764.563750.9998388600446481.00153087445195
344.624.583976947683324.588333333333330.9990505516200471.00785847152545
354.644.60306182455544.612916666666670.9978636418510481.00802469678933
364.664.625694635243134.637083333333330.9975439953799551.0074162623048
374.674.642479157676974.660833333333330.9960620399092381.00592804865425
384.684.669464323776274.683750.9969499490314971.00225629226249
394.724.73148823198774.703333333333331.005986158466560.997571962261253
404.744.747397664652794.717916666666671.006248732241160.998441743208522
414.754.747697962326684.731.003741641083871.00048487449951
424.764.745113569124094.742083333333331.000639009392661.00313721276826
434.774.74887291115644.754166666666670.9988865019084461.00444886381229
444.764.753682676287464.767083333333330.9971889190708781.00132893256507
454.774.781729348163534.78250.9998388600446480.997547048921111
464.774.795442647776234.80.9990505516200470.99469441099707
474.784.807208094617424.81750.9978636418510480.99434014627994
484.814.822293930999264.834166666666670.9975439953799550.997450605215034
494.814.831730945259734.850833333333330.9960620399092380.995502451294179
504.854.85431546015924.869166666666670.9969499490314970.999111005414746
514.924.918014832203384.888751.005986158466561.00040365225896
524.964.939004194083724.908333333333331.006248732241161.00425102006219
534.954.946355162124534.927916666666671.003741641083871.00073687346662
544.964.949410700208424.946251.000639009392661.00213950719247
554.974.95905527926634.964583333333330.9988865019084461.00220701728804
5654.96807829388774.982083333333330.9971889190708781.00642536293189
5755.00044409879835.001250.9998388600446480.99991118812859
585.015.018563937638045.023333333333330.9990505516200470.99829354816548
595.015.034637849655975.045416666666670.9978636418510480.995106331300938
605.025.055054196587925.06750.9975439953799550.993065515180513
615.045.069540757288065.089583333333330.9960620399092380.994172892831448
625.045.096906614423535.11250.9969499490314970.988835068262289
635.195.169092210920665.138333333333331.005986158466561.00404476999562
645.225.199371053551125.167083333333331.006248732241161.00396758497065
655.225.216528953849615.197083333333331.003741641083871.00066539382434
665.225.231257354520695.227916666666671.000639009392660.997848059508875
675.245.252894391911045.258750.9988865019084460.997545278669433
685.285.275960372650845.290833333333330.9971889190708781.00076566673436
695.345.319975934487575.320833333333330.9998388600446481.00376393911533
705.365.342839095851385.347916666666670.9990505516200471.00321194478081
715.385.364348627984265.375833333333330.9978636418510481.00291766495826
725.395.391309651697255.404583333333330.9975439953799550.999757080972554
735.415.411937083506865.433333333333330.9960620399092380.9996420720572
745.445.443346721711975.460.9969499490314970.999385172048912
755.515.515738274692265.482916666666671.005986158466560.998959654282622
765.555.538141460072315.503751.006248732241161.00214124901164
775.565.545254341304575.524583333333331.003741641083871.00265914920901
785.575.548960240002865.545416666666671.000639009392661.00379165809217
795.585.559219585829635.565416666666670.9988865019084461.00373800923844
805.58NANA0.997188919070878NA
815.59NANA0.999838860044648NA
825.61NANA0.999050551620047NA
835.63NANA0.997863641851048NA
845.64NANA0.997543995379955NA
855.64NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb/18zc01211040719.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb/18zc01211040719.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb/2bqir1211040719.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb/2bqir1211040719.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb/307ew1211040719.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb/307ew1211040719.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb/4o2na1211040719.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/17/t1211040769ouqmrsqwy0iz3xb/4o2na1211040719.ps (open in new window)


 
Parameters (Session):
par1 = multiplicative ; par2 = 12 ;
 
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