Home » date » 2008 » May » 21 »

Decompositie - Eigen reeks: Faxtoestellen - Kirsten Witvrouwen

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Wed, 21 May 2008 08:33:34 -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/21/t1211380751rwkftc3vrfw5tcm.htm/, Retrieved Wed, 21 May 2008 16:39:11 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
77.5 77.7 76.6 77 76.5 77.6 77.8 76.9 76.9 77 77 76.3 76.5 77.1 76.4 75.4 75.4 75.5 75.5 75.8 75.7 75.9 76.1 76 76 75.89 74.87 74.9 74.79 74.64 74.09 74.33 73.93 73.78 72.85 71.51 71.5 71.5 71.31 70.85 70.62 70.07 68.83 68.82 68.4 68.21 67.75 67.7 67.42 66.27 64.8 62.69 62.75 62.31 62.4 61.75 61.69 60.39 59.9 59.62 58.97 58.54 58.32 56.03 53.63 53.61 53.48 53.48 52.81 52.8 52.57 52.36
 
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
177.5NANA0.308949652777776NA
277.7NANA0.462178819444438NA
376.6NANA-0.0665711805555569NA
477NANA-0.620112847222221NA
576.5NANA-0.338967013888881NA
677.6NANA-0.247092013888889NA
777.876.709262152777877.025-0.3157378472222241.09073784722223
876.976.988532986111176.95833333333330.030199652777779-0.0885329861111046
976.977.091866319444476.9250.166866319444453-0.191866319444443
107777.046970486111176.850.196970486111112-0.0469704861110927
117776.943012152777876.73750.2055121527777720.0569878472222314
1276.376.821970486111176.60416666666670.217803819444442-0.521970486111101
1376.576.729782986111176.42083333333330.308949652777776-0.22978298611109
1477.176.741345486111176.27916666666670.4621788194444380.358654513888908
1576.476.116762152777876.1833333333333-0.06657118055555690.283237847222225
1675.475.467387152777876.0875-0.620112847222221-0.0673871527777692
1775.475.665199652777876.0041666666667-0.338967013888881-0.265199652777781
1875.575.707074652777875.9541666666667-0.247092013888889-0.207074652777763
1975.575.605095486111175.9208333333333-0.315737847222224-0.105095486111097
2075.875.879782986111175.84958333333330.030199652777779-0.0797829861111126
2175.775.902282986111175.73541666666670.166866319444453-0.202282986111101
2275.975.847803819444475.65083333333330.1969704861111120.0521961805555691
2376.175.810095486111175.60458333333330.2055121527777720.289904513888885
247675.761137152777875.54333333333330.2178038194444420.238862847222222
257675.757699652777875.448750.3089496527777760.242300347222226
2675.8975.790928819444475.328750.4621788194444380.0990711805555549
2774.8775.127178819444575.19375-0.0665711805555569-0.257178819444448
2874.974.411553819444475.0316666666667-0.6201128472222210.488446180555556
2974.7974.468949652777874.8079166666667-0.3389670138888810.321050347222226
3074.6474.238324652777874.4854166666667-0.2470920138888890.401675347222223
3174.0973.795095486111174.1108333333333-0.3157378472222240.294904513888895
3274.3373.770616319444473.74041666666670.0301996527777790.559383680555555
3373.9373.576032986111173.40916666666670.1668663194444530.353967013888891
3473.7873.289053819444473.09208333333330.1969704861111120.490946180555554
3572.8572.955095486111172.74958333333330.205512152777772-0.105095486111111
3671.5172.603220486111172.38541666666670.217803819444442-1.09322048611111
3771.572.284782986111171.97583333333330.308949652777776-0.784782986111111
3871.571.989262152777871.52708333333330.462178819444438-0.489262152777769
3971.3171.000512152777871.0670833333333-0.06657118055555690.309487847222229
4070.8569.984470486111170.6045833333333-0.6201128472222210.865529513888873
4170.6269.821032986111170.16-0.3389670138888810.798967013888884
4270.0769.541657986111169.78875-0.2470920138888890.528342013888874
4368.8369.144262152777869.46-0.315737847222224-0.314262152777786
4468.8269.102282986111169.07208333333330.030199652777779-0.282282986111113
4568.468.749782986111168.58291666666660.166866319444453-0.349782986111094
4668.2168.168637152777867.97166666666670.1969704861111120.0413628472222172
4767.7567.509262152777867.303750.2055121527777720.240737847222235
4867.766.870303819444466.65250.2178038194444420.829696180555558
4967.4266.370199652777866.061250.3089496527777761.04980034722223
5066.2765.960928819444465.498750.4621788194444380.309071180555563
5164.864.858012152777864.9245833333333-0.0665711805555569-0.0580121527777777
5262.6963.699053819444464.3191666666667-0.620112847222221-1.00905381944444
5362.7563.327282986111163.66625-0.338967013888881-0.577282986111108
5462.3162.755407986111163.0025-0.247092013888889-0.445407986111107
5562.461.998012152777862.31375-0.3157378472222240.401987847222216
5661.7561.669782986111161.63958333333330.0301996527777790.0802170138888911
5761.6961.214366319444561.04750.1668663194444530.475633680555539
5860.3960.696970486111160.50.196970486111112-0.306970486111112
5959.960.048012152777859.84250.205512152777772-0.148012152777774
6059.6259.317803819444459.10.2178038194444420.302196180555562
6158.9758.674782986111158.36583333333330.3089496527777760.295217013888887
6258.5458.111762152777857.64958333333330.4621788194444380.428237847222235
6358.3256.868428819444456.935-0.06657118055555691.45157118055556
6456.0355.628637152777856.24875-0.6201128472222210.401362847222238
6553.6355.288116319444455.6270833333333-0.338967013888881-1.65811631944444
6653.6154.772074652777855.0191666666667-0.247092013888889-1.16207465277778
6753.48NANA-0.315737847222224NA
6853.48NANA0.030199652777779NA
6952.81NANA0.166866319444453NA
7052.8NANA0.196970486111112NA
7152.57NANA0.205512152777772NA
7252.36NANA0.217803819444442NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211380751rwkftc3vrfw5tcm/1k0dp1211380409.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211380751rwkftc3vrfw5tcm/1k0dp1211380409.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211380751rwkftc3vrfw5tcm/2h6a91211380409.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211380751rwkftc3vrfw5tcm/2h6a91211380409.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211380751rwkftc3vrfw5tcm/3nc8v1211380409.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/21/t1211380751rwkftc3vrfw5tcm/3nc8v1211380409.ps (open in new window)


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