Home » date » 2008 » May » 25 »

multiplicatief model prijs eenpersoonskamers - Sam Roggeman

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 25 May 2008 07:21:36 -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/25/t12117217529npgrkg73tkeo8z.htm/, Retrieved Sun, 25 May 2008 15:22:32 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
430,00 433,87 434,55 434,55 434,55 434,55 434,71 434,71 434,71 434,71 434,73 436,34 437,55 439,58 439,65 439,76 439,76 439,76 440,06 440,13 441,18 441,14 441,14 441,19 449,06 456,46 456,79 456,87 457,25 455,93 456,00 456,22 456,22 456,58 457,61 457,61 460,43 460,43 462,18 462,37 462,59 463,19 463,48 464,30 461,41 463,35 463,35 463,35 464,27 472,28 472,36 472,56 472,56 472,56 474,15 474,59 474,97 474,99 474,99 474,99 478,34 485,70 485,75 485,85 485,84 485,85 485,84 486,00 488,79 489,71 489,71 489,71
 
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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1430NANA0.999243518318136NA
2433.87NANA1.00697616543581NA
3434.55NANA1.00634489447381NA
4434.55NANA1.00481138613321NA
5434.55NANA1.00329589799725NA
6434.55NANA1.00109680421736NA
7434.71434.862675966241434.646251.000497935887500.99964890993254
8434.71434.918671830980435.198750.9993564361822750.999520204938312
9434.71434.124297626871435.6491666666670.996499777443711.00134915823954
10434.71434.179950234911436.078750.9956457411302681.00122080663744
11434.73433.95230093831436.5129166666670.994133929076121.00179213028715
12436.34433.494114995458436.9470833333330.9920975137045571.00656499109468
13437.55437.056208016908437.3870833333330.9992435183181361.00112981345199
14439.58440.890248540393437.8358333333331.006976165435810.997028175277792
15439.65441.112415525822438.331251.006344894473810.996684710122977
16439.76440.980317018047438.868751.004811386133210.997232717717882
17439.76440.851979939609439.403751.003295897997250.997523023624033
18439.76440.355371136771439.8729166666671.001096804217360.998647975758229
19440.06440.773951270776440.5545833333331.000497935887500.998380232614206
20440.13441.453213728067441.73750.9993564361822750.997002595774775
21441.18441.603858873068443.1550.996499777443710.999040183040634
22441.14442.646257853655444.5820833333330.9956457411302680.996597152179804
23441.14443.407343048765446.023750.994133929076120.994886546007166
24441.19443.890470191154447.426250.9920975137045570.993916359164028
25449.06448.424684795106448.7641666666670.9992435183181361.00141677125822
26456.46453.238713342452450.098751.006976165435811.00710726282358
27456.79454.25989226175451.3958333333331.006344894473811.00556973613861
28456.87454.843783446809452.6658333333331.004811386133211.00445475265779
29457.25455.491739251219453.9954166666671.003295897997251.00386013751132
30455.93455.865280499777455.3658333333331.001096804217361.00014197067202
31456456.751069558619456.523751.000497935887500.998355626053936
32456.22456.868703154694457.1629166666670.9993564361822750.998580110324444
33456.22455.951379627054457.5529166666670.996499777443711.00058914258175
34456.58456.012387075937458.0066666666670.9956457411302681.00124473137167
35457.61455.768984234356458.4583333333330.994133929076121.00403936167078
36457.61455.35622383183458.9833333333330.9920975137045571.00494947922135
37460.43459.24982291022459.59750.9992435183181361.00256979323868
38460.43463.45658440781460.2458333333331.006976165435810.993469540600708
39462.18463.722469442412460.798751.006344894473810.996673722875092
40462.37463.516561723371461.2970833333331.004811386133210.99752638456087
41462.59463.34043945326461.8183333333331.003295897997250.998380371343919
42463.19462.80371560034462.2966666666671.001096804217361.00083466140534
43463.48462.926226193745462.6958333333331.000497935887501.00119624634536
44464.3463.051388306542463.3495833333330.9993564361822751.00269648623239
45461.41462.642460424348464.26750.996499777443710.997336041263447
46463.35463.091013442981465.116250.9956457411302681.00055925627901
47463.35463.222917590074465.956250.994133929076121.00027434396076
48463.35463.073502366559466.7620833333330.9920975137045571.00059709232342
49464.27467.243354705299467.5970833333330.9992435183181360.993636389527307
50472.28471.738543795117468.4704166666671.006976165435811.00114778877411
51472.36472.442867263401469.4641666666671.006344894473810.999824598339519
52472.56472.777992003643470.5141666666671.004811386133210.999538912539648
53472.56473.038130387318471.4841666666671.003295897997250.99898923499692
54472.56472.972356389178472.4541666666671.001096804217360.999128159640605
55474.15473.761201965267473.5254166666671.000497935887501.00082066246269
56474.59474.36535235967474.6708333333330.9993564361822751.00047357514458
57474.97474.12255306874475.7879166666670.996499777443711.00178740059036
58474.99474.823039092632476.8995833333330.9956457411302681.00035162764572
59474.99475.202645657912478.0066666666670.994133929076120.999552515837496
60474.99475.327560156667479.113750.9920975137045570.999289836767396
61478.34479.791355186579480.1545833333330.9992435183181360.996975028476671
62485.7484.473435700662481.1170833333331.006976165435811.00253174727230
63485.75485.227640526945482.1683333333331.006344894473811.00107652456173
64485.85485.683119572881483.35751.004811386133211.00034359939721
65485.84486.181306651082484.5841666666671.003295897997250.999297984833203
66485.85486.343672704175485.8108333333331.001096804217360.99898493034477
67485.84NANA1.00049793588750NA
68486NANA0.999356436182275NA
69488.79NANA0.99649977744371NA
70489.71NANA0.995645741130268NA
71489.71NANA0.99413392907612NA
72489.71NANA0.992097513704557NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117217529npgrkg73tkeo8z/1k81j1211721688.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117217529npgrkg73tkeo8z/1k81j1211721688.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117217529npgrkg73tkeo8z/250el1211721688.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117217529npgrkg73tkeo8z/250el1211721688.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117217529npgrkg73tkeo8z/3j5ke1211721688.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t12117217529npgrkg73tkeo8z/3j5ke1211721688.ps (open in new window)


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