Home » date » 2011 » May » 19 »

Decompositie Wisselkoers (multiplicatief)

*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 May 2011 13:00:11 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf.htm/, Retrieved Thu, 19 May 2011 14:56:47 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W92
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,2638 1,2640 1,2261 1,1989 1,2000 1,2146 1,2266 1,2191 1,2224 1,2507 1,2997 1,3406 1,3123 1,3013 1,3185 1,2943 1,2697 1,2155 1,2041 1,2295 1,2234 1,2022 1,1789 1,1861 1,2126 1,1940 1,2028 1,2273 1,2767 1,2661 1,2681 1,2810 1,2722 1,2617 1,2888 1,3205 1,2993 1,3080 1,3246 1,3513 1,3518 1,3421 1,3726 1,3626 1,3910 1,4233 1,4683 1,4559 1,4728 1,4759 1,5520 1,5754 1,5554 1,5562 1,5759 1,4955 1,4342 1,3266 1,2744 1,3511 1,3244 1,2797 1,3050 1,3199 1,3646 1,4014 1,4092 1,4266 1,4575 1,4821 1,4908 1,4579 1,4266 1,3680 1,3570 1,3417 1,2563 1,2223 1,2811 1,2903 1,3103 1,3901 1,3654 1,3221
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ www.wessa.org


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
11.2638NANA1.0026960805569NA
21.264NANA0.986993103631587NA
31.2261NANA1.00195032564548NA
41.1989NANA1.00677192096988NA
51.2NANA1.00176129462746NA
61.2146NANA0.991872921896452NA
71.22661.255366678113051.245895833333331.00760163452380.977085039284067
81.21911.252023191243311.249470833333331.002042751092610.973704008461205
91.22241.253935231010741.2548750.999251105497150.974850988926026
101.25071.251748068221981.26270.991326576559740.9991627163256
111.29971.265646055783121.269579166666670.996902035740021.02690637248959
121.34061.286302551145511.272520833333331.010830249258921.04221203542366
131.31231.275049225537831.271620833333331.00269608055691.02921516574896
141.30131.254583383911171.271116666666670.9869931036315871.03723675659022
151.31851.274071684504751.271591666666671.001950325645481.03487112698256
161.29431.278210215512371.26961251.006771920969881.01258774518648
171.26971.264782070542681.262558333333331.001761294627461.00388836114289
181.21551.240919814173131.25108750.9918729218964520.9795153450829
191.20411.249925629286621.240495833333331.00760163452380.963337315266686
201.22951.234387238824081.231870833333331.002042751092610.99604075717055
211.22341.221663583849451.222579166666670.999251105497151.00142135377816
221.20221.204428746300861.214966666666670.991326576559740.99814954076137
231.17891.208710488266921.212466666666670.996902035740020.97533694912364
241.18611.228023975483021.214866666666671.010830249258920.965860621355919
251.21261.222929918850551.219641666666671.00269608055690.991553139152681
261.1941.208527818212961.224454166666670.9869931036315870.987978912860737
271.20281.231029568432231.228633333333331.001950325645480.977068326256225
281.22731.241496599461011.233145833333331.006771920969880.988564930852674
291.27671.242388531602371.240204166666671.001761294627461.02761734153597
301.26611.240221370323961.250383333333330.9918729218964521.02086613752614
311.26811.269170820506031.259595833333331.00760163452380.999156283386974
321.2811.270548456604131.267958333333331.002042751092611.00822600928091
331.27221.276826408419171.277783333333330.999251105497150.99637663476518
341.26171.276853413773361.2880250.991326576559740.988132221279358
351.28881.29230487772221.296320833333330.996902035740020.997287886331918
361.32051.31672432985551.302616666666671.010830249258921.00286747199767
371.29931.313669736240621.31013751.00269608055690.989061378332624
381.3081.300749986333541.317891666666670.9869931036315871.00557371804162
391.32461.328828269801271.326241666666671.001950325645480.996818046471944
401.35131.346985322363631.3379251.006771920969881.0032032105805
411.35181.354519012514331.35213751.001761294627460.997992636139315
421.34211.354162772226811.365258333333330.9918729218964520.991092081045045
431.37261.388605200918251.378129166666671.00760163452380.988473901071618
441.36261.395198399661921.392354166666671.002042751092610.976635294543182
451.3911.407769938702021.4088250.999251105497150.988087585733303
461.42331.41525499544331.42763750.991326576559741.00568449119247
471.46831.440980355077381.445458333333330.996902035740021.01895906826652
481.45591.478705665506531.46286251.010830249258920.9845772786035
491.47281.484245051144691.480254166666671.00269608055690.992288974697364
501.47591.474826782515291.49426250.9869931036315871.00072769053114
511.5521.504528608989261.50161.001950325645481.03155233521457
521.57541.509524454121211.499370833333331.006771920969881.04363993289339
531.55541.489882007450871.48726251.001761294627461.04397528946687
541.55621.462830716428251.474816666666670.9918729218964521.06382781173732
551.57591.475397486712041.464266666666671.00760163452381.06811894028092
561.49551.452870135165431.449908333333331.002042751092611.02934182746465
571.43421.430369667871351.431441666666670.999251105497151.00267786168477
581.32661.398270266764911.410504166666670.991326576559740.948743623841238
591.27441.38759625106351.391908333333330.996902035740020.918422775373786
601.35111.392427091939581.377508333333331.010830249258920.97032010352369
611.32441.367790257188681.36411251.00269608055690.968277111961699
621.27971.336680647776991.354295833333330.9869931036315870.95737153233141
631.3051.355033445609931.352395833333331.001950325645480.963075859291867
641.31991.369054601847891.359845833333331.006771920969880.964095952212904
651.36461.377764048555081.375341666666671.001761294627460.99044535341963
661.40141.377521379537481.388808333333330.9918729218964521.01733448265648
671.40921.408140077607581.397516666666671.00760163452381.00075271090517
681.42661.408325159701241.405454166666671.002042751092611.01297629327494
691.45751.410243085188131.41130.999251105497151.03350976530799
701.48211.402107526721681.4143750.991326576559741.0570515967954
711.49081.406400315712641.410770833333330.996902035740021.06001113860998
721.45791.413945140870681.398795833333331.010830249258921.03108667929101
731.42661.389732589751531.385995833333331.00269608055691.02652842030211
741.3681.357094955137111.374979166666670.9869931036315871.00803557984032
751.3571.365825285575731.363166666666671.001950325645480.993538495978266
761.34171.362363763456441.35321.006771920969880.984832418469485
771.25631.346509096162711.344141666666671.001761294627460.933005208490767
781.22231.322422838726131.333258333333330.9918729218964520.92428833214755
791.2811NANA1.0076016345238NA
801.2903NANA1.00204275109261NA
811.3103NANA0.99925110549715NA
821.3901NANA0.99132657655974NA
831.3654NANA0.99690203574002NA
841.3221NANA1.01083024925892NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf/1ahus1305810007.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf/1ahus1305810007.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf/2drlp1305810007.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf/2drlp1305810007.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf/3fkt01305810007.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf/3fkt01305810007.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf/4uuaj1305810007.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/19/t1305809803qwpw3kd7cfi59hf/4uuaj1305810007.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