Home » date » 2008 » Jun » 01 »

aankoop nieuwe en tweedehands wagens

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Sun, 01 Jun 2008 11:19:14 -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/Jun/01/t1212340812pgqdbjlxs4d10fe.htm/, Retrieved Sun, 01 Jun 2008 17:20:12 +0000
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
102,8 103,1 103,1 103,3 103,5 103,3 103,5 103,8 103,9 103,9 104,2 104,6 104,9 105,2 105,2 105,6 105,6 106,2 106,3 106,4 106,9 107,2 107,3 107,3 107,4 107,55 107,87 108,37 108,38 107,92 108,03 108,14 108,3 108,64 108,66 109,04 109,03 109,03 109,54 109,75 109,83 109,65 109,82 109,95 110,12 110,15 110,2 109,99 110,14 110,14 110,81 110,97 110,99 109,73 109,81 110,02 110,18 110,21 110,25 110,36 110,51 110,64 110,95 111,18 111,19 111,69 111,7 111,83 111,77 111,73 112,01 111,86 112,04
 
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 time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1102.8NANA-0.0494704861111028NA
2103.1NANA-0.067491319444434NA
3103.1NANA0.177300347222223NA
4103.3NANA0.363654513888887NA
5103.5NANA0.262404513888884NA
6103.3NANA-0.185616319444440NA
7103.5103.481779513889103.670833333333-0.1890538194444410.0182204861111046
8103.8103.679175347222103.845833333333-0.166657986111110.120824652777770
9103.9103.985112847222104.020833333333-0.0357204861111153-0.0851128472222058
10103.9104.225425347222104.2041666666670.0212586805555492-0.325425347222193
11104.2104.344904513889104.3875-0.0425954861111197-0.144904513888875
12104.6104.507821180556104.595833333333-0.08801215277778060.092178819444456
13104.9104.783862847222104.833333333333-0.04947048611110280.116137152777796
14105.2104.990842013889105.058333333333-0.0674913194444340.209157986111109
15105.2105.468967013889105.2916666666670.177300347222223-0.268967013888897
16105.6105.917821180556105.5541666666670.363654513888887-0.317821180555555
17105.6106.083237847222105.8208333333330.262404513888884-0.483237847222213
18106.2105.876883680556106.0625-0.1856163194444400.323116319444452
19106.3106.090112847222106.279166666667-0.1890538194444410.209887152777767
20106.4106.314592013889106.48125-0.166657986111110.0854079861111217
21106.9106.654696180556106.690416666667-0.03572048611111530.245303819444459
22107.2106.938342013889106.9170833333330.02125868055554920.261657986111132
23107.3107.105737847222107.148333333333-0.04259548611111970.194262152777796
24107.3107.247821180556107.335833333333-0.08801215277778060.0521788194444639
25107.4107.430112847222107.479583333333-0.0494704861111028-0.030112847222199
26107.55107.556675347222107.624166666667-0.067491319444434-0.0066753472222274
27107.87107.932300347222107.7550.177300347222223-0.0623003472222194
28108.37108.236987847222107.8733333333330.3636545138888870.133012152777795
29108.38108.252404513889107.990.2624045138888840.127595486111119
30107.92107.933550347222108.119166666667-0.185616319444440-0.0135503472222211
31108.03108.070529513889108.259583333333-0.189053819444441-0.0405295138888562
32108.14108.222508680556108.389166666667-0.16665798611111-0.0825086805555486
33108.3108.484696180556108.520416666667-0.0357204861111153-0.184696180555562
34108.64108.668758680556108.64750.0212586805555492-0.0287586805555406
35108.66108.722821180556108.765416666667-0.0425954861111197-0.0628211805555452
36109.04108.809904513889108.897916666667-0.08801215277778060.230095486111125
37109.03108.995112847222109.044583333333-0.04947048611110280.0348871527777703
38109.03109.127092013889109.194583333333-0.067491319444434-0.0970920138888687
39109.54109.523133680556109.3458333333330.1773003472222230.0168663194444463
40109.75109.848237847222109.4845833333330.363654513888887-0.0982378472222365
41109.83109.874071180556109.6116666666670.262404513888884-0.0440711805555623
42109.65109.529800347222109.715416666667-0.1856163194444400.120199652777757
43109.82109.612196180556109.80125-0.1890538194444410.207803819444436
44109.95109.727092013889109.89375-0.166657986111110.222907986111110
45110.12109.957196180556109.992916666667-0.03572048611111530.162803819444449
46110.15110.117925347222110.0966666666670.02125868055554920.03207465277778
47110.2110.153237847222110.195833333333-0.04259548611111970.0467621527777879
48109.99110.159487847222110.2475-0.0880121527777806-0.169487847222214
49110.14110.200946180556110.250416666667-0.0494704861111028-0.0609461805555611
50110.14110.185425347222110.252916666667-0.067491319444434-0.0454253472222348
51110.81110.435633680556110.2583333333330.1773003472222230.374366319444448
52110.97110.626987847222110.2633333333330.3636545138888870.343012152777789
53110.99110.530321180556110.2679166666670.2624045138888840.459678819444463
54109.73110.099800347222110.285416666667-0.185616319444440-0.36980034722221
55109.81110.127196180556110.31625-0.189053819444441-0.317196180555555
56110.02110.185842013889110.3525-0.16665798611111-0.165842013888906
57110.18110.343446180556110.379166666667-0.0357204861111153-0.163446180555539
58110.21110.415008680556110.393750.0212586805555492-0.205008680555565
59110.25110.368237847222110.410833333333-0.0425954861111197-0.118237847222218
60110.36110.412821180556110.500833333333-0.0880121527777806-0.0528211805555827
61110.51110.611779513889110.66125-0.0494704861111028-0.1017795138889
62110.64110.747925347222110.815416666667-0.067491319444434-0.107925347222221
63110.95111.134383680556110.9570833333330.177300347222223-0.184383680555541
64111.18111.450321180556111.0866666666670.363654513888887-0.270321180555527
65111.19111.485737847222111.2233333333330.262404513888884-0.295737847222213
66111.69111.173550347222111.359166666667-0.1856163194444400.51644965277778
67111.7111.296362847222111.485416666667-0.1890538194444410.403637152777762
68111.83NANA-0.16665798611111NA
69111.77NANA-0.0357204861111153NA
70111.73NANA0.0212586805555492NA
71112.01NANA-0.0425954861111197NA
72111.86NANA-0.0880121527777806NA
73112.04NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212340812pgqdbjlxs4d10fe/1u3qf1212340749.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212340812pgqdbjlxs4d10fe/1u3qf1212340749.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212340812pgqdbjlxs4d10fe/2xbcs1212340749.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212340812pgqdbjlxs4d10fe/2xbcs1212340749.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212340812pgqdbjlxs4d10fe/3cgzd1212340749.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212340812pgqdbjlxs4d10fe/3cgzd1212340749.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212340812pgqdbjlxs4d10fe/4zqkk1212340749.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212340812pgqdbjlxs4d10fe/4zqkk1212340749.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