Home » date » 2008 » May » 20 » attachments

gemiddelde prijs inktjet printer (additief model)-Sanne Dangez

R Software Module: rwasp_decompose.wasp (opens new window with default values)
Title produced by software: Classical Decomposition
Date of computation: Tue, 20 May 2008 09:54:05 -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/20/t1211298931be6b7ydkdk8fkrn.htm/, Retrieved Tue, 20 May 2008 17:55:36 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
58,1 57,9 57,3 55,9 55 55,9 56,6 57,3 56,2 57,7 56,8 57,9 58,3 58,2 56,9 57,1 56,7 54,2 54,2 52,1 51,5 51,8 53 52,4 52,41 52,36 52,94 52,34 51,84 51,42 50,85 50,66 51,53 51,59 52,32 51,98 51,17 50,57 49,84 50,12 49,08 48,57 47,22 46,78 46,04 45,05 44,42 44,09 44,46 44,34 43,04 42,87 42,32 42,49 41,94 41,6 41,42 41,12 41,28 40,21 39,69 39,16 38,8 38,44 37,02 36,75 35,95 36,29 36,35 36,07 36,6 36,5
 
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'George Udny Yule' @ 72.249.76.132


Classical Decomposition by Moving Averages
tObservationsFitTrendSeasonalRandom
158.1NANA0.545685763888883NA
257.9NANA0.644435763888889NA
357.3NANA0.274435763888886NA
455.9NANA0.528602430555558NA
555NANA0.240477430555555NA
655.9NANA-0.228585069444441NA
756.656.423706597222256.8916666666667-0.4679600694444470.176293402777780
857.356.069227430555656.9125-0.8432725694444411.23077256944445
956.256.289435763888956.9083333333333-0.618897569444441-0.0894357638888863
1057.756.473185763888956.9416666666667-0.468480902777781.22681423611112
1156.857.358394097222257.06250.295894097222223-0.558394097222227
1257.957.160164930555557.06250.0976649305555540.739835069444453
1358.357.437352430555656.89166666666670.5456857638888830.862647569444441
1458.257.219435763888956.5750.6444357638888890.9805642361111
1556.956.436935763888956.16250.2744357638888860.463064236111101
1657.156.249435763888955.72083333333330.5286024305555580.850564236111111
1756.755.557144097222255.31666666666670.2404774305555551.14285590277778
1854.254.700581597222254.9291666666667-0.228585069444441-0.500581597222222
1954.253.986623263888954.4545833333333-0.4679600694444470.213376736111115
2052.153.122560763888953.9658333333333-0.843272569444441-1.02256076388888
2151.552.938602430555653.5575-0.618897569444441-1.43860243055556
2251.852.725685763888953.1941666666667-0.46848090277778-0.925685763888886
235353.089227430555652.79333333333330.295894097222223-0.0892274305555532
2452.452.572664930555552.4750.097664930555554-0.172664930555548
2552.4152.765269097222252.21958333333330.545685763888883-0.355269097222219
2652.3652.664435763888952.020.644435763888889-0.304435763888875
2752.9452.235685763888951.961250.2744357638888860.70431423611111
2852.3452.482352430555651.953750.528602430555558-0.142352430555547
2951.8452.157144097222251.91666666666670.240477430555555-0.317144097222219
3051.4251.642248263888951.8708333333333-0.228585069444441-0.222248263888879
3150.8551.333706597222251.8016666666667-0.467960069444447-0.483706597222216
3250.6650.832144097222251.6754166666667-0.843272569444441-0.172144097222215
3351.5350.852769097222251.4716666666667-0.6188975694444410.677230902777787
3451.5950.781519097222251.25-0.468480902777780.808480902777781
3552.3251.338394097222251.04250.2958940972222230.981605902777787
3651.9850.906414930555550.808750.0976649305555541.07358506944445
3751.1751.084435763888950.538750.5456857638888830.085564236111118
3850.5750.870269097222250.22583333333330.644435763888889-0.300269097222213
3949.8450.109852430555549.83541666666670.274435763888886-0.269852430555545
4050.1249.862769097222249.33416666666670.5286024305555580.257230902777778
4149.0848.972977430555648.73250.2404774305555550.107022569444446
4248.5747.845998263888948.0745833333333-0.2285850694444410.724001736111113
4347.2246.998289930555647.46625-0.4679600694444470.221710069444441
4446.7846.083810763888946.9270833333333-0.8432725694444410.696189236111117
4546.0445.765269097222246.3841666666667-0.6188975694444410.274730902777783
4645.0545.330269097222245.79875-0.46848090277778-0.280269097222231
4744.4245.510894097222245.2150.295894097222223-1.09089409722223
4844.0944.777664930555644.680.097664930555554-0.687664930555549
4944.4644.752352430555644.20666666666670.545685763888883-0.292352430555553
5044.3444.415269097222243.77083333333330.644435763888889-0.0752690972222112
5143.0443.636935763888943.36250.274435763888886-0.596935763888887
5242.8743.534852430555643.006250.528602430555558-0.664852430555555
5342.3242.952144097222242.71166666666670.240477430555555-0.632144097222223
5442.4942.190581597222242.4191666666667-0.2285850694444410.299418402777782
5541.9441.590789930555642.05875-0.4679600694444470.349210069444439
5641.640.800894097222241.6441666666667-0.8432725694444410.799105902777782
5741.4240.632769097222241.2516666666667-0.6188975694444410.787230902777779
5841.1240.421935763888940.8904166666667-0.468480902777780.698064236111115
5941.2840.780894097222240.4850.2958940972222230.499105902777778
6040.2140.122664930555640.0250.0976649305555540.0873350694444426
6139.6940.081935763888939.536250.545685763888883-0.391935763888888
6239.1639.709852430555639.06541666666670.644435763888889-0.54985243055556
6338.838.907352430555638.63291666666670.274435763888886-0.107352430555565
6438.4438.739852430555638.211250.528602430555558-0.299852430555553
6537.0238.046310763888937.80583333333330.240477430555555-1.02631076388889
6636.7537.227664930555637.45625-0.228585069444441-0.477664930555555
6735.95NANA-0.467960069444447NA
6836.29NANA-0.843272569444441NA
6936.35NANA-0.618897569444441NA
7036.07NANA-0.46848090277778NA
7136.6NANA0.295894097222223NA
7236.5NANA0.097664930555554NA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211298931be6b7ydkdk8fkrn/19voh1211298841.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211298931be6b7ydkdk8fkrn/19voh1211298841.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211298931be6b7ydkdk8fkrn/2kkkc1211298841.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211298931be6b7ydkdk8fkrn/2kkkc1211298841.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211298931be6b7ydkdk8fkrn/3qwgl1211298841.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/20/t1211298931be6b7ydkdk8fkrn/3qwgl1211298841.ps (open in new window)


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