Home » date » 2008 » Jun » 01 »

decomposition sigaretten verbetering

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 01 Jun 2008 06:50:59 -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/Jun/01/t1212324706u1gtrx7gr34sdes.htm/, Retrieved Sun, 01 Jun 2008 12:51:46 +0000
 
User-defined keywords:
Pieter Van den Broeck
 
Dataseries X:
» Textbox « » Textfile « » CSV «
3,42 3,42 3,43 3,47 3,51 3,52 3,52 3,52 3,52 3,52 3,52 3,52 3,52 3,52 3,58 3,6 3,61 3,61 3,61 3,63 3,68 3,69 3,69 3,69 3,69 3,69 3,69 3,69 3,69 3,78 3,79 3,79 3,8 3,8 3,8 3,8 3,81 3,95 3,99 4 4,06 4,16 4,19 4,2 4,2 4,2 4,2 4,2 4,23 4,38 4,43 4,44 4,44 4,44 4,44 4,44 4,45 4,45 4,45 4,45 4,45 4,45 4,45 4,45 4,46 4,46 4,46 4,48 4,58 4,67 4,68 4,68
 
Text written by user:
 
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
13.42NANA0.986615395790227NA
23.42NANA0.99937435943366NA
33.43NANA1.00409289527433NA
43.47NANA1.00178715429725NA
53.51NANA1.00133418672964NA
63.52NANA1.00863496353830NA
73.523.516928283141463.4951.006274186878811.00087340901242
83.523.515132354738693.503333333333331.003367941409711.00138476870003
93.523.52523546976453.513751.003268721384420.998514859557778
103.523.523528989643023.525416666666670.9994645520793330.998998450231745
113.523.517612612651983.5350.9950813614291311.00067869535703
123.523.509982711568483.542916666666670.9907042817551851.00285394238510
133.523.502895744803553.550416666666670.9866153957902271.00488289016932
143.523.556523501634543.558750.999374359433660.989730560864352
153.583.584611636129363.571.004092895274330.998713490721595
163.63.590154714212773.583751.001787154297251.00274230125745
173.613.602716959337683.597916666666671.001334186729641.00202154117143
183.613.643273541213963.612083333333331.008634963538300.99086713066215
193.613.64900177016933.626251.006274186878810.989311660386645
203.633.652677376706943.640416666666671.003367941409710.99379157413366
213.683.664020976222683.652083333333331.003268721384421.0043610623086
223.693.658456704173733.660416666666670.9994645520793331.00862202244741
233.693.649460893041343.66750.9950813614291311.01110824534001
243.693.643727789605433.677916666666670.9907042817551851.01269914029434
253.693.643077348955423.69250.9866153957902271.01287994916112
263.693.70434762563413.706666666666670.999374359433660.996126814466651
273.693.733552082261723.718333333333331.004092895274330.988334947175737
283.693.734579028957293.727916666666671.001787154297250.988063171615427
293.693.742069300324233.737083333333331.001334186729640.986085425964795
303.783.778598732155343.746251.008634963538301.00037084325275
313.793.779398133552353.755833333333331.006274186878811.00280517322415
323.793.784369419016963.771666666666671.003367941409711.00148785183464
333.83.807404797653873.7951.003268721384420.998055158816201
343.83.818371032506423.820416666666670.9994645520793330.99518877753104
353.83.829819389800373.848750.9950813614291310.992213891370496
363.83.843932613210123.880.9907042817551850.988570920036647
373.813.860132736029263.91250.9866153957902270.987012691154027
383.953.943781065915083.946250.999374359433661.00157689637964
393.993.996289723191833.981.004092895274330.99842610930951
4044.020505779246294.013333333333331.001787154297250.994899701586765
414.064.052065675632614.046666666666671.001334186729641.00195809372368
424.164.115230651236254.081.008634963538301.01087894034574
434.194.139979717183924.114166666666671.006274186878811.01208225311067
444.24.163558886874724.149583333333331.003367941409711.00875239527419
454.24.199515656261614.185833333333331.003268721384421.00011533323793
464.24.220239071154984.22250.9994645520793330.99520428326127
474.24.235729661816674.256666666666670.9950813614291310.991564697308528
484.24.244342260419514.284166666666670.9907042817551850.989552619063496
494.234.248612548121674.306250.9866153957902270.995619146742412
504.384.323959728482974.326666666666670.999374359433661.01296040551624
514.434.364875490165454.347083333333331.004092895274331.01492013002004
524.444.375722807707534.367916666666671.001787154297251.01468950276724
534.444.394605412009714.388751.001334186729641.01032961636697
544.444.447659924635754.409583333333331.008634963538300.998277762966247
554.444.456956086050754.429166666666671.006274186878810.996195590505408
564.444.456207869785894.441251.003367941409710.996362855984395
574.454.459529466553744.4451.003268721384420.997863122864147
584.454.443869264682734.446250.9994645520793331.00137959398716
594.454.425624354956064.44750.9950813614291311.00550784320785
604.454.407808466909114.449166666666670.9907042817551851.0095719978324
614.454.391260690763004.450833333333330.9866153957902271.01337641132547
624.454.450547147344574.453333333333330.999374359433660.999877060656487
634.454.478672684963214.460416666666671.004092895274330.993597950334822
644.454.482997515480194.4751.001787154297250.992639408037536
654.464.499745501616324.493751.001334186729640.991167166764866
664.464.551885537534714.512916666666671.008634963538300.979813741629261
674.46NANA1.00627418687881NA
684.48NANA1.00336794140971NA
694.58NANA1.00326872138442NA
704.67NANA0.999464552079333NA
714.68NANA0.995081361429131NA
724.68NANA0.990704281755185NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324706u1gtrx7gr34sdes/1jsji1212324654.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324706u1gtrx7gr34sdes/1jsji1212324654.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324706u1gtrx7gr34sdes/2r6lr1212324654.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324706u1gtrx7gr34sdes/2r6lr1212324654.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324706u1gtrx7gr34sdes/36ydg1212324654.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324706u1gtrx7gr34sdes/36ydg1212324654.ps (open in new window)


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