Home » date » 2009 » Jun » 01 »

Eigen cijfers Classical Decomposition 2 Filip Bosschaerts

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 01 Jun 2009 13:34:02 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g.htm/, Retrieved Mon, 01 Jun 2009 21:34:39 +0200
 
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/2009/Jun/01/t1243884875tkjdtz3wu2icc2g.htm/},
    year = {2009},
}
@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 = {2009},
    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:
Filip Bosschaerts
 
Dataseries X:
» Textbox « » Textfile « » CSV «
528222 516141 501866 506174 517945 533590 528379 477580 469357 490243 492622 507561 516922 514258 509846 527070 541657 564591 555362 498662 511038 525919 531673 548854 560576 557274 565742 587625 619916 625809 619567 572942 572775 574205 579799 590072 593408 597141 595404 612117 628232 628884 620735 569028 567456 573100 584428 589379 590865 595454 594167 611324 612613 610763 593530 542722 536662 543599 555332 560854 562325 554788 547344 565464 577992 579714 569323 506971 500857 509127 509933 517009 519164 512238 509239 518585 522975 525192 516847 455626
 
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'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1528222NANA1.00041753967733NA
2516141NANA0.99718580421853NA
3501866NANA0.993794120017889NA
4506174NANA1.02524652617749NA
5517945NANA1.05180812949859NA
6533590NANA1.06231473857156NA
7528379527555.231730297505335.8333333331.043969568218421.00156148251435
8477580478917.460144371504786.5416666670.9487524341736940.997207326406585
9469357478984.659602032505040.5833333330.9484082574922420.979899858149881
10490243486982.345611273506243.750.9619523117298211.00669563161398
11492622495205.402294754508102.4166666670.974617293780020.994783170210214
12507561506060.860639912510382.1250.9915332764444131.00296434574725
13516922513012.238563647512798.1251.000417539677331.00762118550485
14514258513352.08299987514800.8333333330.997185804218531.00176470892031
15509846514204.936995087517415.9583333330.9937941200178890.991522957713008
16527070533783.497016944520639.1666666671.025246526177490.987422808958196
17541657550887.444122581523752.7916666671.051808129498590.98324441004953
18564591559946.585595324527100.4583333331.062314738571561.00829438829373
19555362553971.92468196530639.9166666671.043969568218421.00250928838828
20498662506872.094835136534251.1666666670.9487524341736940.98380243276599
21511038510596.924606742538372.50.9484082574922421.00086384263595
22525919522556.183807315543224.6250.9619523117298211.00643531986969
23531673535073.219141282549008.5416666670.974617293780020.993645319893344
24548854550122.575064662554820.0833333330.9915332764444130.997694013803173
25560576560279.883110193560046.0416666671.000417539677331.00052851601268
26557274564223.932296163565816.250.997185804218530.987682315658112
27565742567937.066211508571483.6250.9937941200178890.996135018574944
28587625590611.630404805576067.9166666671.025246526177490.994943156803807
29619916610138.206450867580085.0833333331.051808129498591.01602553887915
30625809620187.577317301583807.751.062314738571561.00906406849846
31619567612698.605795343586893.1666666671.043969568218421.01121006990989
32572942559690.210192074589922.2916666670.9487524341736941.02367700839966
33572775562234.750934379592819.3333333330.9484082574922421.01874706081064
34574205572434.493366857595075.750.9619523117298211.00309294190629
35579799581303.418899713596442.750.974617293780020.99741199027771
36590072591863.440600348596917.3750.9915332764444130.996973219703296
37593408597343.477172352597094.1666666671.000417539677330.993411701436867
38597141595299.732105927596979.750.997185804218531.00309300978107
39595404592892.64444016596595.0416666670.9937941200178891.00423576777919
40612117611382.569683293596327.3751.025246526177491.00120126145743
41628232627376.421361235596474.2083333331.051808129498591.00136374050671
42628884633817.562307429596638.2083333331.062314738571560.992216116117912
43620735622731.370839582596503.3751.043969568218420.996794170114008
44569028565766.811407551596327.1250.9487524341736941.00576419211360
45567456565446.021777237596205.2916666670.9484082574922421.00355467744993
46573100573439.693451268596120.7083333330.9619523117298210.999407621315462
47584428580323.075729332595436.8750.974617293780021.00707351549912
48589379589001.545053437594031.0416666670.9915332764444131.00064083863571
49590865592389.701304319592142.4583333331.000417539677330.997426185328743
50595454588252.703126332589912.8333333330.997185804218531.01224184238406
51594167583887.503245884587533.6666666670.9937941200178891.0176052693318
52611324599791.13245833585021.3751.025246526177491.01922813945982
53612613612762.204781933582579.8333333331.051808129498590.99975650459384
54610763616332.658446595580178.9583333331.062314738571560.990963226805743
55593530603206.921478565577801.251.043969568218420.983957542372284
56542722545454.535699460574917.6666666670.9487524341736940.994990351128062
57536662541799.358693183571272.2916666670.9484082574922420.990517968301819
58543599545821.842174774567410.50.9619523117298210.99592753165407
59555332549739.828704838564057.1250.974617293780021.01017239611024
60560854556568.326325395561320.8750.9915332764444131.00770017529186
61562325559251.954088175559018.5416666671.000417539677331.00549492208183
62554788554954.134609556556520.2916666670.997185804218530.99970063362142
63547344550103.59636014553538.7916666670.9937941200178890.994983496966027
64565464564511.587839063550610.5833333331.025246526177491.00168714368572
65577992575636.314108328547282.6251.051808129498591.00409231633574
66579714577436.181346254543564.1251.062314738571561.00394471064912
67569323563679.754198091539938.8751.043969568218421.01001143958051
68506971508880.050299361536367.5833333330.9487524341736940.996248525957662
69500857505508.200584156533006.9583333330.9484082574922420.99079896116664
70509127509321.002600995529465.9583333330.9619523117298210.999619095619453
71509933511888.779302519525220.2916666670.974617293780020.996179288584556
72517009516247.914835988520656.1666666670.9915332764444131.00147426293093
73519164NA516197.916666667NANA
74512238NA511872.041666667NANA
75509239NANANANA
76518585NANANANA
77522975NANANANA
78525192NANANANA
79516847NANANANA
80455626NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g/1o4i61243884840.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g/1o4i61243884840.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g/2cbni1243884840.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g/2cbni1243884840.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g/30s9z1243884840.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g/30s9z1243884840.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g/4a6581243884840.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243884875tkjdtz3wu2icc2g/4a6581243884840.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