Home » date » 2008 » May » 23 »

Klassieke Decompositie- Bruin brood - Nhu Truong

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Fri, 23 May 2008 06:33:46 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x.htm/, Retrieved Fri, 23 May 2008 14:35:05 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,44 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,48 1,57 1,58 1,58 1,58 1,58 1,59 1,6 1,6 1,61 1,61 1,61 1,62 1,63 1,63 1,64 1,64 1,64 1,64 1,64 1,65 1,65 1,65 1,65
 
Text written by user:
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
11.44NANA1.00102301380294NA
21.48NANA0.99975803105593NA
31.48NANA0.997108398665167NA
41.48NANA0.994349527044258NA
51.48NANA0.99162114019264NA
61.48NANA0.988922735614117NA
71.481.457815754284641.478333333333330.9861211415679641.0152174550523
81.481.498404285872981.481.012435328292550.987717409749494
91.481.498294964025441.481.012361462179350.98778947772988
101.481.493221712392631.481.008933589454480.991145512898118
111.481.488017114963361.481.005416969569840.994612215892722
121.481.482884020589921.481.001948662560750.998055127339785
131.481.481514060428361.481.001023013802940.998978031684749
141.481.479641885962781.480.999758031055931.00024202750721
151.481.475720430024451.480.9971083986651671.00289998694094
161.481.47163730002551.480.9943495270442581.00568258223297
171.481.467599287485111.480.991621140192641.00844965830976
181.481.463605648708891.480.9889227356141171.01120134464196
191.481.459459289520591.480.9861211415679641.01407419215247
201.481.498404285872981.481.012435328292550.987717409749494
211.481.498294964025441.481.012361462179350.98778947772988
221.481.493221712392631.481.008933589454480.991145512898118
231.481.488017114963361.481.005416969569840.994612215892722
241.481.482884020589921.481.001948662560750.998055127339785
251.481.481514060428361.481.001023013802940.998978031684749
261.481.483390978579241.483750.999758031055930.997714035862288
271.481.487353361342211.491666666666670.9971083986651670.995056076428555
281.481.491524290566391.50.9943495270442580.992273481136529
291.481.495695219790571.508333333333330.991621140192640.98950640505974
301.481.499866149014741.516666666666670.9889227356141170.986754718727538
311.481.504245624700131.525416666666670.9861211415679640.983881871217033
321.571.554088228929071.5351.012435328292551.01023865362000
331.581.56409845906711.5451.012361462179351.01016658563962
341.581.569312120597321.555416666666671.008933589454481.00681055047138
351.581.574734328588761.566251.005416969569841.00334384747678
361.581.580156536580191.577083333333331.001948662560750.999900936029713
371.591.589958220257011.588333333333331.001023013802941.00002627725839
381.61.596280322919301.596666666666670.999758031055931.00233021545608
391.61.596619823362601.601250.9971083986651671.00211708296987
401.611.596759615511901.605833333333330.9943495270442581.00829203366585
411.611.597336386660311.610833333333330.991621140192641.00792795646894
421.611.597934320296481.615833333333330.9889227356141171.00755079827141
431.621.597927133149091.620416666666670.9861211415679641.01381343766747
441.631.644363712368491.624166666666671.012435328292550.99126488120575
451.631.648040096972801.627916666666671.012361462179350.989053605548833
461.641.646243306793231.631666666666671.008933589454480.99620754309678
471.641.643856745246681.6351.005416969569840.99765384346426
481.641.641525892162041.638333333333331.001948662560750.999070442830466
491.64NANANANA
501.64NANANANA
511.65NANANANA
521.65NANANANA
531.65NANANANA
541.65NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x/150sr1211546020.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x/150sr1211546020.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x/2vt431211546020.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x/2vt431211546020.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x/3x3w71211546020.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x/3x3w71211546020.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x/4mbxl1211546020.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t12115461005nyis6sm1waqz1x/4mbxl1211546020.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