Home » date » 2010 » Dec » 26 »

Paper Statistiek

*The author of this computation has been verified*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 26 Dec 2010 10:47:22 +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/Dec/26/t12933605979toyj30uhryyyev.htm/, Retrieved Sun, 26 Dec 2010 11:50:02 +0100
 
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/Dec/26/t12933605979toyj30uhryyyev.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:
Bouwgrondprijzen per kwartaal (1995-2009) : gemiddelde prijs(€/m²)
 
Dataseries X:
» Textbox « » Textfile « » CSV «
26 26 27 28 27 29 27 30 27 30 32 30 32 33 34 32 34 37 37 36 34 38 41 41 44 42 45 45 49 54 52 53 51 55 60 60 63 60 64 65 75 70 72 69 75 74 74 75 79 79 85 78 84 85 85 82 91 90 98 98
 
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'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
126NANA0.495535714285714NA
226NANA0.0223214285714286NA
32727.584821428571426.8750.709821428571429-0.584821428571427
42826.147321428571427.375-1.227678571428571.85267857142857
52728.245535714285727.750.495535714285714-1.24553571428572
62928.0223214285714280.02232142857142860.977678571428573
72728.959821428571428.250.709821428571429-1.95982142857143
83027.147321428571428.375-1.227678571428572.85267857142857
92729.620535714285729.1250.495535714285714-2.62053571428572
103029.772321428571429.750.02232142857142860.227678571428573
113231.084821428571430.3750.7098214285714290.915178571428573
123030.147321428571431.375-1.22767857142857-0.147321428571427
133232.4955357142857320.495535714285714-0.495535714285715
143332.522321428571432.50.02232142857142860.477678571428569
153433.7098214285714330.7098214285714290.290178571428569
163232.522321428571433.75-1.22767857142857-0.522321428571431
173435.120535714285734.6250.495535714285714-1.12053571428572
183735.522321428571435.50.02232142857142861.47767857142857
193736.7098214285714360.7098214285714290.290178571428569
203634.897321428571436.125-1.227678571428571.10267857142857
213437.245535714285736.750.495535714285714-3.24553571428572
223837.897321428571437.8750.02232142857142860.102678571428569
234140.459821428571439.750.7098214285714290.540178571428569
244140.272321428571441.5-1.227678571428570.72767857142857
254442.995535714285742.50.4955357142857141.00446428571428
264243.522321428571443.50.0223214285714286-1.52232142857143
274545.334821428571444.6250.709821428571429-0.334821428571431
284545.522321428571446.75-1.22767857142857-0.522321428571431
294949.620535714285749.1250.495535714285714-0.620535714285715
305451.0223214285714510.02232142857142862.97767857142857
315252.959821428571452.250.709821428571429-0.95982142857143
325351.397321428571452.625-1.227678571428571.60267857142857
335154.245535714285753.750.495535714285714-3.24553571428572
345555.647321428571455.6250.0223214285714286-0.64732142857143
356058.7098214285714580.7098214285714291.29017857142857
366058.897321428571460.125-1.227678571428571.10267857142857
376361.745535714285761.250.4955357142857141.25446428571428
386062.397321428571462.3750.0223214285714286-2.39732142857143
396465.209821428571464.50.709821428571429-1.20982142857143
406566.022321428571467.25-1.22767857142857-1.02232142857143
417569.995535714285769.50.4955357142857145.00446428571429
427071.0223214285714710.0223214285714286-1.02232142857143
437272.209821428571471.50.709821428571429-0.209821428571431
446970.772321428571472-1.22767857142857-1.77232142857143
457573.245535714285772.750.4955357142857141.75446428571429
467473.772321428571473.750.02232142857142860.227678571428569
477475.7098214285714750.709821428571429-1.70982142857143
487574.897321428571476.125-1.227678571428570.102678571428569
497978.620535714285778.1250.4955357142857140.379464285714292
507979.897321428571479.8750.0223214285714286-0.89732142857143
518581.584821428571480.8750.7098214285714293.41517857142857
527881.022321428571482.25-1.22767857142857-3.02232142857143
538483.4955357142857830.4955357142857140.504464285714292
548583.522321428571483.50.02232142857142861.47767857142857
558585.584821428571484.8750.709821428571429-0.58482142857143
568285.147321428571486.375-1.22767857142857-3.14732142857143
579189.120535714285788.6250.4955357142857141.87946428571429
589092.272321428571492.250.0223214285714286-2.27232142857143
5998NANA0.709821428571429NA
6098NANA-1.22767857142857NA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933605979toyj30uhryyyev/1uwnf1293360439.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933605979toyj30uhryyyev/1uwnf1293360439.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933605979toyj30uhryyyev/2uwnf1293360439.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933605979toyj30uhryyyev/2uwnf1293360439.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933605979toyj30uhryyyev/3n5ni1293360439.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933605979toyj30uhryyyev/3n5ni1293360439.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/26/t12933605979toyj30uhryyyev/4fxm31293360439.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/26/t12933605979toyj30uhryyyev/4fxm31293360439.ps (open in new window)


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