Home » date » 2008 » Jun » 01 »

Multiplicatief decompositiemodel eigen reeks maarten verhaegen 2MAR03

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 01 Jun 2008 06:39:54 -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/Jun/01/t1212324338eybwctri78whnwt.htm/, Retrieved Sun, 01 Jun 2008 12:45:38 +0000
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,63 0,64 0,65 0,65 0,65 0,65 0,65 0,66 0,65 0,66 0,66 0,66 0,66 0,68 0,69 0,7 0,71 0,71 0,7 0,7 0,7 0,7 0,71 0,7 0,7 0,7 0,69 0,7 0,69 0,69 0,69 0,7 0,7 0,71 0,71 0,71 0,72 0,73 0,74 0,74 0,74 0,74 0,75 0,75 0,76 0,76 0,76 0,76 0,76 0,77 0,77 0,78 0,78 0,78 0,78 0,78 0,78 0,78 0,8 0,8 0,8 0,81 0,81 0,81 0,8 0,81 0,81 0,81 0,8 0,82 0,83 0,83
 
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 time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
10.63NANA0.991737646454424NA
20.64NANA1.00220466932951NA
30.65NANA1.00207372041151NA
40.65NANA1.00888561980387NA
50.65NANA1.00516173126243NA
60.65NANA1.00115155945410NA
70.650.6500889842251450.6520833333333330.9969415732526180.999863119930803
80.660.6528414033876680.6550.9967044326529281.01096529199157
90.650.6560490484881560.6583333333333330.9965302002351730.990779578901767
100.660.6600044382702280.6620833333333330.9968600703892680.99999327539336
110.660.669305675461430.6666666666666671.003958513192140.986096523901408
120.660.6701824603591610.6716666666666670.9977902635620260.98480643561799
130.660.6706625834148050.676250.9917376464544240.984101418987005
140.680.6814991751440660.681.002204669329510.997800180544974
150.690.6851679063313710.683751.002073720411511.00705242266016
160.70.693608863615160.68751.008885619803871.00921432340344
170.710.6948180467351550.691251.005161731262431.02185025754035
180.710.6958003338205980.6951.001151559454101.02040767370926
190.70.6961975319880780.6983333333333330.9969415732526181.00546176600348
200.70.698523689884260.7008333333333330.9967044326529281.00211347179361
210.70.699232023831680.7016666666666670.9965302002351731.00109831378161
220.70.6994634827231360.7016666666666670.9968600703892681.00076704115385
230.710.7036075913288280.7008333333333331.003958513192141.00908519002630
240.70.6976216926071170.6991666666666670.9977902635620261.00340916490712
250.70.6921502324213170.6979166666666670.9917376464544241.01134113261975
260.70.6990377568573330.69751.002204669329511.00137652527811
270.690.698946419987030.69751.002073720411510.987200134758262
280.70.704118088821450.6979166666666671.008885619803870.994151423054131
290.690.7019379423315970.6983333333333331.005161731262430.98299288069264
300.690.6995546521685510.698751.001151559454100.986341807407138
310.690.6978591012768330.70.9969415732526180.988738269283222
320.70.6997695704250770.7020833333333330.9967044326529281.00032929350555
330.70.7029690120825620.7054166666666670.9965302002351730.995776468049757
340.710.7069399332510560.7091666666666670.9968600703892681.00432860927076
350.710.7157387566965670.7129166666666671.003958513192140.991982051212298
360.710.7154987681626030.7170833333333330.9977902635620260.992314776199093
370.720.715704001524610.7216666666666670.9917376464544241.00600247932978
380.730.7278511411005560.726251.002204669329511.00295233294021
390.740.732348877334080.7308333333333331.002073720411511.01044737406272
400.740.7419512995640950.7354166666666671.008885619803870.99737004360631
410.740.7434008637461720.7395833333333331.005161731262430.995425262584396
420.740.7446064723439850.743751.001151559454100.99381354780669
430.750.7452138260063320.74750.9969415732526181.00642255125528
440.750.7483589115169070.7508333333333330.9967044326529281.00219291633712
450.760.7511346384272620.753750.9965302002351731.01180262647892
460.760.7542907865945460.7566666666666670.9968600703892681.00756898202513
470.760.763008470026030.761.003958513192140.996057094849907
480.760.7616465678523470.7633333333333330.9977902635620260.997838147085741
490.760.7599189715957030.766250.9917376464544241.00010662768970
500.770.770444839547060.768751.002204669329510.999422619862933
510.770.772431826150540.7708333333333331.002073720411510.996851727145088
520.780.7793641412984890.77251.008885619803871.00081586856235
530.780.7790003417283830.7751.005161731262431.00128325780885
540.780.7792296304417730.7783333333333331.001151559454101.00098862970315
550.780.7792759964257970.7816666666666670.9969415732526181.00092907208425
560.780.7824129796325490.7850.9967044326529280.99691597698995
570.780.7855979745187280.7883333333333330.9965302002351730.992874250315936
580.780.7887655306955080.791250.9968600703892680.988887026176488
590.80.7964737537991010.7933333333333331.003958513192141.00442732253772
600.80.7936590054749610.7954166666666660.9977902635620261.00798957043427
610.80.791323997066760.7979166666666670.9917376464544241.01096390728122
620.810.8021813207424950.8004166666666671.002204669329511.00974677302417
630.810.8041641606302380.80251.002073720411511.00725702494027
640.810.8121529239421140.8051.008885619803870.997349115075934
650.80.8120869153824380.8079166666666671.005161731262430.985116229367215
660.810.8113499096409250.8104166666666671.001151559454100.99833621767269
670.81NANA0.996941573252618NA
680.81NANA0.996704432652928NA
690.8NANA0.996530200235173NA
700.82NANA0.996860070389268NA
710.83NANA1.00395851319214NA
720.83NANA0.997790263562026NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324338eybwctri78whnwt/1bdgb1212323989.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324338eybwctri78whnwt/1bdgb1212323989.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324338eybwctri78whnwt/2whop1212323989.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324338eybwctri78whnwt/2whop1212323989.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324338eybwctri78whnwt/3aj0u1212323989.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324338eybwctri78whnwt/3aj0u1212323989.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324338eybwctri78whnwt/4kuqv1212323989.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212324338eybwctri78whnwt/4kuqv1212323989.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