Skip to content

Commit

Permalink
Update methods.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 authored Jun 20, 2022
1 parent ae20816 commit 3f1da73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using DiffEqBayes

```julia
stan_inference(prob::ODEProblem,t,data,priors = nothing;alg=:rk45,
num_samples=1000, num_warmup=1000, reltol=1e-3,
num_samples=1000, num_warmups=1000, reltol=1e-3,
abstol=1e-6, maxiter=Int(1e5),likelihood=Normal,
vars=(StanODEData(),InverseGamma(2,3)))
```
Expand All @@ -24,7 +24,7 @@ and `data` is the array where the first dimension (columns) corresponds to the
array of system values. `priors` is an array of prior distributions for each
parameter, specified via a [Distributions.jl](https://juliastats.github.io/Distributions.jl/dev/)
type. `alg` is a choice between `:rk45` and `:bdf`, the two internal integrators
of Stan. `num_samples` is the number of samples to take per chain, and `num_warmup`
of Stan. `num_samples` is the number of samples to take per chain, and `num_warmups`
is the number of MCMC warmup steps. `abstol` and `reltol` are the keyword
arguments for the internal integrator. `likelihood` is the likelihood distribution
to use with the arguments from `vars`, and `vars` is a tuple of priors for the
Expand Down

0 comments on commit 3f1da73

Please sign in to comment.