Home » date » 2008 » May » 23 »

Multiplicatief decompositiemodel - Blue Jeans (D) - Alexia Versluys

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:44:41 -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/t1211546775oq2yqbsgfgz5pe7.htm/, Retrieved Fri, 23 May 2008 14:46:15 +0200
 
User-defined keywords:
Multiplicatief decompositiemodel - Blue Jeans (D) - Alexia Versluys
 
Dataseries X:
» Textbox « » Textfile « » CSV «
44,13 44,13 44,17 44,14 44,15 44,14 44,14 44,14 44,19 44,29 44,29 44,29 44,29 44,27 44,26 44,33 44,32 44,34 44,34 44,34 44,37 44,47 44,51 44,51 44,51 44,52 44,7 44,84 44,9 44,95 44,94 44,94 44,91 45,28 45,36 45,34 45,34 45,34 45,44 45,62 45,75 45,77 45,77 45,77 46,09 46,25 46,35 46,34 46,34 46,28 46,59 46,42 46,29 46,29 46,29 46,3 46,52 46,66 46,67 46,72 46,72 46,72 46,76 46,89 47,04 47,02 47,02 47,18 47,22 47,8 47,88 47,91
 
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
144.13NANA0.99997581792736NA
244.13NANA0.998604347384568NA
344.17NANA1.00074767725670NA
444.14NANA1.00091607839687NA
544.15NANA1.00011371293273NA
644.14NANA0.999510282162221NA
744.1444.116744314423344.190.9983422564929461.00052713965951
844.1444.082370111449844.20250.997282282935351.00130732282326
944.1944.171270792424244.21208333333330.9990768917039851.00042401332902
1044.2944.318885476460644.223751.002151230423940.999348235494868
1144.2944.336301720563744.238751.002205119280350.99895567021229
1244.2944.301709055236344.25416666666671.001074303102980.999735697437278
1344.2944.269762772825944.27083333333330.999975817927361.00045713430356
1444.2744.225690034794144.28750.9986043473845681.00100190557052
1544.2644.336457928062844.30333333333331.000747677256700.99827550662286
1644.3344.358932401085244.31833333333331.000916078396870.999347766063808
1744.3244.340041462872744.3351.000113712932730.999548005319538
1844.3444.331612714835144.35333333333330.9995102821622211.00018919422623
1944.3444.298109824352844.37166666666670.9983422564929461.00094564250740
2044.3444.270607142353944.391250.997282282935351.00156747020485
2144.3744.37899552949144.420.9990768917039850.999797302093396
2244.4744.555226141635544.45958333333331.002151230423940.998087179686517
2344.5144.603138833572144.5051.002205119280350.997911832305802
2444.5144.602448460460144.55458333333331.001074303102980.997927278352396
2544.5144.603921358649944.6050.999975817927360.997894325077503
2644.5244.592677132457944.6550.9986043473845680.99837020028553
2744.744.735923042567844.70251.000747677256700.999196997845924
2844.8444.799752523945944.758751.000916078396871.00089838612463
2944.944.833014180539144.82791666666671.000113712932731.00149411813337
3044.9544.875929355995944.89791666666670.9995102821622211.00165056512627
3144.9444.892539442906344.96708333333330.9983422564929461.00105720366196
3244.9444.913438680562645.03583333333330.997282282935351.00059138913024
3344.9145.059200379926145.10083333333330.9990768917039850.996688792107536
3445.2845.261325196071745.16416666666671.002151230423941.00041259958358
3545.3645.331825472382245.23208333333331.002205119280351.00062151760544
3645.3445.350334387736645.30166666666671.001074303102980.99977212102455
3745.3445.369319515955245.37041666666670.999975817927360.999353758966016
3845.3445.3761654600145.43958333333330.9986043473845680.99920298554002
3945.4445.55737009431645.52333333333331.000747677256700.997423685913542
4045.6245.654701674243245.61291666666671.000916078396870.999239910174186
4145.7545.699779398414245.69458333333331.000113712932731.00109892437659
4245.7745.755081941681145.77750.9995102821622211.00032604156054
4345.7745.784807834646945.86083333333330.9983422564929460.999676577551655
4445.7745.816810215188245.94166666666670.997282282935350.998978317893184
4546.0945.986260479019846.028750.9990768917039851.00225588077612
4646.2546.209193234847746.111.002151230423941.00088308759136
4746.3546.267634502510246.16583333333331.002205119280351.0017801968563
4846.3446.259643546388546.211.001074303102981.00173707463895
4946.3446.252214831866946.25333333333330.999975817927361.00189796679904
5046.2846.232468687892346.29708333333330.9986043473845681.00102809375006
5146.5946.371728516683646.33708333333331.000747677256701.0047069947638
5246.4246.414563797092846.37208333333331.000916078396871.00011712278351
5346.2946.407776564361146.40251.000113712932730.997462137316624
5446.2946.408928251262246.43166666666670.9995102821622210.997437384233087
5546.2946.386309044183946.46333333333330.9983422564929460.997923761425119
5646.346.371132950786546.49750.997282282935350.998466007917858
5746.5246.479970976336846.52291666666670.9990768917039851.00086121016908
5846.6646.649722213221646.54958333333331.002151230423941.00022031828467
5946.6746.703176143930846.60041666666671.002205119280350.999289638378586
6046.7246.712212554249646.66208333333331.001074303102981.00016671113023
6146.7246.721786809701946.72291666666670.999975817927360.999961756391955
6246.7246.724697414124046.790.9986043473845680.999899466141379
6346.7646.890866374260546.85583333333331.000747677256700.9972091286773
6446.8946.97549384936146.93251.000916078396870.998180032984109
6547.0447.035764633273547.03041666666671.000113712932731.00009004566545
6647.0247.107336060923147.13041666666670.9995102821622210.998146019957272
6747.02NANA0.998342256492946NA
6847.18NANA0.99728228293535NA
6947.22NANA0.999076891703985NA
7047.8NANA1.00215123042394NA
7147.88NANA1.00220511928035NA
7247.91NANA1.00107430310298NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t1211546775oq2yqbsgfgz5pe7/1yoa81211546676.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t1211546775oq2yqbsgfgz5pe7/1yoa81211546676.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t1211546775oq2yqbsgfgz5pe7/28cp01211546676.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t1211546775oq2yqbsgfgz5pe7/28cp01211546676.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t1211546775oq2yqbsgfgz5pe7/33xqq1211546676.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/23/t1211546775oq2yqbsgfgz5pe7/33xqq1211546676.ps (open in new window)


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