Home » date » 2009 » May » 29 »

classical decomposition - werkloosheid australie - Magali van de Wildebergh

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Fri, 29 May 2009 06:17:13 -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/May/29/t12435998595o95oohuuau78xd.htm/, Retrieved Fri, 29 May 2009 14:24:25 +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/May/29/t12435998595o95oohuuau78xd.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 «
428800 424800 403400 398400 393500 380500 398300 387300 370400 372800 444600 449900 458100 424800 420600 400100 393000 387100 377500 400400 391400 363600 431000 441700 448500 415600 408000 416600 409300 387600 394500 407600 378500 359600 435700 433800 427700 413300 379500 379300 353700 378200 380600 394000 374000 375000 437600 443900 488800 463900 440000 453800 451600 453400 461400 509100 540600 555100 677400 694600 750100 733900 709300 720500 693200 687200 686800 720900 653100 624700 690000 717800 736500 699900 675600 635600 632500 594900 604000 620800 578400 571200 627400 657700 674100 672800 615300 609100 607600 566900 572700 589200 534800 543100 591100 624800 665300 642600 608700 594500 563800 596100 597600 633100 591000 584200 655800 670700 699700 712900 652000 635100 603100 610100 602000 597600 585400 567100 620600 646200 644800 645200 644800 593000 569100 518800 538700 554600 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
1428800NANA67666.6883680555NA
2424800NANA39021.1154513889NA
3403400NANA8950.28211805554NA
4398400NANA-3284.61371527777NA
5393500NANA-23030.1866319444NA
6380500NANA-29495.8116319445NA
7398300376594.032118056405612.5-29018.467881944421705.9678819444
8387300401507.052951389406833.333333333-5326.28038194444-14207.0529513889
9370400365816.167534722407550-41733.83246527784583.83246527781
10372800359812.261284722408337.5-48525.238715277812987.7387152778
11444600427296.375868056408387.518908.875868055617303.6241319444
12449900454509.136284722408641.66666666745867.4696180555-4609.13628472225
13458100475716.68836805640805067666.6883680555-17616.6883680555
14424800446750.282118056407729.16666666739021.1154513889-21950.2821180556
15420600418100.2821180564091508950.282118055542499.71788194444
16400100406357.052951389409641.666666667-3284.61371527777-6257.05295138888
17393000385661.480034722408691.666666667-23030.18663194447338.51996527775
18387100378287.521701389407783.333333333-29495.81163194458812.47829861118
19377500378023.198784722407041.666666667-29018.4678819444-523.198784722248
20400400400932.052951389406258.333333333-5326.28038194444-532.052951388876
21391400363616.167534722405350-41733.832465277827783.8324652778
22363600356987.261284722405512.5-48525.23871527786612.73871527781
23431000425788.042534722406879.16666666718908.87586805565211.95746527781
24441700453446.636284722407579.16666666745867.4696180555-11746.6362847222
25448500475975.021701389408308.33333333367666.6883680555-27475.0217013889
26415600448337.782118056409316.66666666739021.1154513889-32737.7821180555
27408000418029.448784722409079.1666666678950.28211805554-10029.4487847222
28416600405090.386284722408375-3284.6137152777711509.6137152778
29409300385373.980034722408404.166666667-23030.186631944423926.0199652779
30387600378775.021701389408270.833333333-29495.81163194458824.97829861118
31394500378056.532118056407075-29018.467881944416443.4678819445
32407600400786.219618056406112.5-5326.280381944446813.78038194444
33378500363095.334201389404829.166666667-41733.832465277815404.6657986111
34359600353562.261284722402087.5-48525.23871527786037.73871527781
35435700417125.542534722398216.66666666718908.875868055618574.4574652778
36433800441375.802951389395508.33333333345867.4696180555-7575.80295138888
37427700462204.188368056394537.567666.6883680555-34504.1883680555
38413300432412.782118056393391.66666666739021.1154513889-19112.7821180555
39379500401587.782118056392637.58950.28211805554-22087.7821180555
40379300389807.052951389393091.666666667-3284.61371527777-10507.0529513889
41353700370782.313368056393812.5-23030.1866319444-17082.3133680556
42378200364816.688368056394312.5-29495.811631944513383.3116319445
43380600368260.698784722397279.166666667-29018.467881944412339.3012152778
44394000396607.052951389401933.333333333-5326.28038194444-2607.05295138882
45374000364828.667534722406562.5-41733.83246527789171.33246527775
46375000363662.261284722412187.5-48525.238715277811337.7387152778
47437600438279.709201389419370.83333333318908.8758680556-679.709201388876
48443900472450.802951389426583.33333333345867.4696180555-28550.8029513888
49488800500750.021701389433083.33333333367666.6883680555-11950.0217013888
50463900480266.948784722441245.83333333339021.1154513889-16366.9487847222
51440000461933.615451389452983.3333333338950.28211805554-21933.6154513888
52453800464144.552951389467429.166666667-3284.61371527777-10344.5529513889
53451600461894.813368056484925-23030.1866319444-10294.8133680555
54453400475866.688368056505362.5-29495.8116319445-22466.6883680554
55461400497677.365451389526695.833333333-29018.4678819444-36277.3654513888
56509100543507.052951389548833.333333333-5326.28038194444-34407.0529513888
57540600529570.334201389571304.166666667-41733.832465277811029.6657986111
58555100545112.261284722593637.5-48525.23871527789987.73871527775
59677400633725.542534722614816.66666666718908.875868055643674.4574652779
60694600680492.46961805563462545867.469618055514107.5303819446
61750100721425.021701389653758.33333333367666.688368055528674.9782986112
62733900710996.11545138967197539021.115451388922903.8845486112
63709300694437.782118056685487.58950.2821180555414862.2178819445
64720500689790.386284722693075-3284.6137152777730709.6137152778
65693200673469.813368056696500-23030.186631944419730.1866319443
66687200668495.855034722697991.666666667-29495.811631944518704.1449652778
67686800669373.198784722698391.666666667-29018.467881944417426.8012152776
68720900691082.052951389696408.333333333-5326.2803819444429817.9470486112
69653100651853.667534722693587.5-41733.83246527781246.33246527798
70624700640120.594618056688645.833333333-48525.2387152778-15420.5946180555
71690000701488.042534722682579.16666666718908.8758680556-11488.0425347222
72717800722071.636284722676204.16666666745867.4696180555-4271.63628472225
73736500736575.021701389668908.33333333367666.6883680555-75.0217013887595
74699900700308.615451389661287.539021.1154513889-408.615451388992
75675600662954.448784722654004.1666666678950.2821180555412645.5512152778
76635600645377.886284722648662.5-3284.61371527777-9777.88628472225
77632500620794.813368056643825-23030.186631944411705.1866319445
78594900609216.688368056638712.5-29495.8116319445-14316.6883680555
79604000604589.865451389633608.333333333-29018.4678819444-589.865451388876
80620800624552.886284722629879.166666667-5326.28038194444-3752.88628472213
81578400584503.667534722626237.5-41733.8324652778-6103.66753472213
82571200574095.594618056622620.833333333-48525.2387152778-2895.59461805550
83627400639388.042534722620479.16666666718908.8758680556-11988.0425347222
84657700664142.46961805661827545867.4696180555-6442.4696180555
85674100683470.855034722615804.16666666767666.6883680555-9370.85503472213
86672800652204.448784722613183.33333333339021.115451388920595.5512152779
87615300619000.2821180566100508950.28211805554-3700.28211805550
88609100603777.886284722607062.5-3284.613715277775322.11371527775
89607600581348.980034722604379.166666667-23030.186631944426251.0199652778
90566900572000.021701389601495.833333333-29495.8116319445-5100.02170138876
91572700570739.865451389599758.333333333-29018.46788194441960.13454861112
92589200592807.052951389598133.333333333-5326.28038194444-3607.05295138888
93534800554866.167534722596600-41733.8324652778-20066.1675347222
94543100547191.427951389595716.666666667-48525.2387152778-4091.42795138888
95591100612192.209201389593283.33333333318908.8758680556-21092.2092013889
96624800638542.46961805659267545867.4696180555-13742.4696180556
97665300662595.855034722594929.16666666767666.68836805552704.14496527775
98642600636816.948784722597795.83333333339021.11545138895783.05121527787
99608700610916.948784722601966.6666666678950.28211805554-2216.94878472225
100594500602736.219618056606020.833333333-3284.61371527777-8236.21961805562
101563800587398.980034722610429.166666667-23030.1866319444-23598.9800347221
102596100585541.688368056615037.5-29495.811631944510558.3116319445
103597600589364.865451389618383.333333333-29018.46788194448235.134548611
104633100617419.552951389622745.833333333-5326.2803819444415680.4470486112
105591000585745.334201389627479.166666667-41733.83246527785254.66579861112
106584200582449.761284722630975-48525.23871527781750.23871527775
107655800653213.042534722634304.16666666718908.87586805562586.95746527775
108670700682392.46961805663652545867.4696180555-11692.4696180555
109699700704958.355034722637291.66666666767666.6883680555-5258.35503472213
110712900675016.948784722635995.83333333339021.115451388937883.0512152779
111652000643233.615451389634283.3333333338950.282118055548766.38454861112
112635100630052.886284722633337.5-3284.613715277775047.11371527787
113603100608128.146701389631158.333333333-23030.1866319444-5028.14670138888
114610100599175.021701389628670.833333333-29495.811631944510924.9782986111
115602000596344.032118056625362.5-29018.46788194445655.96788194438
116597600614927.886284722620254.166666667-5326.28038194444-17327.8862847221
117585400575399.500868056617133.333333333-41733.832465277810000.4991319445
118567100566553.927951389615079.166666667-48525.2387152778546.072048611124
119620600630817.209201389611908.33333333318908.8758680556-10217.2092013889
120646200652554.969618056606687.545867.4696180555-6354.9696180555
121644800667912.521701389600245.83333333367666.6883680555-23112.5217013889
122645200634837.782118056595816.66666666739021.115451388910362.2178819445
123644800599746.115451389590795.8333333338950.2821180555445053.8845486112
124593000581002.886284722584287.5-3284.6137152777711997.1137152779
125569100555590.646701389578620.833333333-23030.186631944413509.353298611
126518800544495.855034722573991.666666667-29495.8116319445-25695.8550347221
127538700540785.698784722569804.166666667-29018.4678819444-2085.69878472225
128554600558411.219618056563737.5-5326.28038194444-3811.21961805550
129507900512520.334201389554254.166666667-41733.8324652778-4620.33420138888
130488400497262.261284722545787.5-48525.2387152778-8862.26128472225
131563300557771.375868056538862.518908.87586805565528.62413194438
132592400579434.136284722533566.66666666745867.469618055512965.8637152779
133598100596870.855034722529204.16666666767666.68836805551229.14496527775
134546300563116.948784722524095.83333333339021.1154513889-16816.9487847222
135516100528721.115451389519770.8333333338950.28211805554-12621.1154513889
136518500512644.552951389515929.166666667-3284.613715277775855.44704861112
137477400488603.146701389511633.333333333-23030.1866319444-11203.1467013888
138483400477829.188368056507325-29495.81163194455570.81163194455
139469400476373.198784722505391.666666667-29018.4678819444-6973.19878472213
140501300499990.386284722505316.666666667-5326.280381944441309.61371527787
141457400464445.334201389506179.166666667-41733.8324652778-7045.33420138888
142446700459741.427951389508266.666666667-48525.2387152778-13041.4279513889
143501900531192.209201389512283.33333333318908.8758680556-29292.2092013889
144550400564413.302951389518545.83333333345867.4696180555-14013.3029513889
145593700594708.355034722527041.66666666767666.6883680555-1008.35503472225
146548900576246.11545138953722539021.1154513889-27346.1154513889
147534200557675.2821180565487258950.28211805554-23475.2821180556
148550500559290.386284722562575-3284.61371527777-8790.38628472225
149541800555607.313368056578637.5-23030.1866319444-13807.3133680556
150569300566641.688368056596137.5-29495.81163194452658.31163194438
151587400585277.365451389614295.833333333-29018.46788194442122.63454861112
152627700629561.219618056634887.5-5326.28038194444-1861.21961805550
153607000618062.000868056659795.833333333-41733.8324652778-11062.0008680555
154629500635595.594618056684120.833333333-48525.2387152778-6095.5946180555
155704600723196.375868056704287.518908.8758680556-18596.3758680556
156767700769100.802951389723233.33333333345867.4696180555-1400.80295138899
157812200809691.68836805674202567666.68836805552508.31163194438
158824600800133.615451389761112.539021.115451388924466.3845486111
159856300788150.2821180557792008950.2821180555468149.7178819446
160812200791857.052951389795141.666666667-3284.6137152777720342.9470486112
161764100788957.313368056811987.5-23030.1866319444-24857.3133680556
162801700799504.188368056829000-29495.81163194452195.81163194450
163806000815710.698784722844729.166666667-29018.4678819444-9710.69878472225
164867200852319.552951389857645.833333333-5326.2803819444414880.4470486111
165801600823374.500868056865108.333333333-41733.8324652778-21774.5008680555
166817500823366.427951389871891.666666667-48525.2387152778-5866.42795138876
167920900901563.042534722882654.16666666718908.875868055619336.9574652779
168959700939967.46961805589410045867.469618055519732.5303819447
169997700971141.68836805590347567666.688368055526558.3116319446
170949100949133.615451389910112.539021.1154513889-33.6154513887595
171910900925721.115451389916770.8333333338950.28211805554-14821.1154513886
172920400920932.052951389924216.666666667-3284.61371527777-532.05295138876
173914200906886.480034722929916.666666667-23030.18663194447313.51996527787
174926300904962.521701389934458.333333333-29495.811631944521337.4782986112
175906400909444.032118056938462.5-29018.4678819444-3044.03211805562
176926100936336.219618056941662.5-5326.28038194444-10236.2196180555
177902500901653.667534722943387.5-41733.8324652778846.332465277752
178895300895437.261284722943962.5-48525.2387152778-137.261284722248
179979900963013.042534722944104.16666666718908.875868055616886.9574652776
1801009700988542.46961805694267545867.469618055521157.5303819444
18110438001009300.02170139941633.33333333367666.688368055534499.9782986111
182979800981287.782118056942266.66666666739021.1154513889-1487.78211805562
183921600951446.115451389942495.8333333338950.28211805554-29846.1154513889
184923500939140.386284722942425-3284.61371527777-15640.3862847222
185914500917728.146701389940758.333333333-23030.1866319444-3228.14670138888
186891700908429.188368056937925-29495.8116319445-16729.1883680556
187916000906135.698784722935154.166666667-29018.46788194449864.30121527775
188931700927015.386284722932341.666666667-5326.280381944444684.61371527775
189902400887732.834201389929466.666666667-41733.832465277814667.165798611
190893700876274.761284722924800-48525.238715277817425.2387152778
191941500937504.709201389918595.83333333318908.87586805563995.29079861112
192980100957667.46961805591180045867.469618055522432.5303819446
1931006900970887.521701389903220.83333333367666.688368055536012.4782986112
194949200933116.948784722894095.83333333339021.115451388916083.0512152778
195883200892629.448784722883679.1666666678950.28211805554-9429.44878472225
196849900868782.052951389872066.666666667-3284.61371527777-18882.052951389
197839200838057.313368056861087.5-23030.18663194441142.68663194438
198803900820745.855034722850241.666666667-29495.8116319445-16845.8550347221
199797900810927.365451389839945.833333333-29018.4678819444-13027.3654513889
200830800824027.886284722829354.166666667-5326.280381944446772.11371527787
201753300776216.167534722817950-41733.8324652778-22916.1675347222
202764100759570.594618056808095.833333333-48525.23871527784529.4053819445
203807600818225.542534722799316.66666666718908.8758680556-10625.5425347221
204853700836488.302951389790620.83333333345867.469618055517211.6970486111
205886200NA783525NANA
206815700NANANANA
207743000NANANANA
208753600NANANANA
209724800NANANANA
210709600NANANANA
211721900NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435998595o95oohuuau78xd/19p7w1243599430.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435998595o95oohuuau78xd/19p7w1243599430.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435998595o95oohuuau78xd/22wjq1243599430.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435998595o95oohuuau78xd/22wjq1243599430.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435998595o95oohuuau78xd/3vqjo1243599430.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435998595o95oohuuau78xd/3vqjo1243599430.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435998595o95oohuuau78xd/4u1mi1243599430.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435998595o95oohuuau78xd/4u1mi1243599430.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