Home » date » 2008 » May » 19 » attachments

Bouwvergunningen

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 19 May 2008 15:42:22 -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/19/t1211233379pfx08mpau8b69jn.htm/, Retrieved Mon, 19 May 2008 23:43:03 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2434 2637 1831 1851 1839 2609 2417 2394 2372 2717 2998 2538 3007 2475 2175 2465 2279 2323 2746 2601 2486 2718 2646 2551 2712 2606 2365 3533 3509 2912 3599 2719 2869 4085 2686 2545 3071 3388 2652 3190 2884 3295 3818 3226 3953 3810 2877 3515 3708 3450 3360 4098 4374 3703 4257 3487 3659 3904 2957 3320 3420 3500 2791 2919 3179 3016 3492 3034 2612 3525 2846 3212 2591
 
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'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
12434NANA92.8046875NA
22637NANA-82.4973958333331NA
31831NANA-449.0390625NA
41851NANA208.690104166667NA
51839NANA136.752604166667NA
62609NANA-74.2161458333334NA
724172870.377604166672410.29166666667460.0859375-453.377604166667
823942275.77343752427.41666666667-151.643229166667118.226562500000
923722499.76302083333243564.7630208333335-127.763020833333
1027172916.033854166672474.91666666667441.1171875-199.033854166667
1129982108.096354166672518.83333333333-410.736979166667889.903645833334
1225382289.169270833332525.25-236.080729166667248.830729166667
1330072619.846354166672527.0416666666792.8046875387.153645833333
1424752466.877604166672549.375-82.49739583333318.12239583333348
1521752113.71093752562.75-449.039062561.2890625
1624652776.231770833332567.54166666667208.690104166667-311.231770833333
1722792689.669270833332552.91666666667136.752604166667-410.669270833333
1823232464.575520833332538.79166666667-74.2161458333334-141.575520833333
1927462987.127604166672527.04166666667460.0859375-241.127604166667
2026012368.565104166672520.20833333333-151.643229166667232.434895833333
2124862598.346354166672533.5833333333364.7630208333335-112.346354166667
2227183027.11718752586441.1171875-309.1171875
2326462271.013020833332681.75-410.736979166667374.986979166667
2425512521.46093752757.54166666667-236.08072916666729.5390625
2527122910.42968752817.62592.8046875-198.429687500000
2626062775.58593752858.08333333333-82.4973958333331-169.5859375
2723652429.919270833332878.95833333333-449.0390625-64.9192708333335
2835333160.565104166672951.875208.690104166667372.434895833333
2935093147.252604166673010.5136.752604166667361.747395833333
3029122937.700520833333011.91666666667-74.2161458333334-25.700520833333
3135993486.71093753026.625460.0859375112.2890625
3227192922.52343753074.16666666667-151.643229166667-203.523437500000
3328693183.471354166673118.7083333333364.7630208333335-314.471354166666
3440853557.49218753116.375441.1171875527.5078125
3526862665.30468753076.04166666667-410.73697916666720.6953125000005
3625452829.877604166673065.95833333333-236.080729166667-284.877604166667
3730713183.846354166673091.0416666666792.8046875-112.846354166667
3833883038.794270833333121.29166666667-82.4973958333331349.205729166667
3926522738.544270833333187.58333333333-449.0390625-86.544270833333
4031903429.981770833333221.29166666667208.690104166667-239.981770833333
4128843354.544270833333217.79166666667136.752604166667-470.544270833333
4232953191.950520833333266.16666666667-74.2161458333334103.049479166667
4338183793.21093753333.125460.085937524.7890624999995
4432263210.606770833333362.25-151.64322916666715.3932291666665
4539533459.096354166673394.3333333333364.7630208333335493.903645833333
4638103902.783854166673461.66666666667441.1171875-92.7838541666665
4728773150.846354166673561.58333333333-410.736979166667-273.846354166666
4835153404.58593753640.66666666667-236.080729166667110.414062500000
4937083768.763020833333675.9583333333392.8046875-60.763020833333
5034503622.627604166673705.125-82.4973958333331-172.627604166667
5133603254.71093753703.75-449.0390625105.2890625
5240983904.106770833333695.41666666667208.690104166667193.893229166667
5343743839.419270833333702.66666666667136.752604166667534.580729166667
5437033623.658854166673697.875-74.216145833333479.3411458333335
5542574137.83593753677.75460.0859375119.164062500000
5634873516.190104166673667.83333333333-151.643229166667-29.190104166667
5736593710.971354166673646.2083333333364.7630208333335-51.971354166667
5839044014.49218753573.375441.1171875-110.4921875
5929573063.721354166673474.45833333333-410.736979166667-106.721354166667
6033203159.96093753396.04166666667-236.080729166667160.039062500000
6134203428.346354166673335.5416666666792.8046875-8.34635416666652
6235003202.294270833333284.79166666667-82.4973958333331297.705729166667
6327912773.252604166673222.29166666667-449.039062517.7473958333335
6429193371.565104166673162.875208.690104166667-452.565104166666
6531793279.21093753142.45833333333136.752604166667-100.210937500000
6630163059.11718753133.33333333333-74.2161458333334-43.1171875
6734923554.377604166673094.29166666667460.0859375-62.3776041666665
683034NANA-151.643229166667NA
692612NANA64.7630208333335NA
703525NANA441.1171875NA
712846NANA-410.736979166667NA
723212NANA-236.080729166667NA
732591NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211233379pfx08mpau8b69jn/1z46s1211233340.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211233379pfx08mpau8b69jn/1z46s1211233340.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211233379pfx08mpau8b69jn/2rws11211233340.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211233379pfx08mpau8b69jn/2rws11211233340.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211233379pfx08mpau8b69jn/35t4z1211233340.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/19/t1211233379pfx08mpau8b69jn/35t4z1211233340.ps (open in new window)


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