Home » date » 2010 » Jul » 24 »

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: Sat, 24 Jul 2010 09:36:49 +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/Jul/24/t127996422859o54ky6odu4jvt.htm/, Retrieved Sat, 24 Jul 2010 11:37:13 +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/Jul/24/t127996422859o54ky6odu4jvt.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:
Febiri Lordina
 
Dataseries X:
» Textbox « » Textfile « » CSV «
297 296 295 293 291 290 291 293 294 294 295 297 302 297 301 298 295 287 290 288 288 287 274 282 296 292 298 296 292 296 293 295 294 291 279 284 299 296 299 299 291 298 288 284 277 270 251 257 269 271 268 268 258 261 255 251 239 229 210 218 226 227 222 215 203 205 194 190 182 179 158 163 165 169 163 154 142 146 133 131 128 120 88 95
 
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
1297NANA3.53009259259259NA
2296NANA4.91898148148149NA
3295NANA7.0300925925926NA
4293NANA5.89120370370371NA
5291NANA0.370370370370355NA
6290NANA5.21064814814814NA
7291294.960648148148294.0416666666670.918981481481498-3.96064814814815
8293295.342592592593294.2916666666671.05092592592594-2.34259259259255
9294292.932870370370294.583333333333-1.650462962962971.06712962962962
10294291.273148148148295.041666666667-3.768518518518512.72685185185190
11295279.814814814815295.416666666667-15.601851851851915.1851851851852
12297287.557870370370295.458333333333-7.900462962962969.44212962962968
13302298.821759259259295.2916666666673.530092592592593.17824074074070
14297299.960648148148295.0416666666674.91898148148149-2.96064814814810
15301301.613425925926294.5833333333337.0300925925926-0.613425925925924
16298299.932870370370294.0416666666675.89120370370371-1.93287037037038
17295293.245370370370292.8750.3703703703703551.75462962962956
18287296.585648148148291.3755.21064814814814-9.58564814814815
19290291.418981481481290.50.918981481481498-1.41898148148147
20288291.092592592593290.0416666666671.05092592592594-3.09259259259255
21288288.057870370370289.708333333333-1.65046296296297-0.057870370370324
22287285.731481481481289.5-3.768518518518511.26851851851853
23274273.689814814815289.291666666667-15.60185185185190.310185185185162
24282281.641203703704289.541666666667-7.900462962962960.358796296296362
25296293.571759259259290.0416666666673.530092592592592.42824074074076
26292295.377314814815290.4583333333334.91898148148149-3.37731481481484
27298298.0300925925932917.0300925925926-0.0300925925926094
28296297.307870370370291.4166666666675.89120370370371-1.30787037037032
29292292.162037037037291.7916666666670.370370370370355-0.162037037037067
30296297.293981481481292.0833333333335.21064814814814-1.29398148148147
31293293.210648148148292.2916666666670.918981481481498-0.210648148148152
32295293.634259259259292.5833333333331.050925925925941.36574074074076
33294291.141203703704292.791666666667-1.650462962962972.85879629629630
34291289.189814814815292.958333333333-3.768518518518511.81018518518522
35279277.439814814815293.041666666667-15.60185185185191.56018518518516
36284285.182870370370293.083333333333-7.90046296296296-1.18287037037032
37299296.488425925926292.9583333333333.530092592592592.51157407407413
38296297.210648148148292.2916666666674.91898148148149-1.21064814814810
39299298.155092592593291.1257.03009259259260.844907407407447
40299295.432870370370289.5416666666675.891203703703713.56712962962968
41291287.870370370370287.50.3703703703703553.12962962962968
42298290.418981481481285.2083333333335.210648148148147.58101851851853
43288283.752314814815282.8333333333330.9189814814814984.24768518518516
44284281.592592592593280.5416666666671.050925925925942.40740740740745
45277276.557870370370278.208333333333-1.650462962962970.442129629629676
46270271.856481481481275.625-3.76851851851851-1.85648148148141
47251257.356481481481272.958333333333-15.6018518518519-6.35648148148147
48257262.141203703704270.041666666667-7.90046296296296-5.1412037037037
49269270.655092592593267.1253.53009259259259-1.65509259259261
50271269.293981481481264.3754.918981481481491.70601851851859
51268268.446759259259261.4166666666677.0300925925926-0.446759259259238
52268264.016203703704258.1255.891203703703713.98379629629630
53258255.078703703704254.7083333333330.3703703703703552.92129629629628
54261256.585648148148251.3755.210648148148144.41435185185182
55255248.877314814815247.9583333333330.9189814814814986.12268518518516
56251245.384259259259244.3333333333331.050925925925945.61574074074076
57239238.932870370370240.583333333333-1.650462962962970.0671296296296475
58229232.689814814815236.458333333333-3.76851851851851-3.68981481481481
59210216.356481481481231.958333333333-15.6018518518519-6.35648148148144
60218219.432870370370227.333333333333-7.90046296296296-1.43287037037035
61226225.988425925926222.4583333333333.530092592592590.0115740740741046
62227222.293981481481217.3754.918981481481494.7060185185185
63222219.488425925926212.4583333333337.03009259259262.51157407407408
64215213.8912037037042085.891203703703711.10879629629633
65203204.120370370370203.750.370370370370355-1.12037037037032
66205204.502314814815199.2916666666675.210648148148140.49768518518519
67194195.377314814815194.4583333333330.918981481481498-1.37731481481478
68190190.550925925926189.51.05092592592594-0.550925925925924
69182182.974537037037184.625-1.65046296296297-0.97453703703701
70179175.856481481481179.625-3.768518518518513.14351851851850
71158158.939814814815174.541666666667-15.6018518518519-0.93981481481481
72163161.641203703704169.541666666667-7.900462962962961.35879629629630
73165168.071759259259164.5416666666673.53009259259259-3.07175925925927
74169164.460648148148159.5416666666674.918981481481494.53935185185188
75163161.863425925926154.8333333333337.03009259259261.13657407407408
76154156.016203703704150.1255.89120370370371-2.01620370370367
77142145.120370370370144.750.370370370370355-3.12037037037035
78146144.2106481481481395.210648148148141.78935185185188
79133NANA0.918981481481498NA
80131NANA1.05092592592594NA
81128NANA-1.65046296296297NA
82120NANA-3.76851851851851NA
8388NANA-15.6018518518519NA
8495NANA-7.90046296296296NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jul/24/t127996422859o54ky6odu4jvt/1rb9x1279964207.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/24/t127996422859o54ky6odu4jvt/1rb9x1279964207.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jul/24/t127996422859o54ky6odu4jvt/2kk8i1279964207.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/24/t127996422859o54ky6odu4jvt/2kk8i1279964207.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jul/24/t127996422859o54ky6odu4jvt/3kk8i1279964207.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/24/t127996422859o54ky6odu4jvt/3kk8i1279964207.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jul/24/t127996422859o54ky6odu4jvt/4cbql1279964207.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jul/24/t127996422859o54ky6odu4jvt/4cbql1279964207.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = additive ; par2 = 12 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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