Home » date » 2010 » Aug » 19 »

aantal verkochte goederen

*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:01:51 +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/t1282219334hnwnyyoz8c4i2pk.htm/, Retrieved Thu, 19 Aug 2010 14:02:51 +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/t1282219334hnwnyyoz8c4i2pk.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:
Trouillard Olivier
 
Dataseries X:
» Textbox « » Textfile « » CSV «
268 267 266 264 284 283 268 258 259 259 260 262 255 259 258 258 288 289 271 268 274 284 284 279 273 280 276 271 298 297 278 270 280 289 288 293 285 283 275 268 295 290 267 252 268 278 280 278 261 263 259 265 294 285 255 231 246 258 265 260 238 241 239 233 265 255 224 194 210 222 230 225 206 204 207 195 230 221 195 162 182 203 211 206 187 181 189 174 213 201 177 140 165 192 197 196 176 164 177 165 208 195 164 123 147 173 176 170 157 145 148 135 175 168 140 109 129 150 150 152
 
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
1268NANA-5.1929012345679NA
2267NANA-5.9104938271605NA
3266NANA-3.72993827160494NA
4264NANA-9.73456790123457NA
5284NANA24.8348765432099NA
6283NANA18.6311728395062NA
7268260.945987654321265.958333333333-5.012345679012347.05401234567904
8258238.816358024691265.083333333333-26.26697530864219.1836419753087
9259254.038580246914264.416666666667-10.37808641975314.96141975308643
10259268.70987654321263.8333333333334.87654320987654-9.7098765432099
11260273.395061728395263.759.64506172839506-13.3950617283951
12262272.404320987654264.1666666666678.23765432098766-10.4043209876544
13255259.348765432099264.541666666667-5.1929012345679-4.34876543209879
14259259.172839506173265.083333333333-5.9104938271605-0.172839506172863
15258262.395061728395266.125-3.72993827160494-4.39506172839504
16258258.057098765432267.791666666667-9.73456790123457-0.0570987654321016
17288294.668209876543269.83333333333324.8348765432099-6.66820987654319
18289290.172839506173271.54166666666718.6311728395062-1.17283950617286
19271267.987654320988273-5.012345679012343.01234567901236
20268248.358024691358274.625-26.26697530864219.6419753086419
21274265.871913580247276.25-10.37808641975318.12808641975306
22284282.418209876543277.5416666666674.876543209876541.58179012345676
23284288.145061728395278.59.64506172839506-4.14506172839504
24279287.487654320988279.258.23765432098766-8.48765432098764
25273274.682098765432279.875-5.1929012345679-1.6820987654321
26280274.339506172839280.25-5.91049382716055.66049382716051
27276276.853395061728280.583333333333-3.72993827160494-0.853395061728406
28271271.307098765432281.041666666667-9.73456790123457-0.307098765432102
29298306.251543209877281.41666666666724.8348765432099-8.25154320987656
30297300.797839506173282.16666666666718.6311728395062-3.79783950617286
31278278.237654320988283.25-5.01234567901234-0.237654320987644
32270257.608024691358283.875-26.26697530864212.3919753086419
33280273.58024691358283.958333333333-10.37808641975316.41975308641975
34289288.668209876543283.7916666666674.876543209876540.331790123456756
35288293.186728395062283.5416666666679.64506172839506-5.18672839506172
36293291.362654320988283.1258.237654320987661.63734567901236
37285277.182098765432282.375-5.19290123456797.8179012345679
38283275.256172839506281.166666666667-5.91049382716057.74382716049382
39275276.186728395062279.916666666667-3.72993827160494-1.18672839506172
40268269.223765432099278.958333333333-9.73456790123457-1.22376543209873
41295303.001543209877278.16666666666724.8348765432099-8.00154320987656
42290295.839506172839277.20833333333318.6311728395062-5.83950617283949
43267270.570987654321275.583333333333-5.01234567901234-3.57098765432096
44252247.483024691358273.75-26.2669753086424.51697530864197
45268261.871913580247272.25-10.37808641975316.12808641975306
46278276.33487654321271.4583333333334.876543209876541.66512345679013
47280280.936728395062271.2916666666679.64506172839506-0.93672839506172
48278279.279320987654271.0416666666678.23765432098766-1.27932098765427
49261265.140432098765270.333333333333-5.1929012345679-4.14043209876542
50263263.047839506173268.958333333333-5.9104938271605-0.0478395061728065
51259263.436728395062267.166666666667-3.72993827160494-4.43672839506166
52265255.682098765432265.416666666667-9.734567901234579.3179012345679
53294288.793209876543263.95833333333324.83487654320995.20679012345681
54285281.214506172839262.58333333333318.63117283950623.78549382716051
55255255.862654320988260.875-5.01234567901234-0.862654320987644
56231232.733024691358259-26.266975308642-1.73302469135803
57246246.871913580247257.25-10.3780864197531-0.87191358024694
58258259.95987654321255.0833333333334.87654320987654-1.95987654320982
59265262.186728395062252.5416666666679.645061728395062.81327160493828
60260258.320987654321250.0833333333338.237654320987661.67901234567901
61238242.348765432099247.541666666667-5.1929012345679-4.34876543209876
62241238.797839506173244.708333333333-5.91049382716052.20216049382717
63239237.936728395062241.666666666667-3.729938271604941.06327160493828
64233228.932098765432238.666666666667-9.734567901234574.0679012345679
65265260.543209876543235.70833333333324.83487654320994.45679012345681
66255251.422839506173232.79166666666718.63117283950623.57716049382717
67224224.987654320988230-5.01234567901234-0.987654320987644
68194200.858024691358227.125-26.266975308642-6.858024691358
69210213.871913580247224.25-10.3780864197531-3.87191358024691
70222226.20987654321221.3333333333334.87654320987654-4.20987654320984
71230227.936728395062218.2916666666679.645061728395062.06327160493831
72225223.654320987654215.4166666666678.237654320987661.34567901234570
73206207.598765432099212.791666666667-5.1929012345679-1.59876543209876
74204204.339506172839210.25-5.9104938271605-0.339506172839492
75207204.020061728395207.75-3.729938271604942.97993827160496
76195196.057098765432205.791666666667-9.73456790123457-1.05709876543207
77230229.043209876543204.20833333333324.83487654320990.956790123456813
78221221.256172839506202.62518.6311728395062-0.256172839506149
79195196.029320987654201.041666666667-5.01234567901234-1.02932098765433
80162173.024691358025199.291666666667-26.266975308642-11.0246913580247
81182187.205246913580197.583333333333-10.3780864197531-5.20524691358023
82203200.83487654321195.9583333333334.876543209876542.16512345679016
83211204.020061728395194.3759.645061728395066.97993827160496
84206201.070987654321192.8333333333338.237654320987664.92901234567901
85187186.057098765432191.25-5.19290123456790.942901234567927
86181183.672839506173189.583333333333-5.9104938271605-2.67283950617281
87189184.228395061728187.958333333333-3.729938271604944.77160493827162
88174177.057098765432186.791666666667-9.73456790123457-3.0570987654321
89213210.58487654321185.7524.83487654320992.41512345679013
90201203.381172839506184.7518.6311728395062-2.38117283950621
91177178.862654320988183.875-5.01234567901234-1.86265432098767
92140156.441358024691182.708333333333-26.266975308642-16.4413580246914
93165171.121913580247181.5-10.3780864197531-6.12191358024691
94192185.501543209877180.6254.876543209876546.49845679012347
95197189.686728395062180.0416666666679.645061728395067.31327160493828
96196187.820987654321179.5833333333338.237654320987668.17901234567901
97176173.598765432099178.791666666667-5.19290123456792.40123456790124
98164171.631172839506177.541666666667-5.9104938271605-7.63117283950618
99177172.353395061728176.083333333333-3.729938271604944.64660493827159
100165164.807098765432174.541666666667-9.734567901234570.192901234567898
101208197.70987654321172.87524.834876543209910.2901234567901
102195189.547839506173170.91666666666718.63117283950625.45216049382719
103164164.029320987654169.041666666667-5.01234567901234-0.0293209876543301
104123141.191358024691167.458333333333-26.266975308642-18.1913580246914
105147155.080246913580165.458333333333-10.3780864197531-8.08024691358025
106173167.8765432098771634.876543209876545.12345679012344
107176170.020061728395160.3759.645061728395065.97993827160494
108170166.112654320988157.8758.237654320987663.88734567901236
109157150.557098765432155.75-5.19290123456796.44290123456787
110145148.256172839506154.166666666667-5.9104938271605-3.25617283950615
111148149.103395061728152.833333333333-3.72993827160494-1.10339506172838
112135141.390432098765151.125-9.73456790123457-6.39043209876542
113175173.918209876543149.08333333333324.83487654320991.08179012345681
114168165.881172839506147.2518.63117283950622.11882716049385
115140NANA-5.01234567901234NA
116109NANA-26.266975308642NA
117129NANA-10.3780864197531NA
118150NANA4.87654320987654NA
119150NANA9.64506172839506NA
120152NANA8.23765432098766NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/19/t1282219334hnwnyyoz8c4i2pk/1zfy01282219308.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/19/t1282219334hnwnyyoz8c4i2pk/1zfy01282219308.ps (open in new window)


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


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


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