This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import REPL | |
import REPL.LineEdit | |
import JLFzf | |
const mykeys = Dict{Any,Any}( | |
# primary history search: most recent first | |
"^R" => function (mistate, o, c) | |
line = JLFzf.inter_fzf(JLFzf.read_repl_hist(), | |
"--read0", | |
"--tiebreak=index" | |
"--height=80%"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Plots, Statistics | |
using StatsPlots | |
using Distributions #this pkg actually is end game, but we're just using gaussian pdf | |
function custom_gaussian(n) | |
#b) | |
#parent distribution is Gaussian | |
μ = 10 | |
parent = Distributions.Normal(10) #μ = 10 | |
parent_pdf(x) = Distributions.pdf(parent, x) |
NewerOlder