File:Exponential moving average weights N=15.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search

Size of this preview: 800 × 600 pixels. Other resolutions: 320 × 240 pixels | 640 × 480 pixels | 1,024 × 768 pixels | 1,300 × 975 pixels.
Original file (1,300 × 975 pixels, file size: 8 KB, MIME type: image/png)
File information
Structured data
Captions
Add a one-line explanation of what this file represents
Captions
This graph was created by me using the following bit of gnuplot
This plot was created with Gnuplot: |
Gnuplot code
set terminal png size 1300, 975
# set xlabel "Days ago (0 today, 1 yesterday, etc)" 0, -2
#
# something evil happens with "xtics axis", need dummy xlabel
set xlabel " " 0, -2
set xrange [-0.5:20.5]
set xtics axis 5
set mxtics 5
# set ylabel "Weight (frac)"
#
set yrange [0:0.15]
set format y "%.2f"
unset key
set style fill solid 1.0
set boxwidth 0.6 relative
plot "ema.data" with boxes
and ema.data file generated by the following bit of perl
$N = 15; $f = 1 - 2/($N+1); $total = 0; foreach $i (0..20) { $value = (1 - $f) * ($f ** $i); print "$i $value\n"; $total += $value; } print "# total $total (should approach 1)\n";
You may, at your option, choose to consider these two bits of program code as published under the terms of the GPLv2, instead of the GFDL.
Licensing[edit]
I, the copyright holder of this work, hereby publish it under the following licenses:
![]() |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
![]() ![]() ![]() |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | |
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC-BY-SA-3.0Creative Commons Attribution-Share Alike 3.0truetrue |
![]()
|
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license. | |
https://creativecommons.org/licenses/by-sa/2.5 CC BY-SA 2.5 Creative Commons Attribution-Share Alike 2.5 truetrue |
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 23:36, 16 February 2006 | ![]() | 1,300 × 975 (8 KB) | Kevin Ryde~commonswiki (talk | contribs) | This graph was created by me using the following bit of gnuplot <pre> set terminal png size 1300, 975 # set xlabel "Days ago (0 today, 1 yesterday, etc)" 0, -2 # # something evil happens with "xtics axis", need dummy xlabel set xlabel " " 0, -2 set xran |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on de.wikiversity.org
- Usage on en.wikipedia.org
- Usage on en.wikiversity.org
- Usage on es.wikipedia.org
- Usage on eu.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on pl.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on sv.wikipedia.org
- Usage on zh.wikipedia.org