|
|
|
model(r,
p0,
n=1)
Model (r,p0, n=1)
Simulates the Population dynamic Model (PDM) Pt = rP0
for n time steps. |
source code
|
|
|
Run(k)
Run (k)
Draw k samples of Theta from its prior distribution, run the model with it
and obtain phi = M(theta). |
source code
|
|
|
KDE(x)
performs a kernel density estimate using the scipy gaussian density
if (ll,ul), enforce limits for the distribution's support. |
source code
|
|
|
Likeli(data,
dist,
limits,
**kwargs)
Generates the likelihood function of data given dist. |
source code
|
|
|
Filt(cond,
x,
(ll, ul))
filtering out Out-of-boundary thetas and phis. |
source code
|
|
|
|
|
SIR(alpha,
q2phi,
limits,
q2type,
q1theta,
phi,
L,
lik=[])
Sampling Importance Resampling. |
source code
|
|
|
plotRaHist(arr)
Plots a record array
as a panel of histograms |
source code
|
|
|
|
|
|