File:Leunketa esponentzial 002.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Leunketa_esponentzial_002.png(480 × 480 pixels, file size: 27 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Exponential smoothing with alfa=0.1 and alfa=0.4.
 
This chart was created with R.

R source code:

x=c(22,26,25,23,27,24,23,22,28,24)
y=c(22,22.4,22.66,22.69,23.12,23.21,23.19,23.07,23.56,23.61)
z=c(22,22.16,22.36,22.49,22.75,22.93,23.04,23.05,23.26,23.40)
Seriea=ts(x,start=c(1,1),frequency=1)
Leunketa01=ts(y,start=c(1,1),frequency=1)
Leunketa04=ts(z,start=c(1,1),frequency=1)
png("leunketa_esponentzial_002.png")
plot(Seriea)
lines(Leunketa01,col=c("red"),lwd=4)
lines(Leunketa04,col=c("green"),lwd=4)
legend(1,28,c("Serie historikoa","Leunketa (alfa=0.1)","Leunketa (alfa=0.4)"),col=c("black","red","green"),lwd=4)
dev.off()
Date
Source Own work
Author Joxemai

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

There are no pages that use this file.