Home » date » 2010 » May » 23 »

Earthquakes/year magnitude >= 7.0 1900 - 1998

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 23 May 2010 12:33:37 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci.htm/, Retrieved Sun, 23 May 2010 14:37:14 +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/2010/May/23/t12746182280d0tednsitflnci.htm/},
    year = {2010},
}
@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 = {2010},
    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:
KDGP2W52
 
Dataseries X:
» Textbox « » Textfile « » CSV «
13 14 8 10 16 26 32 27 18 32 36 24 22 23 22 18 25 21 21 14 8 11 14 23 18 17 19 20 22 19 13 26 13 14 22 24 21 22 26 21 23 24 27 41 31 27 35 26 28 36 39 21 17 22 17 19 15 34 10 15 22 18 15 20 15 22 19 16 30 27 29 23 20 16 21 21 25 16 18 15 18 14 10 15 8 15 6 11 8 7 13 10 23 16 15 25 22 20 16
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
113NANA0.96897629511439NA
214NANA1.05352889135862NA
38NANA1.00481560665762NA
410NANA0.957924403758919NA
516NANA0.980812860184474NA
626NANA0.93780313394856NA
73220.364334551353821.70833333333330.9380883478550711.57137469526951
82722.195090191245322.45833333333330.9882785984970071.21648525720567
91823.756343037968123.41666666666671.014505752511090.757692375936475
103227.205118380808924.33333333333331.118018563594891.17624924663344
113624.882021226509625.04166666666670.9936248077141951.44682779876601
122426.307989874046825.20833333333331.043622738805160.91227038306246
132223.78029324259924.54166666666670.968976295114390.925135774212832
142324.801825984067523.54166666666671.053528891358620.927351075472228
152222.692085783684622.58333333333331.004815606657620.969501006197402
161820.395807096700321.29166666666670.9579244037589190.88253433240757
172519.125850773597319.50.9808128601844741.30713139488215
182117.388433108629518.54166666666670.937803133948561.20769938664445
192117.198286377343018.33333333333330.9380883478550711.22105188501021
201417.706658223071417.91666666666670.9882785984970070.790663027637724
21817.796121741965517.54166666666671.014505752511090.44953614703225
221119.565324862910517.51.118018563594890.56221913395634
231417.347033101343717.45833333333330.9936248077141950.807054435084671
242318.002492244389117.251.043622738805161.27760088368701
251816.311100967758916.83333333333330.968976295114391.10354292059006
261717.9099911530965171.053528891358620.949190865293132
271917.793609701228717.70833333333331.004815606657621.06779907613057
282017.282552784483818.04166666666670.9579244037589191.15723644819161
292218.145037913412818.50.9808128601844741.21245268844204
301917.701034153279118.8750.937803133948561.07338361337947
311317.862765623740319.04166666666670.9380883478550710.727770843207084
322619.147897845879519.3750.9882785984970071.35785140537477
331320.16330183115819.8751.014505752511090.644735674189597
341422.5932918059820.20833333333331.118018563594890.619652953638852
352220.162303389867220.29166666666670.9936248077141951.09114517198746
362421.437750426289420.54166666666671.043622738805161.11952044980282
372120.671494295773721.33333333333330.968976295114391.01589172507444
382223.748297092708822.54166666666671.053528891358620.926382212337844
392624.031839925894823.91666666666671.004815606657621.08189801863587
402124.147677678089425.20833333333330.9579244037589190.86964884490961
412325.787204782350126.29166666666670.9808128601844740.89191520345556
422425.242534355448726.91666666666670.937803133948560.950776164629424
432725.601994493544727.29166666666670.9380883478550711.05460533579944
444127.836513857665728.16666666666670.9882785984970071.47288558508591
453129.716564333970829.29166666666671.014505752511091.04318923451598
462733.354220480580829.83333333333331.118018563594890.80949276016568
473529.394733894878329.58333333333330.9936248077141951.19068946584675
482630.52596511005129.251.043622738805160.851733922458006
492827.858068484538728.750.968976295114391.00509480818959
503628.884250438082127.41666666666671.053528891358621.24635396293809
513925.957736505321925.83333333333331.004815606657621.50244224846046
522124.387158779029125.45833333333330.9579244037589190.861108921719007
531724.234251087058124.70833333333330.9808128601844740.701486501024106
542221.764847733722823.20833333333330.937803133948561.01080422289897
551721.106987826739122.50.9380883478550710.80542046736123
561921.247989867685621.50.9882785984970070.894202233637901
571520.036488612094119.751.014505752511090.748634168910511
583420.916263960587718.70833333333331.118018563594891.62552930408919
591018.464861010022118.58333333333330.9936248077141950.541569199712488
601519.307020667895518.51.043622738805160.776919456296155
612218.006809484209118.58333333333330.968976295114391.22176002468914
621819.534181527274418.54166666666671.053528891358620.92146169394749
631519.133363843438919.04166666666671.004815606657620.783970875311804
642018.559785322829019.3750.9579244037589191.07759867111175
651519.493655596166419.8750.9808128601844740.769481123024963
662219.6938658129197210.937803133948561.11709911141810
671919.934377391920321.250.9380883478550710.953127335077995
681620.836207118311921.08333333333330.9882785984970070.767894075401967
693021.558247240860821.251.014505752511091.39157880809248
702724.083983224106521.54166666666671.118018563594891.12107701407858
712921.8597457697123220.9936248077141951.32663939944722
722323.133637376847822.16666666666671.043622738805160.994223244072222
732021.196356455627321.8750.968976295114390.94355839136166
741622.958150424189921.79166666666671.053528891358620.69692025291121
752121.352331641474521.251.004815606657620.983499149067632
762119.358055659294820.20833333333330.9579244037589191.08481969313467
772518.512842735982018.8750.9808128601844741.35041389140143
781616.646005627586917.750.937803133948560.961191552974347
791815.869327884548316.91666666666670.9380883478550711.1342635385035
801516.183062050388516.3750.9882785984970070.926895043304856
811815.936194529028415.70833333333331.014505752511091.12950428455252
821416.397605599391714.66666666666671.118018563594890.853783188962623
831013.455335937796413.54166666666670.9936248077141950.743199578682368
841513.001799954281012.45833333333331.043622738805161.15368641670733
85811.506593504483411.8750.968976295114390.695253551529643
861512.071685213484211.45833333333331.053528891358621.24257713274737
87611.513512159618611.45833333333331.004815606657620.521126821843628
881111.255611744167311.750.9579244037589190.97729028417316
89811.810621524721412.04166666666670.9808128601844740.67735639341713
90711.878839696681712.66666666666670.937803133948560.589283143702612
911312.820540754019313.66666666666670.9380883478550711.01399779068792
921014.288861403269214.45833333333330.9882785984970070.699845825204243
932315.30212843370915.08333333333331.014505752511091.50305887835403
9416NANA1.11801856359489NA
9515NANA0.993624807714195NA
9625NANA1.04362273880516NA
9722NANANANA
9820NANANANA
9916NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci/1ub3w1274618014.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci/1ub3w1274618014.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci/25k2z1274618014.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci/25k2z1274618014.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci/35k2z1274618014.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci/35k2z1274618014.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci/4xu121274618014.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/23/t12746182280d0tednsitflnci/4xu121274618014.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