interactive maths: gamma distribution help needed

50 views
Skip to first unread message

Willy Tanner

unread,
Dec 10, 2019, 8:21:19 AM12/10/19
to TiddlyWiki
Hi all

For a presentation I would like to include a gamma distribution. It would be so much better if it were an interactive one, two sliders for the shape parameter alpha  and the rate parameter beta and below or above a plot that would visualise the density distribution that results from these two values. 
See https://en.wikipedia.org/wiki/Gamma_distribution , it is the probability density function that I am after (upper right).

It can probably be done using http://evanbalster.com/tiddlywiki/formulas.html and in particular the Harmonic Lattice demo comes close to what I have in mind. 

Can someone help me out here or point me towards helpful resources? 

Many thanks!

Willy

PS: I am aware of (but did not want to hijack) the other recent math-related tiddlywinks thread https://groups.google.com/forum/#!topic/tiddlywiki/4MlVWlrxl6A

Willy Tanner

unread,
Dec 10, 2019, 8:22:30 AM12/10/19
to TiddlyWiki

Ste Wilson

unread,
Dec 11, 2019, 3:20:44 AM12/11/19
to TiddlyWiki
Not sure...

https://gt6796c.github.io/

Could be useful coupled with range sliders?

<$range tiddler="$:/Range" min="1" max="10" default="1" increment="1"/>
<$set name="depth" value={{$:/Range}}>

Reply all
Reply to author
Forward
0 new messages