Home » date » 2010 » Aug » 17 »

Tijdreeks B Stap 24 aantal stuks product Z

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 17 Aug 2010 08:30:10 +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/17/t1282033792cld6vp9njee44kp.htm/, Retrieved Tue, 17 Aug 2010 10:29:52 +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/17/t1282033792cld6vp9njee44kp.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
93 92 91 89 87 86 87 89 90 90 91 93 93 87 89 92 98 92 92 87 92 98 101 102 102 90 87 92 105 90 88 83 98 109 118 118 115 107 101 111 128 115 111 105 120 132 135 142 139 127 113 130 143 139 137 134 139 157 152 153 147 132 117 123 139 134 134 128 118 144 140 151 144 135 122 124 146 146 147 148 132 161 159 173
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time10 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
193NANA7.12094907407408NA
292NANA-4.03877314814816NA
391NANA-12.9068287037037NA
489NANA-6.52488425925925NA
587NANA7.00983796296296NA
686NANA-1.18460648148148NA
78785.725115740740789.8333333333333-4.108217592592591.27488425925927
88981.030671296296389.625-8.59432870370377.96932870370372
99085.391782407407489.3333333333333-3.941550925925934.60821759259258
109097.141782407407489.3757.76678240740741-7.1417824074074
119198.239004629629689.95833333333338.2806712962963-7.23900462962965
1293101.78761574074190.666666666666711.1209490740741-8.78761574074073
139398.24594907407491.1257.12094907407408-5.24594907407408
148787.211226851851891.25-4.03877314814816-0.211226851851833
158978.343171296296391.25-12.906828703703710.6568287037037
169285.141782407407491.6666666666666-6.524884259259256.85821759259261
179899.426504629629692.41666666666677.00983796296296-1.42650462962962
189292.023726851851893.2083333333333-1.18460648148148-0.0237268518518476
199289.850115740740793.9583333333333-4.108217592592592.14988425925927
208785.864004629629694.4583333333333-8.59432870370371.13599537037037
219290.55844907407494.5-3.941550925925931.44155092592592
2298102.18344907407494.41666666666677.76678240740741-4.18344907407406
23101102.98900462963094.70833333333338.2806712962963-1.98900462962963
24102106.03761574074194.916666666666711.1209490740741-4.03761574074075
25102101.78761574074194.66666666666677.120949074074080.212384259259252
269090.294560185185294.3333333333333-4.03877314814816-0.294560185185190
278781.50983796296394.4166666666667-12.90682870370375.49016203703702
289288.600115740740795.125-6.524884259259253.39988425925925
29105103.30150462963096.29166666666677.009837962962961.69849537037038
309096.482060185185297.6666666666667-1.18460648148148-6.48206018518518
318894.766782407407498.875-4.10821759259259-6.76678240740739
328391.5306712962963100.125-8.5943287037037-8.53067129629628
339897.4751157407407101.416666666667-3.941550925925930.524884259259267
34109110.558449074074102.7916666666677.76678240740741-1.55844907407406
35118112.822337962963104.5416666666678.28067129629635.17766203703704
36118117.662615740741106.54166666666711.12094907407410.337384259259267
37115115.662615740741108.5416666666677.12094907407408-0.662615740740733
38107106.377893518518110.416666666667-4.038773148148160.622106481481509
3910199.3431712962963112.25-12.90682870370371.65682870370372
40111107.600115740741114.125-6.524884259259253.39988425925927
41128122.801504629630115.7916666666677.009837962962965.19849537037037
42115116.315393518519117.5-1.18460648148148-1.31539351851853
43111115.391782407407119.5-4.10821759259259-4.39178240740742
44105112.739004629630121.333333333333-8.5943287037037-7.73900462962962
45120118.725115740741122.666666666667-3.941550925925931.27488425925927
46132131.725115740741123.9583333333337.766782407407410.274884259259267
47135133.655671296296125.3758.28067129629631.34432870370372
48142138.12094907407412711.12094907407413.87905092592594
49139136.204282407407129.0833333333337.120949074074082.79571759259261
50127127.336226851852131.375-4.03877314814816-0.336226851851848
51113120.468171296296133.375-12.9068287037037-7.4681712962963
52130128.683449074074135.208333333333-6.524884259259251.31655092592592
53143143.968171296296136.9583333333337.00983796296296-0.968171296296276
54139136.940393518518138.125-1.184606481481482.05960648148152
55137134.808449074074138.916666666667-4.108217592592592.19155092592592
56134130.864004629630139.458333333333-8.59432870370373.13599537037038
57139135.891782407407139.833333333333-3.941550925925933.10821759259258
58157147.475115740741139.7083333333337.766782407407419.52488425925927
59152147.530671296296139.258.28067129629634.46932870370370
60153149.995949074074138.87511.12094907407413.00405092592595
61147145.662615740741138.5416666666677.120949074074081.33738425925927
62132134.127893518519138.166666666667-4.03877314814816-2.12789351851853
63117124.134837962963137.041666666667-12.9068287037037-7.13483796296296
64123129.100115740741135.625-6.52488425925925-6.10011574074073
65139141.593171296296134.5833333333337.00983796296296-2.59317129629630
66134132.815393518519134-1.184606481481481.18460648148150
67134129.683449074074133.791666666667-4.108217592592594.31655092592592
68128125.197337962963133.791666666667-8.59432870370372.80266203703701
69118130.183449074074134.125-3.94155092592593-12.1834490740741
70144142.141782407407134.3757.766782407407411.85821759259258
71140142.989004629630134.7083333333338.2806712962963-2.98900462962962
72151146.620949074074135.511.12094907407414.37905092592592
73144143.662615740741136.5416666666677.120949074074080.337384259259267
74135133.877893518519137.916666666667-4.038773148148161.12210648148147
75122126.426504629630139.333333333333-12.9068287037037-4.42650462962965
76124134.100115740741140.625-6.52488425925925-10.1001157407408
77146149.134837962963142.1257.00983796296296-3.13483796296299
78146142.648726851852143.833333333333-1.184606481481483.35127314814815
79147NANA-4.10821759259259NA
80148NANA-8.5943287037037NA
81132NANA-3.94155092592593NA
82161NANA7.76678240740741NA
83159NANA8.2806712962963NA
84173NANA11.1209490740741NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Aug/17/t1282033792cld6vp9njee44kp/1h4q01282033786.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/17/t1282033792cld6vp9njee44kp/1h4q01282033786.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/17/t1282033792cld6vp9njee44kp/2h4q01282033786.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/17/t1282033792cld6vp9njee44kp/2h4q01282033786.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/17/t1282033792cld6vp9njee44kp/3sv731282033786.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/17/t1282033792cld6vp9njee44kp/3sv731282033786.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Aug/17/t1282033792cld6vp9njee44kp/4sv731282033786.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Aug/17/t1282033792cld6vp9njee44kp/4sv731282033786.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