Home » date » 2010 » May » 29 »

taak 9 eigen reeks

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sat, 29 May 2010 11:45:34 +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/29/t1275133582og1030lm2bj5evc.htm/, Retrieved Sat, 29 May 2010 13:46:27 +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/29/t1275133582og1030lm2bj5evc.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 «
93.2 96 95.2 77.1 70.9 64.8 70.1 77.3 79.5 100.6 100.7 107.1 95.9 82.8 83.3 80 80.4 67.5 75.7 71.1 89.3 101.1 105.2 114.1 96.3 84.4 91.2 81.9 80.5 70.4 74.8 75.9 86.3 98.7 100.9 113.8 89.8 84.4 87.2 85.6 72 69.2 77.5 78.1 94.3 97.7 100.2 116.4 97.1 93 96 80.5 76.1 69.9 73.6 92.6 94.2 93.5 108.5 109.4 105.1 92.5 97.1
 
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'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
193.2NANA8.70746527777777NA
296NANA-0.113368055555541NA
395.2NANA2.84913194444445NA
477.1NANA-4.65503472222222NA
570.9NANA-9.4123263888889NA
664.8NANA-17.5175347222222NA
770.174.666840277777886.1541666666667-11.4873263888889-4.56684027777779
877.378.057465277777885.7166666666667-7.65920138888889-0.757465277777783
979.588.366840277777884.67083333333333.69600694444445-8.86684027777778
10100.689.950173611111184.29583333333335.6543402777777810.6498263888889
11100.794.615798611111184.81259.803298611111116.08420138888889
12107.1105.45538194444485.320833333333320.13454861111111.64461805555554
1395.994.374131944444485.66666666666678.707465277777771.52586805555556
1482.885.528298611111185.6416666666667-0.113368055555541-2.72829861111111
1583.388.640798611111185.79166666666672.84913194444445-5.34079861111111
168081.56579861111186.2208333333333-4.65503472222222-1.56579861111109
1780.477.016840277777886.4291666666667-9.41232638888893.38315972222223
1867.569.390798611111186.9083333333334-17.5175347222222-1.89079861111114
1975.775.729340277777887.2166666666667-11.4873263888889-0.0293402777777771
2071.179.640798611111187.3-7.65920138888889-8.54079861111111
2189.391.391840277777887.69583333333333.69600694444445-2.09184027777778
22101.193.758506944444488.10416666666675.654340277777787.34149305555556
23105.297.990798611111188.18759.803298611111117.2092013888889
24114.1108.44704861111188.312520.13454861111115.6529513888889
2596.397.103298611111188.39583333333338.70746527777777-0.803298611111103
2684.488.444965277777888.5583333333333-0.113368055555541-4.04496527777778
2791.291.482465277777888.63333333333332.84913194444445-0.282465277777774
2881.983.753298611111188.4083333333333-4.65503472222222-1.85329861111111
2980.578.716840277777888.1291666666667-9.41232638888891.78315972222224
3070.470.419965277777887.9375-17.5175347222222-0.0199652777777715
3174.876.166840277777887.6541666666667-11.4873263888889-1.36684027777777
3275.979.724131944444587.3833333333333-7.65920138888889-3.82413194444445
3386.390.912673611111187.21666666666673.69600694444445-4.61267361111111
3498.792.858506944444487.20416666666675.654340277777785.84149305555556
35100.996.807465277777887.00416666666679.803298611111114.09253472222221
36113.8106.73454861111186.620.13454861111117.06545138888889
3789.895.369965277777886.66258.70746527777777-5.56996527777777
3884.486.753298611111186.8666666666666-0.113368055555541-2.3532986111111
3987.290.140798611111187.29166666666672.84913194444445-2.94079861111111
4085.682.928298611111187.5833333333333-4.655034722222222.67170138888891
417278.100173611111187.5125-9.4123263888889-6.1001736111111
4269.270.074131944444487.5916666666667-17.5175347222222-0.874131944444429
4377.576.516840277777888.0041666666667-11.48732638888890.98315972222224
4478.181.007465277777888.6666666666667-7.65920138888889-2.90746527777777
4594.393.087673611111189.39166666666673.696006944444451.21232638888888
4697.795.200173611111189.54583333333335.654340277777782.49982638888891
47100.299.307465277777889.50416666666679.803298611111110.892534722222223
48116.4109.83871527777889.704166666666720.13454861111116.56128472222221
4997.198.278298611111189.57083333333338.70746527777777-1.17829861111112
509389.899131944444490.0125-0.1133680555555413.10086805555555
519693.461631944444490.61252.849131944444452.53836805555557
5280.585.778298611111190.4333333333333-4.65503472222222-5.27829861111111
5376.181.191840277777890.6041666666667-9.4123263888889-5.09184027777779
5469.973.140798611111190.6583333333333-17.5175347222222-3.2407986111111
5573.679.212673611111190.7-11.4873263888889-5.6126736111111
5692.683.353298611111191.0125-7.659201388888899.2467013888889
5794.294.733506944444491.03753.69600694444445-0.53350694444444
5893.5NANA5.65434027777778NA
59108.5NANA9.80329861111111NA
60109.4NANA20.1345486111111NA
61105.1NANANANA
6292.5NANANANA
6397.1NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/29/t1275133582og1030lm2bj5evc/1arzz1275133532.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/29/t1275133582og1030lm2bj5evc/1arzz1275133532.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/29/t1275133582og1030lm2bj5evc/2l0g21275133532.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/29/t1275133582og1030lm2bj5evc/2l0g21275133532.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/29/t1275133582og1030lm2bj5evc/3l0g21275133532.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/29/t1275133582og1030lm2bj5evc/3l0g21275133532.ps (open in new window)


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