Home » date » 2011 » May » 16 »

Gemiddelde temperatuur Nederland

*Unverified author*
R Software Module: /rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Mon, 16 May 2011 19:09:09 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9.htm/, Retrieved Mon, 16 May 2011 21:06:21 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W92
 
Dataseries X:
» Textbox « » Textfile « » CSV «
17 16.7 15.4 15.1 16.1 17 16.1 14.3 16.1 14.8 15.9 17.6 15.9 14.8 16.5 15.6 14.6 17.1 15.2 14.8 15.4 16.6 15.1 15.4 15.2 16.6 16.1 15.7 15.8 15.7 16.9 15.9 17.1 17 16.6 17.1 16.6 16.6 16.5 17 15.9 17 16.1 16.1 16.8 16.7 15.7 18.7 16.1 16.3 17.2 16.1 16.5 16.5 15.1 16.7 14.4 16.2 15.9 17.3 15.6 15.6 14.7 15.8 15.8 14.8 16.1 16.3 16.1 17.4 16.7 16.1 15.4 16.9 15.5 17.6 18.4 15.9 15.2 15.5 15.9 15.8 17.6 18.2 15.9 15.7 16.4 15.6 15.8 17 16.8 16.6 17.7 15.7 18 18.2 16.4 18 16.3
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ www.wessa.org


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
117NANA-0.318204365079364NA
216.7NANA-0.0789186507936503NA
315.4NANA-0.0449900793650803NA
415.1NANA0.0115575396825393NA
516.1NANA-0.0920138888888894NA
617NANA0.0633432539682545NA
716.115.647867063492115.9625-0.3146329365079380.452132936507939
814.315.572271825396815.8375-0.265228174603174-1.27227182539682
916.115.735367063492115.8041666666667-0.0687996031746020.364632936507935
1014.816.271676587301615.87083333333330.400843253968253-1.47167658730159
1115.915.683581349206315.8291666666667-0.1455853174603170.216418650793653
1217.616.623462301587315.77083333333330.8526289682539690.9765376984127
1315.915.419295634920615.7375-0.3182043650793640.480704365079369
1414.815.641914682539715.7208333333333-0.0789186507936503-0.84191468253968
1516.515.667509920634915.7125-0.04499007936508030.832490079365083
1615.615.769890873015915.75833333333330.0115575396825393-0.16989087301587
1714.615.707986111111115.8-0.0920138888888894-1.10798611111111
1817.115.738343253968315.6750.06334325396825451.36165674603174
1915.215.239533730158715.5541666666667-0.314632936507938-0.0395337301587322
2014.815.334771825396815.6-0.265228174603174-0.534771825396822
2115.415.589533730158715.6583333333333-0.068799603174602-0.189533730158729
2216.616.046676587301615.64583333333330.4008432539682530.553323412698415
2315.115.554414682539715.7-0.145585317460317-0.45441468253968
2415.416.544295634920615.69166666666670.852628968253969-1.14429563492063
2515.215.385962301587315.7041666666667-0.318204365079364-0.185962301587303
2616.615.741914682539715.8208333333333-0.07891865079365030.858085317460318
2716.115.892509920634915.9375-0.04499007936508030.207490079365083
2815.716.036557539682516.0250.0115575396825393-0.336557539682538
2915.816.012152777777816.1041666666667-0.0920138888888894-0.212152777777778
3015.716.300843253968316.23750.0633432539682545-0.600843253968252
3116.916.052033730158716.3666666666667-0.3146329365079380.847966269841269
3215.916.159771825396816.425-0.265228174603174-0.259771825396825
3317.116.372867063492116.4416666666667-0.0687996031746020.727132936507935
341716.913343253968316.51250.4008432539682530.0866567460317462
3516.616.42524801587316.5708333333333-0.1455853174603170.174751984126985
3617.117.481795634920616.62916666666670.852628968253969-0.381795634920628
3716.616.331795634920616.65-0.3182043650793640.268204365079367
3816.616.546081349206416.625-0.07891865079365030.0539186507936513
3916.516.575843253968316.6208333333333-0.0449900793650803-0.0758432539682516
401716.607390873015916.59583333333330.01155753968253930.39260912698413
4115.916.453819444444416.5458333333333-0.0920138888888894-0.553819444444441
421716.638343253968316.5750.06334325396825450.361656746031748
4316.116.306200396825416.6208333333333-0.314632936507938-0.206200396825391
4416.116.322271825396816.5875-0.265228174603174-0.222271825396824
4516.816.535367063492116.6041666666667-0.0687996031746020.264632936507937
4616.716.996676587301616.59583333333330.400843253968253-0.296676587301587
4715.716.43774801587316.5833333333333-0.145585317460317-0.737748015873018
4818.717.44012896825416.58750.8526289682539691.25987103174603
4916.116.206795634920616.525-0.318204365079364-0.106795634920637
5016.316.429414682539716.5083333333333-0.0789186507936503-0.129414682539682
5117.216.388343253968316.4333333333333-0.04499007936508030.811656746031748
5216.116.324057539682516.31250.0115575396825393-0.224057539682541
5316.516.207986111111116.3-0.09201388888888940.292013888888889
5416.516.313343253968316.250.06334325396825450.186656746031744
5515.115.856200396825416.1708333333333-0.314632936507938-0.756200396825397
5616.715.855605158730216.1208333333333-0.2652281746031740.844394841269839
5714.415.918700396825415.9875-0.068799603174602-1.51870039682539
5816.216.271676587301615.87083333333330.400843253968253-0.071676587301587
5915.915.683581349206315.8291666666667-0.1455853174603170.216418650793653
6017.316.581795634920615.72916666666670.8526289682539690.71820436507937
6115.615.381795634920615.7-0.3182043650793640.218204365079368
6215.615.646081349206315.725-0.0789186507936503-0.0460813492063465
6314.715.734176587301615.7791666666667-0.0449900793650803-1.03417658730159
6415.815.911557539682515.90.0115575396825393-0.111557539682536
6515.815.891319444444415.9833333333333-0.0920138888888894-0.0913194444444425
6614.816.030009920634915.96666666666670.0633432539682545-1.23000992063492
6716.115.593700396825415.9083333333333-0.3146329365079380.506299603174606
6816.315.688938492063515.9541666666667-0.2652281746031740.611061507936508
6916.115.972867063492116.0416666666667-0.0687996031746020.127132936507937
7017.416.550843253968316.150.4008432539682530.849156746031742
7116.716.18774801587316.3333333333333-0.1455853174603170.512251984126983
7216.117.34012896825416.48750.852628968253969-1.24012896825396
7315.416.17762896825416.4958333333333-0.318204365079364-0.77762896825397
7416.916.346081349206316.425-0.07891865079365030.553918650793651
7515.516.338343253968316.3833333333333-0.0449900793650803-0.838343253968253
7617.616.319890873015916.30833333333330.01155753968253931.28010912698413
7718.416.187152777777816.2791666666667-0.09201388888888942.21284722222222
7815.916.467509920634916.40416666666670.0633432539682545-0.567509920634919
7915.216.197867063492116.5125-0.314632936507938-0.997867063492063
8015.516.218105158730216.4833333333333-0.265228174603174-0.718105158730159
8115.916.402033730158716.4708333333333-0.068799603174602-0.502033730158729
8215.816.825843253968316.4250.400843253968253-1.02584325396825
8317.616.08774801587316.2333333333333-0.1455853174603171.51225198412699
8418.217.023462301587316.17083333333330.8526289682539691.1765376984127
8515.915.96512896825416.2833333333333-0.318204365079364-0.065128968253962
8615.716.316914682539716.3958333333333-0.0789186507936503-0.616914682539683
8716.416.471676587301616.5166666666667-0.0449900793650803-0.0716765873015852
8815.616.599057539682516.58750.0115575396825393-0.999057539682537
8915.816.507986111111116.6-0.0920138888888894-0.707986111111108
901716.680009920634916.61666666666670.06334325396825450.319990079365081
9116.816.322867063492116.6375-0.3146329365079380.477132936507939
9216.616.488938492063516.7541666666667-0.2652281746031740.111061507936512
9317.716.777033730158716.8458333333333-0.0687996031746020.922966269841268
9415.7NANA0.400843253968253NA
9518NANA-0.145585317460317NA
9618.2NANA0.852628968253969NA
9716.4NANANANA
9818NANANANA
9916.3NANANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9/1aioh1305572945.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9/1aioh1305572945.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9/2lpk61305572945.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9/2lpk61305572945.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9/3g0ia1305572945.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9/3g0ia1305572945.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9/429g11305572945.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/16/t1305572774qo71gd40z8w23p9/429g11305572945.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