Home » date » 2010 » Aug » 19 »

Omzet product Y

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Thu, 19 Aug 2010 12:59:20 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef.htm/, Retrieved Thu, 19 Aug 2010 15:00:35 +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/2010/Aug/19/t1282222816bd7q93m45fxc6ef.htm/},
    year = {2010},
}
@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 = {2010},
    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:
Philippe De Vocht
 
Dataseries X:
» Textbox « » Textfile « » CSV «
73 72 71 69 89 88 73 63 64 64 65 67 69 71 70 72 88 83 76 70 75 71 75 81 87 90 80 85 105 104 98 94 107 112 121 118 120 122 109 112 132 127 116 113 123 125 137 127 123 128 114 120 143 135 119 117 132 139 158 141 139 150 142 149 166 150 139 140 158 169 186 177 175 187 176 185 204 188 171 171 182 185 200 192 185 195 190 195 213 194 171 171 186 182 193 185 172 185 179 182 193 173 155 164 188 186 200 185 173 190 190 193 195 178 163 165 188 182 200 177
 
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
173NANA0.989217697902438NA
272NANA1.03521490179771NA
371NANA0.967627649778817NA
469NANA0.993183284417102NA
589NANA1.11226999674049NA
688NANA1.02596191448900NA
77366.984455443246671.33333333333330.9390344221015881.08980508264115
86364.309723293393371.1250.9041788863745990.97963413265801
96469.804373562940271.04166666666670.9825835574842030.916847995810654
106470.163922122776871.1250.9864874815153150.912149692658418
116575.147202352010671.20833333333331.055314719981420.864968993729424
126771.591671044653470.95833333333331.008925487417310.935863055329586
136970.110804338835370.8750.9892176979024380.98415644565327
147173.802195707328671.29166666666671.035214901797710.962030998123131
157069.709508602815672.04166666666670.9676276497788171.00416717034744
167272.295466578194972.79166666666670.9931832844171020.995913069073628
178881.75184476042673.51.112269996740491.07642830883981
188376.434162629430474.51.025961914489001.08590186828372
197671.210110342703875.83333333333330.9390344221015881.06726417968241
207069.960841333234677.3750.9041788863745991.00055972263940
217577.214691225633678.58333333333330.9825835574842030.971317748080324
227178.466858425530779.54166666666670.9864874815153150.90484060945785
237585.26063508516680.79166666666671.055314719981420.87965565732748
248183.11023702600182.3751.008925487417310.97460918051117
258783.259156240121884.16666666666670.9892176979024381.04493011854563
269089.114749463086586.08333333333331.035214901797711.00993382736581
278085.554411367943788.41666666666670.9676276497788170.935077440436638
288590.834887887314191.45833333333330.9931832844171020.935763801519162
29105105.75833885674295.08333333333331.112269996740490.99282951240593
30104101.0999969902798.54166666666671.025961914489001.02868450144473
319895.272867409057101.4583333333330.9390344221015881.02862444119829
329494.1853006640207104.1666666666670.9041788863745990.998032594654215
33107104.849853779877106.7083333333330.9825835574842031.02050690718785
34112107.568239130232109.0416666666670.9864874815153151.04119952976456
35121117.447734044599111.2916666666671.055314719981421.03024550438795
36118114.386927135938113.3751.008925487417311.03158641423918
37120113.842470066939115.0833333333330.9892176979024381.05408816173297
38122120.731937922158116.6251.035214901797711.01050312038112
39109114.260698311382118.0833333333330.9676276497788170.95395881183007
40112118.478489303590119.2916666666670.9931832844171020.945319278278527
41132134.028534607229120.51.112269996740490.984864904975842
42127124.697121023517121.5416666666671.025961914489001.01846777982989
43116114.601325930648122.0416666666670.9390344221015881.01220469360187
44113110.686565340357122.4166666666670.9041788863745991.02090077194580
45123120.734954625871122.8750.9825835574842031.01876047728802
46125121.748996677015123.4166666666670.9864874815153151.02670250607165
47137131.078882511026124.2083333333331.055314719981421.04517216942611
48127126.1156859271641251.008925487417311.00701192771014
49123124.105603682677125.4583333333330.9892176979024380.991091428188017
50128130.178273901062125.751.035214901797710.983266993517537
51114122.203308603316126.2916666666670.9676276497788170.932871632551741
52120126.382572942076127.250.9931832844171020.949497998074453
53143143.158417497141128.7083333333331.112269996740490.998893411229949
54135133.546042535985130.1666666666671.025961914489001.01088731224382
55119123.404773637850131.4166666666670.9390344221015880.964306294578386
56117120.2557918878221330.9041788863745990.972926111610002
57132132.730662223491135.0833333333330.9825835574842030.994495151223906
58139135.600925063293137.4583333333330.9864874815153151.02506675330659
59158147.348317777406139.6251.055314719981421.07228913355282
60141142.468686535720141.2083333333331.008925487417310.98969116251836
61139141.128391567414142.6666666666670.9892176979024380.984918757000092
62150149.545419355528144.4583333333331.035214901797711.00303974970568
63142141.757450692597146.50.9676276497788171.00171101629028
64149147.818778830745148.8333333333330.9931832844171021.00799100884609
65166168.230837006999151.251.112269996740490.986739428711834
66150157.912638005098153.9166666666671.025961914489000.949892306878928
67139147.350151401441156.9166666666670.9390344221015880.943331232971103
68140144.630947699670159.9583333333330.9041788863745990.967980935108809
69158160.079237906801162.9166666666670.9825835574842030.987011195617935
70169163.592507351290165.8333333333330.9864874815153151.03305464740569
71186178.260244783529168.9166666666671.055314719981421.04341829119482
72177173.619260959729172.0833333333331.008925487417311.01947214278867
73175173.1130971329271750.9892176979024381.01089982732863
74187183.880046931819177.6251.035214901797711.01696732799583
75176174.092341322705179.9166666666670.9676276497788171.01095774037388
76185180.345531395405181.5833333333330.9931832844171021.02580861620790
77204203.360031070720182.8333333333331.112269996740491.00314697497788
78188188.819740679079184.0416666666671.025961914489000.995658607113158
79171173.799620957302185.0833333333330.9390344221015880.983891673975572
80171168.026576384613185.8333333333330.9041788863745991.01769615068857
81182183.497479360175186.750.9825835574842030.991839237435869
82185185.213024654500187.750.9864874815153150.99884983977289
83200198.970796163164188.5416666666671.055314719981421.00517263767690
84192190.855071369775189.1666666666671.008925487417311.00599894266371
85185187.374318944353189.4166666666670.9892176979024380.987328471917977
86195196.086955982183189.4166666666671.035214901797710.994456765485807
87190183.446075270567189.5833333333330.9676276497788171.03572670998693
88195188.332380307593189.6250.9931832844171021.03540346955482
89213210.450752299940189.2083333333331.112269996740491.01211327435136
90194193.522066120487188.6251.025961914489001.00246966089756
91171176.342839183827187.7916666666670.9390344221015880.969701978211557
92171168.930755270988186.8333333333330.9041788863745991.01224907048863
93186182.7196007105185.9583333333330.9825835574842031.01795318770807
94182182.45908043527184.9583333333330.9864874815153150.997483926619739
95193193.738194009923183.5833333333331.055314719981420.99618973422512
96185183.498323024024181.8751.008925487417311.00818360054320
97172178.388924855073180.3333333333330.9892176979024380.964185417562983
98185185.691673009965179.3751.035214901797710.996275153329425
99179173.366620585371179.1666666666670.9676276497788171.03249402564120
100182178.193634279168179.4166666666670.9931832844171021.02136084005598
101193200.069565663696179.8751.112269996740490.964664462382153
102173184.844138260435180.1666666666671.025961914489000.935923646960625
103155169.221828149557180.2083333333330.9390344221015880.915957484296955
104164163.166614870350180.4583333333330.9041788863745991.00510757136386
105188177.970446849326181.1250.9825835574842031.05635516080468
106186179.581825280850182.0416666666670.9864874815153151.03573955609991
107200192.682879289942182.5833333333331.055314719981421.03797493963669
108185184.507248511441182.8751.008925487417311.00267063485329
109173181.439012756939183.4166666666670.9892176979024380.953488433227732
110190190.263872159571183.7916666666671.035214901797710.998613125252965
111190177.882216284339183.8333333333330.9676276497788171.06812251369913
112193182.414663237941183.6666666666670.9931832844171021.05802897954673
113195204.10154440188183.51.112269996740490.955406783282546
114178187.922024003902183.1666666666671.025961914489000.947201377504876
115163NANA0.939034422101588NA
116165NANA0.904178886374599NA
117188NANA0.982583557484203NA
118182NANA0.986487481515315NA
119200NANA1.05531471998142NA
120177NANA1.00892548741731NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef/1gjk41282222758.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef/1gjk41282222758.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef/2gjk41282222758.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef/2gjk41282222758.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef/3qs2o1282222758.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef/3qs2o1282222758.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef/412jr1282222758.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t1282222816bd7q93m45fxc6ef/412jr1282222758.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