Home » date » 2009 » Jun » 06 »

Vincent Van Roy, decompositie, eigen gegevens VERBETERNG

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 06 Jun 2009 10:13:38 -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/06/t1244304880oyrht9qzfmc4kcw.htm/, Retrieved Sat, 06 Jun 2009 18:14:40 +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/06/t1244304880oyrht9qzfmc4kcw.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
4.73 4.73 4.73 4.73 4.74 4.74 4.74 4.74 4.74 4.76 4.76 4.76 4.76 4.76 4.76 4.77 4.77 4.78 4.78 4.79 4.83 4.84 4.85 4.85 4.86 4.87 4.87 4.9 4.9 4.92 4.92 4.95 4.96 4.95 4.95 4.95 4.96 4.96 4.96 4.96 4.97 4.97 4.97 5.03 5.08 5.1 5.11 5.13 5.13 5.13 5.15 5.15 5.15 5.17 5.17 5.18 5.2 5.22 5.23 5.23 5.26 5.27 5.28 5.31 5.31 5.32 5.33 5.34 5.38 5.39 5.41 5.44 5.44 5.44 5.46 5.47 5.47 5.49 5.49 5.5 5.52 5.59 5.6 5.6
 
Output produced by software:


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


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
14.73NANA1.00120967061451NA
24.73NANA0.999820742199188NA
34.73NANA0.999307128328242NA
44.73NANA0.999749821376349NA
54.74NANA0.997834618605573NA
64.74NANA0.998169282473934NA
74.744.727763165031664.742916666666670.9968050246926111.00258829271712
84.744.739957584178184.745416666666670.998849609450141.00000894856569
94.744.758077963750194.747916666666671.002140159104910.996200574289048
104.764.76246246432874.750833333333331.002447808664170.999482943047396
114.764.763500478655444.753751.002051113048740.999265145732403
124.764.764348785324034.756666666666671.001615021441630.999087223559823
134.764.765758032125074.761.001209670614510.998791790920509
144.764.762896060651384.763750.9998207421991880.999391953841843
154.764.766278624155584.769583333333330.9993071283282420.998682698882991
164.774.775471646774364.776666666666670.9997498213763490.998854218561206
174.774.773391356754414.783750.9978346186055730.99928952886932
184.784.782478574653244.791250.9981692824739340.999481738472103
194.784.783833447670624.799166666666670.9968050246926110.999198666150786
204.794.802385684768824.807916666666670.998849609450140.997420930849411
214.834.827392658088284.817083333333331.002140159104911.00054011390753
224.844.838899109739344.827083333333331.002447808664171.00022750841373
234.854.847839780670384.837916666666671.002051113048741.00044560452229
244.854.856998174807384.849166666666671.001615021441630.998559156385176
254.864.86671334057874.860833333333331.001209670614510.998620559685994
264.874.872459750317384.873333333333330.9998207421991880.99949517277855
274.874.88203169985364.885416666666670.9993071283282420.997535513779241
284.94.89419193806284.895416666666670.9997498213763491.00118672541059
294.94.89354727541154.904166666666670.9978346186055731.00131861903551
304.924.90350660015324.91250.9981692824739341.00336359287174
314.924.905111392341564.920833333333330.9968050246926111.00303532508593
324.954.923080012577384.928750.998849609450141.00546811901368
334.964.946814360381614.936251.002140159104911.00266548098590
344.954.954598294322664.94251.002447808664170.999071913796133
354.954.958065403105744.947916666666671.002051113048740.9983732761773
364.954.960915733281954.952916666666671.001615021441630.99779965355817
374.964.963079771375354.957083333333331.001209670614510.999379463656193
384.964.961610433163474.96250.9998207421991880.999675421280013
394.964.967389183731634.970833333333330.9993071283282420.998512461283317
404.964.980836922582084.982083333333330.9997498213763490.995816582051178
414.974.984183919934844.9950.9978346186055730.99715421417775
424.974.999996297459015.009166666666670.9981692824739340.994000736065693
434.975.007699242799515.023750.9968050246926110.992471743814545
445.035.032121094942355.037916666666670.998849609450140.9995784888912
455.085.063730712277195.052916666666671.002140159104911.00321290539471
465.15.081157330166525.068751.002447808664171.00370834213726
475.115.094594867258635.084166666666671.002051113048741.00302381899695
485.135.108236609352325.11.001615021441631.00426045078018
495.135.122856147977585.116666666666671.001209670614511.00139450568512
505.135.130330183409585.131250.9998207421991880.999935640904624
515.155.138936907427985.14250.9993071283282421.00215279789795
525.155.151210954641645.15250.9997498213763490.99976491845271
535.155.151321218551275.16250.9978346186055730.999743518508123
545.175.162198805861035.171666666666670.9981692824739341.00151121536236
555.175.164696034188595.181250.9968050246926111.00102696572582
565.185.186526597069855.19250.998849609450140.99874162467931
575.25.214886852942185.203751.002140159104910.997145316214526
585.225.228600695357545.215833333333331.002447808664170.998355067472417
595.235.23989227865075.229166666666671.002051113048740.99811212175277
605.235.250549410315495.242083333333331.001615021441630.996086236180329
615.265.261356819079265.2551.001209670614510.999742116125951
625.275.267388943486065.268333333333330.9998207421991881.00049570224298
635.285.278839905393945.28250.9993071283282421.00021976317275
645.315.295758116315635.297083333333330.9997498213763491.00268930026099
655.315.300164882493275.311666666666670.9978346186055731.00185562482013
665.325.318162756247585.327916666666670.9981692824739341.00034546587546
675.335.32709218612815.344166666666670.9968050246926111.00054585386742
685.345.352585344640945.358750.998849609450140.997648735362335
695.385.384833121590385.373333333333331.002140159104910.999102456569916
705.395.400687569178225.38751.002447808664170.998021072494692
715.415.41191105305745.400833333333331.002051113048740.99964688017991
725.445.423328001514175.414583333333331.001615021441631.00307412689794
735.445.434899828652445.428333333333331.001209670614511.00093841128785
745.445.440691205467255.441666666666670.9998207421991880.99987295631361
755.465.450387629090285.454166666666670.9993071283282421.00176361234537
765.475.466965273226335.468333333333330.9997498213763491.00055510262495
775.475.472707118627155.484583333333330.9978346186055730.999505341950799
785.495.489099245871245.499166666666670.9981692824739341.00016409871427
795.49NANA0.996805024692611NA
805.5NANA0.99884960945014NA
815.52NANA1.00214015910491NA
825.59NANA1.00244780866417NA
835.6NANA1.00205111304874NA
845.6NANA1.00161502144163NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244304880oyrht9qzfmc4kcw/1u39e1244304813.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244304880oyrht9qzfmc4kcw/1u39e1244304813.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244304880oyrht9qzfmc4kcw/2i5c61244304813.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244304880oyrht9qzfmc4kcw/2i5c61244304813.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244304880oyrht9qzfmc4kcw/3jfwt1244304813.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244304880oyrht9qzfmc4kcw/3jfwt1244304813.ps (open in new window)


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