Home » date » 2009 » Jun » 01 »

Ken soltvedt Sigaretten O9

*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 11:57:49 -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/t1243879117a43nc9sy3245lhm.htm/, Retrieved Mon, 01 Jun 2009 19:58:37 +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/t1243879117a43nc9sy3245lhm.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 «
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
 
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
13.42NANA-0.041236111111111NA
23.42NANA0.000930555555555657NA
33.43NANA0.0140972222222223NA
43.47NANA0.00368055555555555NA
53.51NANA0.000430555555555579NA
63.52NANA0.0190972222222221NA
73.523.522180555555563.4950.0271805555555557-0.00218055555555630
83.523.519347222222223.503333333333330.01601388888888880.000652777777777391
93.523.526680555555563.513750.0129305555555556-0.00668055555555647
103.523.523680555555563.52541666666667-0.00173611111111107-0.00368055555555635
113.523.517180555555563.535-0.01781944444444460.0028194444444436
123.523.509347222222223.54291666666667-0.03356944444444460.0106527777777776
133.523.509180555555563.55041666666667-0.0412361111111110.0108194444444440
143.523.559680555555563.558750.000930555555555657-0.0396805555555559
153.583.584097222222223.570.0140972222222223-0.00409722222222264
163.63.587430555555563.583750.003680555555555550.0125694444444444
173.613.598347222222223.597916666666670.0004305555555555790.0116527777777780
183.613.631180555555563.612083333333330.0190972222222221-0.0211805555555555
193.613.653430555555563.626250.0271805555555557-0.0434305555555556
203.633.656430555555563.640416666666670.0160138888888888-0.0264305555555553
213.683.665013888888893.652083333333330.01293055555555560.0149861111111109
223.693.658680555555563.66041666666667-0.001736111111111070.0313194444444442
233.693.649680555555563.6675-0.01781944444444460.0403194444444441
243.693.644347222222223.67791666666667-0.03356944444444460.0456527777777773
253.693.651263888888893.6925-0.0412361111111110.0387361111111102
263.693.707597222222223.706666666666670.000930555555555657-0.0175972222222232
273.693.732430555555563.718333333333330.0140972222222223-0.0424305555555566
283.693.731597222222223.727916666666670.00368055555555555-0.0415972222222227
293.693.737513888888893.737083333333330.000430555555555579-0.0475138888888895
303.783.765347222222223.746250.01909722222222210.0146527777777767
313.793.783013888888893.755833333333330.02718055555555570.00698611111111047
323.793.787680555555563.771666666666670.01601388888888880.00231944444444432
333.83.807930555555563.7950.0129305555555556-0.00793055555555622
343.83.818680555555563.82041666666667-0.00173611111111107-0.0186805555555556
353.83.830930555555563.84875-0.0178194444444446-0.0309305555555555
363.83.846430555555553.88-0.0335694444444446-0.0464305555555544
373.813.871263888888893.9125-0.041236111111111-0.0612638888888877
383.953.947180555555553.946250.0009305555555556570.00281944444444582
393.993.994097222222223.980.0140972222222223-0.00409722222222086
4044.017013888888894.013333333333330.00368055555555555-0.0170138888888882
414.064.047097222222224.046666666666670.0004305555555555790.0129027777777777
424.164.099097222222224.080.01909722222222210.0609027777777778
434.194.141347222222224.114166666666670.02718055555555570.0486527777777779
444.24.165597222222224.149583333333330.01601388888888880.0344027777777773
454.24.198763888888894.185833333333330.01293055555555560.00123611111111188
464.24.220763888888894.2225-0.00173611111111107-0.0207638888888892
474.24.238847222222224.25666666666667-0.0178194444444446-0.0388472222222225
484.24.250597222222224.28416666666667-0.0335694444444446-0.0505972222222226
494.234.265013888888894.30625-0.041236111111111-0.0350138888888889
504.384.327597222222224.326666666666670.0009305555555556570.0524027777777771
514.434.361180555555564.347083333333330.01409722222222230.0688194444444443
524.444.371597222222224.367916666666670.003680555555555550.068402777777778
534.444.389180555555564.388750.0004305555555555790.0508194444444445
544.444.428680555555564.409583333333330.01909722222222210.0113194444444442
554.444.456347222222224.429166666666670.0271805555555557-0.0163472222222225
564.444.457263888888894.441250.0160138888888888-0.0172638888888894
574.454.457930555555564.4450.0129305555555556-0.00793055555555533
584.454.444513888888894.44625-0.001736111111111070.00548611111111086
594.454.429680555555564.4475-0.01781944444444460.0203194444444437
604.454.415597222222224.44916666666667-0.03356944444444460.0344027777777773
614.454.409597222222224.45083333333333-0.0412361111111110.0404027777777767
624.454.454263888888894.453333333333330.000930555555555657-0.00426388888888951
634.454.474513888888894.460416666666670.0140972222222223-0.0245138888888903
644.454.478680555555564.4750.00368055555555555-0.0286805555555567
654.464.494180555555564.493750.000430555555555579-0.0341805555555572
664.464.532013888888894.512916666666670.0190972222222221-0.0720138888888897
674.46NANA0.0271805555555557NA
684.48NANA0.0160138888888888NA
694.58NANA0.0129305555555556NA
704.67NANA-0.00173611111111107NA
714.68NANA-0.0178194444444446NA
724.68NANA-0.0335694444444446NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879117a43nc9sy3245lhm/141gi1243879065.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879117a43nc9sy3245lhm/141gi1243879065.ps (open in new window)


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879117a43nc9sy3245lhm/3wxbp1243879065.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879117a43nc9sy3245lhm/3wxbp1243879065.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879117a43nc9sy3245lhm/4zpmo1243879065.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/01/t1243879117a43nc9sy3245lhm/4zpmo1243879065.ps (open in new window)


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