Home » date » 2008 » May » 18 » attachments

additief compositiemodel - Invoer klasse 3-5, oliën, vetten,... - Vanovermeire Bart

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 18 May 2008 14:23:47 -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/18/t12111424380399g1uyn5mhdlj.htm/, Retrieved Sun, 18 May 2008 22:27:22 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
42.3 50.8 54.1 38.2 48.4 61.1 54.1 61.4 64.3 57.4 71.7 55.3 55.1 66.8 59.4 64.9 59.2 77.4 75.8 38.3 54 61.8 61.3 104.3 39.7 62.6 50.2 90.9 56.2 50.2 52.8 45.6 69 81.9 73.9 54.9 55.4 64.6 49.6 55.8 44.6 61.5 40.5 48.3 50.9 65.3 56.5 53.2 56.9 79.5 94 68.4 65.9 85.5 77.5 114.8 87.4 107.5 151.7 94.4 67.5 95.2 96.2 70.6 80.1 83.4 115.4 61.5 80.6 94.3 82.6 107.7 79.1 102.8 125.2 106.4 62.3 107.4 67.9 88 76.5 130.5 100.9 85.6
 
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 time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
142.3NANA-13.6567361111111NA
250.8NANA4.65159722222222NA
354.1NANA0.654930555555557NA
438.2NANA0.451597222222223NA
548.4NANA-8.8667361111111NA
661.1NANA1.00576388888889NA
754.156.627430555555655.45833333333331.16909722222222-2.52743055555555
861.446.627430555555556.6583333333333-10.030902777777814.7725694444445
964.353.346597222222257.5458333333333-4.1992361111111110.9534027777778
1057.467.565763888888958.87916666666678.68659722222222-10.1657638888889
1171.771.796597222222260.441666666666711.3549305555556-0.096597222222222
1255.370.349930555555661.57083333333338.77909722222222-15.0499305555556
1355.149.497430555555663.1541666666667-13.65673611111115.60256944444444
1466.867.747430555555663.09583333333334.65159722222222-0.947430555555556
1559.462.359097222222261.70416666666670.654930555555557-2.95909722222223
1664.961.909930555555661.45833333333330.4515972222222232.99006944444445
1759.252.341597222222261.2083333333333-8.86673611111116.85840277777778
1877.463.822430555555662.81666666666671.0057638888888913.5775694444444
1975.865.385763888888964.21666666666671.1690972222222210.4142361111111
2038.353.369097222222263.4-10.0309027777778-15.0690972222222
215458.642430555555662.8416666666667-4.19923611111111-4.64243055555556
2261.872.228263888888963.54166666666678.68659722222222-10.4282638888889
2361.375.854930555555664.511.3549305555556-14.5549305555556
24104.372.020763888888963.24166666666678.7790972222222232.2792361111111
2539.747.493263888888961.15-13.6567361111111-7.79326388888888
2662.665.147430555555660.49583333333334.65159722222222-2.54743055555555
2750.262.079930555555561.4250.654930555555557-11.8799305555555
2890.963.339097222222262.88750.45159722222222327.5609027777778
2956.255.383263888888964.25-8.86673611111110.816736111111112
3050.263.722430555555662.71666666666671.00576388888889-13.5224305555556
3152.862.481597222222261.31251.16909722222222-9.68159722222224
3245.652.019097222222262.05-10.0309027777778-6.41909722222223
336957.909097222222262.1083333333333-4.1992361111111111.0909027777778
3481.969.307430555555660.62083333333338.6865972222222212.5925694444445
3573.970.029930555555658.67511.35493055555563.87006944444445
3654.967.441597222222258.66258.77909722222222-12.5415972222222
3755.444.964097222222258.6208333333333-13.656736111111110.4359027777778
3864.662.872430555555558.22083333333334.651597222222221.72756944444445
3949.658.234097222222257.57916666666670.654930555555557-8.63409722222222
4055.856.584930555555656.13333333333330.451597222222223-0.784930555555562
4144.645.849930555555554.7166666666667-8.8667361111111-1.24993055555555
4261.554.926597222222253.92083333333331.005763888888896.57340277777778
4340.555.081597222222253.91251.16909722222222-14.5815972222222
4448.344.564930555555554.5958333333333-10.03090277777783.73506944444445
4550.952.867430555555657.0666666666667-4.19923611111111-1.96743055555556
4665.368.128263888888959.44166666666678.68659722222222-2.82826388888889
4756.572.209097222222260.854166666666711.3549305555556-15.7090972222222
4853.271.520763888888962.74166666666678.77909722222222-18.3207638888889
4956.951.626597222222265.2833333333333-13.65673611111115.27340277777778
5079.574.247430555555669.59583333333334.651597222222225.25256944444445
519474.542430555555673.88750.65493055555555719.4575694444444
5268.477.618263888888977.16666666666670.451597222222223-9.21826388888887
5365.974.024930555555682.8916666666667-8.8667361111111-8.12493055555555
5485.589.580763888888988.5751.00576388888889-4.08076388888888
5577.591.902430555555690.73333333333331.16909722222222-14.4024305555556
56114.881.798263888888991.8291666666667-10.030902777777833.0017361111111
5787.488.375763888888992.575-4.19923611111111-0.975763888888878
58107.5101.44493055555692.75833333333338.686597222222226.05506944444446
59151.7104.79659722222293.441666666666611.354930555555646.9034027777778
6094.4102.72493055555693.94583333333338.77909722222222-8.32493055555554
6167.581.780763888888995.4375-13.6567361111111-14.2807638888889
6295.299.447430555555694.79583333333334.65159722222222-4.24743055555555
6396.292.946597222222292.29166666666670.6549305555555573.25340277777778
6470.691.909930555555691.45833333333330.451597222222223-21.3099305555556
6580.179.162430555555688.0291666666667-8.86673611111110.937569444444435
6683.486.709930555555685.70416666666671.00576388888889-3.30993055555557
67115.487.910763888888986.74166666666671.1690972222222227.4892361111111
6861.577.510763888888987.5416666666667-10.0309027777778-16.0107638888889
6980.684.867430555555689.0666666666667-4.19923611111111-4.26743055555556
7094.3100.45326388888991.76666666666678.68659722222222-6.1532638888889
7182.6103.87159722222292.516666666666711.3549305555556-21.2715972222222
72107.7101.55409722222292.7758.779097222222226.14590277777778
7379.178.139097222222291.7958333333333-13.65673611111110.960902777777775
74102.895.572430555555690.92083333333334.651597222222227.22756944444444
75125.292.509097222222291.85416666666670.65493055555555732.6909027777778
76106.493.643263888888993.19166666666660.45159722222222312.7567361111111
7762.386.595763888888995.4625-8.8667361111111-24.2957638888889
78107.496.309930555555695.30416666666671.0057638888888911.0900694444445
7967.9NANA1.16909722222222NA
8088NANA-10.0309027777778NA
8176.5NANA-4.19923611111111NA
82130.5NANA8.68659722222222NA
83100.9NANA11.3549305555556NA
8485.6NANA8.77909722222222NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t12111424380399g1uyn5mhdlj/1oixi1211142225.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t12111424380399g1uyn5mhdlj/1oixi1211142225.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t12111424380399g1uyn5mhdlj/2k5h11211142225.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t12111424380399g1uyn5mhdlj/2k5h11211142225.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t12111424380399g1uyn5mhdlj/3ct3u1211142225.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/18/t12111424380399g1uyn5mhdlj/3ct3u1211142225.ps (open in new window)


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