You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constINVERSE_ERFC_ONE_FIFTH=0.90619380243682323694542901648674160242080688476562500;functiongetLogNormalPercentile({median, ninetieth},value){// Shape (σ) is `|log(ninetieth/median) / (sqrt(2)*erf-1(1/5))|` and standardizedX// is then `1/2 erfc(log(value/median) / (sqrt(2)*σ))`, so simplify a bit.constxLogRatio=Math.log(value/median);constninetiethLogRatio=Math.abs(Math.log(ninetieth/median));conststandardizedX=xLogRatio*INVERSE_ERFC_ONE_FIFTH/ninetiethLogRatio;return(1-erf(standardizedX))/2;}
left to do:
adopt in statistics.js w/ test
calculate p90 for all existing curves and redefine them, confirming their shape doesn't change. set new desmos links.
It's come up a few times.. most recently here #10495 (comment)
It makes sense, since 90 is passing and a key threshold. Our source of truth should use them instead of numbers SO CLOSE to it.
The text was updated successfully, but these errors were encountered: