Squiggle Hub

rose-hadshar

Updated
three_to_one = lognormal({p10: 0.15, p90:0.9})
six_to_one = lognormal({p10: 0.05, p90:0.65})
twelve_to_one = lognormal({p10: 0.01, p90:0.3})
twentyfour_to_one = lognormal({p10: 0.005, p90:0.25})
Updated
/*
Describe your code here
*/

global_undergrad = 5% to 12%
oecd_undergrad = 27% to 33%
oecd_phd = 1%
global_phd = (oecd_phd/oecd_undergrad)*global_undergrad

biology = 2% to 10%
Updated
k = 278
y = Math.sqrt(k)
d = 3%*k
investment = 50%*y
consumption = y-investment
Updated
/*
Describe your code here
*/

@doc("From wikipedia unless otherwise stated")
years = {
  scirev: 1687-1543,
  indrev: 1840-1760,
  internet: 1995-1965, // A guess
  ml_since_alexnet: 2024-2012
Updated
/*
Describe your code here
*/

us_win = 0.1 to 0.9
china_win = 1-us_win

us_agree = 1 - us_win
china_agree = 1 - china_win