Home » date » 2009 » Aug » 19 »

clasiccal composition- huur niet -sociale woning - olivier bosiers

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 19 Aug 2009 03:25:11 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Aug/19/t1250674560yepql5361f40mux.htm/, Retrieved Wed, 19 Aug 2009 11:36:00 +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/2009/Aug/19/t1250674560yepql5361f40mux.htm/},
    year = {2009},
}
@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 = {2009},
    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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
102,2 102,4 102,4 102,5 102,5 102,6 102,8 102,9 102,9 103,1 103,2 103,3 103,6 103,7 103,8 104 104 104,1 104,2 104,3 104,4 104,5 104,7 104,7 104,9 105 105,2 105,3 105,4 105,5 105,7 105,8 105,9 106 106,1 106,2 106,6 106,8 107 107,1 107,3 107,4 107,6 107,7 107,9 108,2 108,3 108,5 108,92 109,23 109,41 109,65 109,91 110,01 110,2 110,49 110,57 110,72 110,94 111,09 111,28 111,41 111,62 111,76 111,89 112,04 112,12 112,3 112,47 112,59 112,78 112,73 112,99 113,1 113,33 113,38 113,68 113,65 113,81 113,88 114,02 114,25 114,28 114,38 114,73 114,97 115,05 115,29 115,37 115,54 115,76 115,92 116,02 116,21 116,26 116,51
 
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
1102.2NANA1.00029980351900NA
2102.4NANA1.00043604078401NA
3102.4NANA1.00058351300229NA
4102.5NANA1.00055421507937NA
5102.5NANA1.00051619356683NA
6102.6NANA0.999991294881945NA
7102.8102.793848850280102.7916666666671.000021229187971.00005983966734
8102.9102.891748847867102.9041666666670.9998793263751921.00008019255407
9102.9102.968028170229103.0166666666670.999527857986370.999339327251011
10103.1103.107902353069103.13750.9997130272991780.999923358414936
11103.2103.215904014540103.26250.999548761791940.999845915077796
12103.3103.276744747572103.38750.9989287365259031.00022517414240
13103.6103.539365495912103.5083333333331.000299803519001.00058561788357
14103.7103.670184726243103.6251.000436040784011.00028759738237
15103.8103.806370376017103.7458333333331.000583513002290.99993863212832
16104103.924231139577103.8666666666671.000554215079371.00072907790216
17104104.041177678531103.98751.000516193566830.99960421748917
18104.1104.107427058001104.1083333333330.9999912948819450.999928659671927
19104.2104.223045856995104.2208333333331.000021229187970.999778879452187
20104.3104.316576887952104.3291666666670.9998793263751920.999841090568284
21104.4104.392355367860104.4416666666670.999527857986371.000073229808
22104.5104.524162475076104.5541666666670.9997130272991780.999768833593075
23104.7104.619437067556104.6666666666670.999548761791941.00077005702479
24104.7104.671082775639104.7833333333330.9989287365259031.00027626755732
25104.9104.935617304991104.9041666666671.000299803519000.999660579449517
26105105.074963666844105.0291666666671.000436040784010.999286569662006
27105.2105.215525490162105.1541666666671.000583513002290.999852441071893
28105.3105.337513968377105.2791666666671.000554215079370.999643868865292
29105.4105.454406801944105.41.000516193566830.999484072751492
30105.5105.519914762022105.5208333333330.9999912948819450.9998112701089
31105.7105.656409618831105.6541666666671.000021229187971.00041256731443
32105.8105.787232730495105.80.9998793263751921.00012068818869
33105.9105.899976553656105.950.999527857986371.00000022140084
34106106.069552196443106.10.9997130272991780.99934427745755
35106.1106.206220726901106.2541666666670.999548761791940.998999863415023
36106.2106.298504175563106.41250.9989287365259030.999073324913397
37106.6106.602783644189106.5708333333331.000299803519000.99997388769698
38106.8106.775704936176106.7291666666671.000436040784011.00022753363078
39107106.954039344003106.8916666666671.000583513002291.00042972342399
40107.1107.126004627831107.0666666666671.000554215079370.999757251958368
41107.3107.305361760043107.251.000516193566830.999950032692169
42107.4107.436564743879107.43750.9999912948819450.999659662015757
43107.6107.632284897501107.631.000021229187970.999700044484496
44107.7107.814904681107107.8279166666670.9998793263751920.998934241221593
45107.9107.978578028327108.0295833333330.999527857986370.999272281319485
46108.2108.205189151011108.236250.9997130272991780.999952043418145
47108.3108.402312652288108.451250.999548761791940.999056176480142
48108.5108.552337137349108.668750.9989287365259030.999517862639079
49108.92108.918477689336108.8858333333331.000299803519001.00001397660614
50109.23109.157993258293109.1104166666671.000436040784011.00065965615121
51109.41109.401716762685109.3379166666671.000583513002291.00007571396099
52109.65109.614883237841109.5541666666671.000554215079371.00032036490960
53109.91109.825828804337109.7691666666671.000516193566831.00076640619588
54110.01109.986125882788109.9870833333330.9999912948819451.00021706480722
55110.2110.195672648320110.1933333333331.000021229187971.00003926970612
56110.49110.369179743610110.38250.9998793263751921.00109469198440
57110.57110.513214088204110.5654166666670.999527857986371.00051383820717
58110.72110.713635755342110.7454166666670.9997130272991781.0000574838376
59110.94110.865783871455110.9158333333330.999548761791941.00066942320664
60111.09110.963917595446111.0829166666670.9989287365259031.00113624687454
61111.28111.280852391980111.24751.000299803519000.99999234017388
62111.41111.451492881791111.4029166666671.000436040784010.999627704567093
63111.62111.622595251753111.55751.000583513002290.99997674976337
64111.76111.776497240002111.7145833333331.000554215079370.999852408686892
65111.89111.926912810827111.8691666666671.000516193566830.999670206120225
66112.04112.013191570122112.0141666666670.9999912948819451.00023933279199
67112.12112.156130933040112.153751.000021229187970.99967785146706
68112.3112.281865571688112.2954166666670.9998793263751921.00016150807808
69112.47112.383997062402112.4370833333330.999527857986371.00076525964413
70112.59112.543527142394112.5758333333330.9997130272991781.00041293230082
71112.78112.667054035934112.7179166666670.999548761791941.00100247552430
72112.73112.738680984007112.8595833333330.9989287365259030.99992299906358
73112.99113.030960256553112.9970833333331.000299803519000.999637619140276
74113.1113.182664080697113.1333333333331.000436040784010.999269640086946
75113.33113.329840870813113.263751.000583513002291.00000140412433
76113.38113.460346604463113.39751.000554215079370.99929185299651
77113.68113.587769692148113.5291666666671.000516193566831.00081197393084
78113.65113.659427239321113.6604166666670.9999912948819450.999917057128033
79113.81113.804082583640113.8016666666671.000021229187971.00005199652092
80113.88113.938332322383113.9520833333330.9998793263751920.99948803601743
81114.02114.047794476008114.1016666666670.999527857986370.9997562909819
82114.25114.220129198594114.2529166666670.9997130272991781.00026151959042
83114.28114.351293699553114.4029166666670.999548761791940.99937653788386
84114.38114.429367870577114.5520833333330.9989287365259030.999568573422232
85114.73114.746474419588114.7120833333331.000299803519000.999856427662186
86114.97114.928424971865114.8783333333331.000436040784011.00036174713214
87115.05115.113797892537115.0466666666671.000583513002290.999445784139654
88115.29115.275518709653115.2116666666671.000554215079371.00012562329373
89115.37115.435389596268115.3758333333331.000516193566830.999433539432778
90115.54115.546077482332115.5470833333330.9999912948819450.999947402088722
91115.76NANA1.00002122918797NA
92115.92NANA0.999879326375192NA
93116.02NANA0.99952785798637NA
94116.21NANA0.999713027299178NA
95116.26NANA0.99954876179194NA
96116.51NANA0.998928736525903NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t1250674560yepql5361f40mux/1se1b1250673905.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t1250674560yepql5361f40mux/1se1b1250673905.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t1250674560yepql5361f40mux/2ik4k1250673905.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t1250674560yepql5361f40mux/2ik4k1250673905.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t1250674560yepql5361f40mux/3iidd1250673905.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t1250674560yepql5361f40mux/3iidd1250673905.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t1250674560yepql5361f40mux/48v6a1250673905.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/19/t1250674560yepql5361f40mux/48v6a1250673905.ps (open in new window)


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