Home » date » 2009 » Jun » 02 »

Opgave 9 - Aantal nieuwe gebouwen - Christophe Morre

*Unverified author*
R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 02 Jun 2009 01:27:26 -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/Jun/02/t1243927681queoa7y84nc7xyk.htm/, Retrieved Tue, 02 Jun 2009 09:28:06 +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/Jun/02/t1243927681queoa7y84nc7xyk.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 «
2194 2419 2742 2137 2710 2173 2363 2126 1905 2121 1983 1734 2074 2049 2406 2558 2251 2059 2397 1747 1707 2319 1631 1627 1791 2034 1997 2169 2028 2253 2218 1855 2187 1852 1570 1851 1954 1828 2251 2277 2085 2282 2266 1878 2267 2069 1746 2299 2360 2214 2825 2355 2333 3016 2155 2172 2150 2533 2058 2160 2260 2498 2695 2799 2945 2930 2318 2540 2570 2669 2450 2842 3440 2678 2981 2259 2844 2546 2456 2295 2379 2479 2057 2280 2351 2275 2543 2305 2188 2720 2398 2147 1898 2538 2081 2057 2497 2460 2195 2823 2100 2640 2342 2171 2482
 
Output produced by software:


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


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
12194NANA45.1602182539683NA
22419NANA-48.6016865079365NA
32742NANA254.457837301587NA
42137NANA112.588789682540NA
52710NANA102.666170634921NA
62173NANA261.874503968254NA
723632241.398313492062212.2529.1483134920635121.601686507937
821261991.160218253972191.83333333333-200.673115079365134.839781746032
919052035.410218253972162.41666666667-127.006448412698-130.410218253968
1021212224.487599206352165.9583333333358.529265873016-103.487599206349
1119831812.797123015872164.375-351.577876984127170.202876984127
1217342003.934027777782140.5-136.565972222222-269.934027777778
1320742182.326884920632137.1666666666745.1602182539683-108.326884920635
1420492074.189980158732122.79166666667-48.6016865079365-25.1899801587301
1524062353.207837301592098.75254.45783730158752.7921626984125
1625582211.338789682542098.75112.588789682540346.661210317460
1722512194.999503968252092.33333333333102.66617063492156.0004960317465
1820592335.082837301592073.20833333333261.874503968254-276.082837301587
1923972086.106646825402056.9583333333329.1483134920635310.893353174603
2017471843.86855158732044.54166666667-200.673115079365-96.8685515873015
2117071899.86855158732026.875-127.006448412698-192.868551587301
2223192052.154265873021993.62558.529265873016266.845734126985
2316311616.547123015871968.125-351.57787698412714.4528769841272
2416271830.350694444441966.91666666667-136.565972222222-203.350694444445
2517912012.701884920631967.5416666666745.1602182539683-221.701884920635
2620341915.981646825401964.58333333333-48.6016865079365118.018353174603
2719972243.541170634921989.08333333333254.457837301587-246.541170634920
2821692102.213789682541989.625112.58878968254066.7862103174602
2920282070.291170634921967.625102.666170634921-42.2911706349205
3022532236.291170634921974.41666666667261.87450396825416.7088293650793
3122182019.689980158731990.5416666666729.1483134920635198.31001984127
3218551788.076884920631988.75-200.67311507936566.923115079365
3321871863.74355158731990.75-127.006448412698323.256448412699
3418522064.362599206352005.8333333333358.529265873016-212.362599206349
3515701661.130456349212012.70833333333-351.577876984127-91.130456349206
3618511879.725694444442016.29166666667-136.565972222222-28.7256944444441
3719542064.660218253972019.545.1602182539683-110.660218253968
3818281973.856646825402022.45833333333-48.6016865079365-145.856646825397
3922512281.207837301592026.75254.457837301587-30.2078373015868
4022772151.713789682542039.125112.588789682540125.286210317460
4120852158.166170634922055.5102.666170634921-73.1661706349203
4222822343.374503968252081.5261.874503968254-61.374503968254
4322662146.231646825402117.0833333333329.1483134920635119.768353174603
4418781949.410218253972150.08333333333-200.673115079365-71.4102182539682
4522672063.076884920632190.08333333333-127.006448412698203.923115079365
4620692275.779265873022217.2558.529265873016-206.779265873016
4717461879.255456349212230.83333333333-351.577876984127-133.255456349206
4822992135.184027777782271.75-136.565972222222163.815972222222
4923602342.86855158732297.7083333333345.160218253968317.1314484126983
5022142256.731646825402305.33333333333-48.6016865079365-42.7316468253971
5128252567.166170634922312.70833333333254.457837301587257.833829365079
5223552439.755456349212327.16666666667112.588789682540-84.7554563492067
5323332462.166170634922359.5102.666170634921-129.166170634920
5430162628.582837301592366.70833333333261.874503968254387.417162698413
5521552385.898313492062356.7529.1483134920635-230.898313492064
5621722163.74355158732364.41666666667-200.6731150793658.25644841269832
5721502243.826884920642370.83333333333-127.006448412698-93.8268849206352
5825332442.445932539682383.9166666666758.52926587301690.5540674603176
5920582076.338789682542427.91666666667-351.577876984127-18.3387896825398
6021602313.267361111112449.83333333333-136.565972222222-153.267361111111
6122602498.201884920632453.0416666666745.1602182539683-238.201884920635
6224982426.564980158732475.16666666667-48.601686507936571.4350198412699
6326952762.457837301592508254.457837301587-67.4578373015875
6427992643.755456349212531.16666666667112.588789682540155.244543650794
6529452655.832837301592553.16666666667102.666170634921289.167162698413
6629302859.791170634922597.91666666667261.87450396825470.208829365079
6723182704.648313492062675.529.1483134920635-386.648313492064
6825402531.49355158732732.16666666667-200.6731150793658.50644841269786
6925702624.576884920642751.58333333333-127.006448412698-54.5768849206352
7026692799.52926587302274158.529265873016-130.529265873016
7124502362.713789682542714.29166666667-351.57787698412787.2862103174607
7228422557.517361111112694.08333333333-136.565972222222284.482638888889
7334402728.99355158732683.8333333333345.1602182539683711.006448412699
7426782630.773313492062679.375-48.601686507936547.2266865079364
7529812915.666170634922661.20833333333254.45783730158765.333829365079
7622592757.922123015872645.33333333333112.588789682540-498.922123015873
7728442723.707837301592621.04166666667102.666170634921120.292162698413
7825462843.124503968252581.25261.874503968254-297.124503968254
7924562541.606646825402512.4583333333329.1483134920635-85.6066468253971
8022952249.618551587302450.29166666667-200.67311507936545.3814484126979
8123792288.243551587302415.25-127.00644841269890.7564484126979
8224792457.445932539682398.9166666666758.52926587301621.5540674603176
8320572021.922123015872373.5-351.57787698412735.0778769841272
8422802216.850694444442353.41666666667-136.56597222222263.1493055555552
8523512403.410218253972358.2545.1602182539683-52.4102182539687
8622752301.064980158732349.66666666667-48.6016865079365-26.0649801587301
8725432577.916170634922323.45833333333254.457837301587-34.9161706349209
8823052418.463789682542305.875112.588789682540-113.463789682539
8921882411.999503968252309.33333333333102.666170634921-223.999503968254
9027202562.916170634922301.04166666667261.874503968254157.083829365080
9123982326.981646825402297.8333333333329.148313492063571.0183531746029
9221472110.951884920632311.625-200.67311507936536.0481150793653
9318982177.826884920642304.83333333333-127.006448412698-279.826884920635
9425382370.445932539682311.9166666666758.529265873016167.554067460318
9520811978.255456349212329.83333333333-351.577876984127102.744543650794
9620572186.267361111112322.83333333333-136.565972222222-129.267361111112
972497NA2317.16666666667NANA
982460NA2315.83333333333NANA
992195NA2341.16666666667NANA
1002823NANANANA
1012100NANANANA
1022640NANANANA
1032342NANANANA
1042171NANANANA
1052482NANANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243927681queoa7y84nc7xyk/1add81243927644.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243927681queoa7y84nc7xyk/1add81243927644.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243927681queoa7y84nc7xyk/2jca21243927644.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243927681queoa7y84nc7xyk/2jca21243927644.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243927681queoa7y84nc7xyk/3wlj71243927644.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243927681queoa7y84nc7xyk/3wlj71243927644.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243927681queoa7y84nc7xyk/40u221243927644.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243927681queoa7y84nc7xyk/40u221243927644.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