Home » date » 2009 » Jun » 04 »

Decompostion Brutoschuld/Samira Allouch

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Thu, 04 Jun 2009 04:08:45 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy.htm/, Retrieved Thu, 04 Jun 2009 12:09:32 +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/2009/Jun/04/t1244110167bn2qaj8ppyrteoy.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
260288 261544 259886 257006 259670 258873 264416 263596 262586 260237 261690 259295 264170 264451 265538 261723 266189 265073 267007 266376 267406 262742 260300 263074 265940 264771 268403 264264 264118 266817 269296 269001 266707 267507 267510 267420 270845 270671 273653 271567 268372 268160 267879 271142 271323 269478 271008 269145 271684 273582 279475 276188 278422 281084 278618 280738 288897 282129 286406 284288 286139 288275 287670 286864 288798 288316 286915 288006 293338 303730 306248 305700 314849
 
Output produced by software:


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


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1260288NANA1.00124512670782NA
2261544NANA1.0019083064631NA
3259886NANA1.00986447944717NA
4257006NANA0.99713458050041NA
5259670NANA0.99837746530059NA
6258873NANA0.998294829991328NA
7264416259839.2820989982609190.9958618655559681.01761364896035
8263596262509.510777159261201.8751.005006226609821.00413885660609
9262586263582.06048691261558.51.007736550281910.996221061156172
10260237260990.718131727261990.5416666670.9961837418687730.997112088364206
11261690261125.119285603262458.7083333330.9949188614993981.00216325689364
12259295261270.815694873262988.6666666670.9934679657737070.992437671656446
13264170263682.868625592263354.9583333331.001245126707821.00184741381549
14264451264081.739032161263578.751.00190830646311.00139828285436
15265538266498.607580579263895.4166666671.009864479447170.996395449907602
16261723263443.579377321264200.6250.997134580500410.99346888855144
17266189263818.333271407264247.0833333330.998377465300591.00898598175190
18265073263895.869063156264346.6250.9982948299913281.00446058872017
19267007263482.974688089264577.8333333330.9958618655559681.01337477427558
20266376265989.889215168264664.9166666671.005006226609821.00145159947986
21267406266846.245140342264797.6251.007736550281911.00209766811357
22262742264011.47929832265022.8750.9961837418687730.995191575375078
23260300263695.740894002265042.4583333330.9949188614993980.987122503827748
24263074263297.655923046265028.8333333330.9934679657737070.999150558624377
25265940265527.078711894265196.8751.001245126707821.00155510048206
26264771265908.092636305265401.6251.00190830646310.995723738134363
27268403268100.715499535265481.8751.009864479447171.00112750352009
28264264264890.089275434265651.2916666670.997134580500410.99763641864765
29264118265718.411984119266150.250.998377465300590.993977037676207
30266817266177.09753654266631.750.9982948299913281.00240404779142
31269296265912.25522638267017.2083333330.9958618655559681.01272504259249
32269001268806.419165242267467.4166666671.005006226609821.00072386974746
33266707270004.8693901322679321.007736550281910.987785889204217
34267507267430.547931037268455.0416666670.9961837418687731.00028587635015
35267510267570.079305538268936.5833333330.9949188614993980.999775463289116
36267420267411.565374816269169.7916666670.9934679657737071.00003154173669
37270845269501.854990736269166.7083333331.001245126707821.00498380617569
38270671269710.585136409269196.8751.00190830646311.00356090905036
39273653272136.680969332269478.4166666671.009864479447171.00557190241781
40271567268979.919851905269752.8750.997134580500411.00961811628734
41268372269542.696864952269980.750.998377465300590.995656729421465
42268160269737.640834558270198.3750.9982948299913280.994151202517836
43267879269186.649040328270305.2083333330.9958618655559680.995142221781839
44271142271815.449682971270461.4583333331.005006226609820.997522401012317
45271323272920.587142281270825.3333333331.007736550281910.994146329674104
46269478270225.258403538271260.4583333330.9961837418687730.99723468336027
47271008270490.331983849271871.750.9949188614993981.00191381337867
48269145271046.8716340752728290.9934679657737070.992983237096193
49271684274155.892650956273814.9583333331.001245126707820.99098362385337
50273582275186.389746845274662.251.00190830646310.994169807059424
51279475278514.900866147275794.3333333331.009864479447171.00344720921885
52276188276259.833235041277053.7083333330.997134580500410.999739979445437
53278422277770.991141471278222.4166666670.998377465300591.00234368915146
54281084279018.371912808279494.9583333330.9982948299913281.00740319740607
55278618279566.517265018280728.2083333330.9958618655559680.996607185744927
56280738283354.177422235281942.7083333331.005006226609820.990767111866727
57288897285085.017029757282896.3751.007736550281911.01337139008552
58282129282600.060383312283682.6666666670.9961837418687730.998333120018895
59286406283113.945408459284559.8333333330.9949188614993981.01162801990129
60284288283429.953093461285293.50.9934679657737071.00302736848090
61286139286296.573871946285940.5416666671.001245126707820.999449613141315
62288275287135.983133312286589.0833333331.00190830646311.00396682036942
63287670289908.82308857287076.9583333331.009864479447170.992277492403583
64286864287336.336533433288162.0416666670.997134580500410.998356154536068
65288798289418.478642279289888.8333333330.998377465300590.997856119466907
66288316291110.509210404291607.750.9982948299913280.99040052103243
67286915292480.812443303293696.1666666670.9958618655559680.980970333073107
68288006NANA1.00500622660982NA
69293338NANA1.00773655028191NA
70303730NANA0.996183741868773NA
71306248NANA0.994918861499398NA
72305700NANA0.993467965773707NA
73314849NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy/12dpv1244110123.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy/12dpv1244110123.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy/2g5mk1244110123.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy/2g5mk1244110123.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy/3jvp11244110123.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy/3jvp11244110123.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy/4nsds1244110123.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244110167bn2qaj8ppyrteoy/4nsds1244110123.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