Home » date » 2008 » Aug » 13 »

Raf Mattheussen aditief decompositie roze garnalen

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 13 Aug 2008 07:18:00 -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/Aug/13/t1218633544plgbx3mhkz9vly7.htm/, Retrieved Wed, 13 Aug 2008 13:19:04 +0000
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
16.8 16.91 16.91 17.16 17.02 17.23 17.22 17.29 17.3 17.22 17.19 17.23 17.36 17.39 17.29 17.28 17.4 17.51 17.54 17.64 17.65 17.5 17.37 17.56 17.49 17.61 17.79 17.83 17.56 17.95 18.09 18.38 18.38 18.44 18.84 19.01 19.06 19.06 18.97 18.98 19.41 19.55 19.64 19.71 19.48 19.48 19.41 19.25 19.14 19.21 19.3 19.53 19.14 19.16 19.24 19.38 19.27 19.27 19.07 19.15 19.24 19.36 19.57 19.59 19.36 19.46 19.65 19.46 19.51 19.64 19.64 19.69 19.28 19.67 19.65 19.6 19.53 19.64 19.67 19.81 19.73 19.87 19.97 20.12 19.94 20.31 20.13 20.22 20.38 20.44 20.34 20.14 19.97 19.82 19.98 20.12
 
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
116.8NANA-0.0964641203703716NA
216.91NANA-0.00931134259259197NA
316.91NANA0.00131365740740666NA
417.16NANA0.00603587962962814NA
517.02NANA-0.100005787037037NA
617.23NANA0.00561921296296422NA
717.2217.207633101851817.14666666666670.06096643518518410.0123668981481515
817.2917.304438657407417.190.114438657407408-0.0144386574074069
917.317.240271990740717.22583333333330.01443865740740770.0597280092592598
1017.2217.250966435185217.24666666666670.00429976851851979-0.0309664351851886
1117.1917.247355324074117.2675-0.0201446759259255-0.0573553240740736
1217.2317.313813657407417.2950.0188136574074073-0.0838136574074078
1317.3617.223535879629617.32-0.09646412037037160.136464120370370
1417.3917.338605324074117.3479166666667-0.009311342592591970.0513946759259269
1517.2917.378396990740717.37708333333330.00131365740740666-0.088396990740744
1617.2817.409369212963017.40333333333330.00603587962962814-0.129369212962960
1717.417.322494212963017.4225-0.1000057870370370.0775057870370368
1817.5117.449369212963017.443750.005619212962964220.060630787037038
1917.5417.523883101851817.46291666666670.06096643518518410.0161168981481516
2017.6417.591938657407417.47750.1144386574074080.0480613425925931
2117.6517.521938657407417.50750.01443865740740770.128061342592595
2217.517.555549768518517.551250.00429976851851979-0.0555497685185209
2317.3717.560688657407417.5808333333333-0.0201446759259255-0.190688657407406
2417.5617.624646990740717.60583333333330.0188136574074073-0.0646469907407408
2517.4917.550619212963017.6470833333333-0.0964641203703716-0.0606192129629619
2617.6117.691521990740717.7008333333333-0.00931134259259197-0.081521990740736
2717.7917.763396990740717.76208333333330.001313657407406660.0266030092592615
2817.8317.837702546296317.83166666666670.00603587962962814-0.00770254629629719
2917.5617.832077546296317.9320833333333-0.100005787037037-0.272077546296295
3017.9518.059369212963018.053750.00561921296296422-0.109369212962964
3118.0918.240549768518518.17958333333330.0609664351851841-0.150549768518516
3218.3818.419855324074118.30541666666670.114438657407408-0.0398553240740753
3318.3818.429438657407418.4150.0144386574074077-0.0494386574074070
3418.4418.516383101851918.51208333333330.00429976851851979-0.076383101851853
3518.8418.616938657407418.6370833333333-0.02014467592592550.223061342592597
3619.0118.799646990740718.78083333333330.01881365740740730.210353009259265
3719.0618.815619212963018.9120833333333-0.09646412037037160.244380787037038
3819.0619.022771990740719.0320833333333-0.009311342592591970.0372280092592625
3918.9719.134646990740719.13333333333330.00131365740740666-0.164646990740739
4018.9819.228535879629619.22250.00603587962962814-0.248535879629628
4119.4119.189577546296319.2895833333333-0.1000057870370370.220422453703701
4219.5519.328952546296319.32333333333330.005619212962964220.221047453703701
4319.6419.397633101851819.33666666666670.06096643518518410.242366898148152
4419.7119.460688657407419.346250.1144386574074080.249311342592595
4519.4819.380688657407419.366250.01443865740740770.0993113425925962
4619.4819.407216435185219.40291666666670.004299768518519790.0727835648148165
4719.4119.394438657407419.4145833333333-0.02014467592592550.0155613425925942
4819.2519.405896990740719.38708333333330.0188136574074073-0.155896990740743
4919.1419.257702546296319.3541666666667-0.0964641203703716-0.117702546296300
5019.2119.314438657407419.32375-0.00931134259259197-0.104438657407407
5119.319.302563657407419.301250.00131365740740666-0.0025636574074106
5219.5319.289785879629619.283750.006035879629628140.240214120370371
5319.1419.160827546296319.2608333333333-0.100005787037037-0.0208275462962959
5419.1619.248119212963019.24250.00561921296296422-0.0881192129629653
5519.2419.303466435185219.24250.0609664351851841-0.0634664351851839
5619.3819.367355324074119.25291666666670.1144386574074080.0126446759259231
5719.2719.284855324074119.27041666666670.0144386574074077-0.0148553240740732
5819.2719.288466435185219.28416666666670.00429976851851979-0.0184664351851858
5919.0719.275688657407419.2958333333333-0.0201446759259255-0.205688657407407
6019.1519.336313657407419.31750.0188136574074073-0.186313657407403
6119.2419.250619212963019.3470833333333-0.0964641203703716-0.0106192129629612
6219.3619.358188657407419.3675-0.009311342592591970.00181134259258897
6319.5719.382146990740719.38083333333330.001313657407406660.187853009259257
6419.5919.412285879629619.406250.006035879629628140.177714120370368
6519.3619.345410879629619.4454166666667-0.1000057870370370.0145891203703741
6619.4619.497285879629619.49166666666670.00561921296296422-0.0372858796296285
6719.6519.576799768518519.51583333333330.06096643518518410.0732002314814828
6819.4619.644855324074119.53041666666670.114438657407408-0.184855324074068
6919.5119.561105324074119.54666666666670.0144386574074077-0.0511053240740722
7019.6419.554716435185219.55041666666670.004299768518519790.0852835648148158
7119.6419.537771990740719.5579166666667-0.02014467592592550.102228009259264
7219.6919.591313657407419.57250.01881365740740730.0986863425925932
7319.2819.484369212963019.5808333333333-0.0964641203703716-0.204369212962963
7419.6719.586938657407419.59625-0.009311342592591970.0830613425925968
7519.6519.621313657407419.620.001313657407406660.0286863425925930
7619.619.644785879629619.638750.00603587962962814-0.0447858796296288
7719.5319.562077546296319.6620833333333-0.100005787037037-0.0320775462962892
7819.6419.699369212963019.693750.00561921296296422-0.059369212962963
7919.6719.800133101851919.73916666666670.0609664351851841-0.130133101851850
8019.8119.907771990740719.79333333333330.114438657407408-0.0977719907407426
8119.7319.854438657407419.840.0144386574074077-0.124438657407406
8219.8719.890133101851919.88583333333330.00429976851851979-0.0201331018518545
8319.9719.926938657407419.9470833333333-0.02014467592592550.0430613425925941
8420.1220.034646990740720.01583333333330.01881365740740730.0853530092592614
8519.9419.980619212963020.0770833333333-0.0964641203703716-0.0406192129629659
8620.3120.109438657407420.11875-0.009311342592591970.200561342592593
8720.1320.143813657407420.14250.00131365740740666-0.0138136574074075
8820.2220.156452546296320.15041666666670.006035879629628140.063547453703702
8920.3820.048744212963020.14875-0.1000057870370370.331255787037041
9020.4420.154785879629620.14916666666670.005619212962964220.285214120370370
9120.34NANA0.0609664351851841NA
9220.14NANA0.114438657407408NA
9319.97NANA0.0144386574074077NA
9419.82NANA0.00429976851851979NA
9519.98NANA-0.0201446759259255NA
9620.12NANA0.0188136574074073NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/13/t1218633544plgbx3mhkz9vly7/189b51218633475.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/13/t1218633544plgbx3mhkz9vly7/189b51218633475.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/13/t1218633544plgbx3mhkz9vly7/2wc3f1218633475.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/13/t1218633544plgbx3mhkz9vly7/2wc3f1218633475.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/13/t1218633544plgbx3mhkz9vly7/3v0091218633475.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/13/t1218633544plgbx3mhkz9vly7/3v0091218633475.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/13/t1218633544plgbx3mhkz9vly7/4jbvk1218633475.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/13/t1218633544plgbx3mhkz9vly7/4jbvk1218633475.ps (open in new window)


 
Parameters (Session):
par1 = additive ; par2 = 12 ;
 
Parameters (R input):
par1 = additive ; 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