Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Dec 10, 2024
1 parent d4023db commit fdecd83
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions EpiAware/src/EpiLatentModels/models/HierarchicalNormal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,13 @@ The `HierarchicalNormal` struct represents a non-centered hierarchical normal di
## Examples
```jldoctest HierarchicalNormal
```jldoctest HierarchicalNormal; output = false
using Distributions, Turing, EpiAware
hn = HierarchicalNormal()
# output
HierarchicalNormal{Float64, Truncated{Normal{Float64}, Continuous, Float64, Float64, Float64}}(0.0, Truncated(Distributions.Normal{Float64}(μ=0.0, σ=0.1); lower=0.0, upper=Inf))
```
```jldoctest HierarchicalNormal; output = false
mdl = generate_latent(hn, 10)
mdl()
nothing
# output
```
```jldoctest HierarchicalNormal; output = false
rand(mdl)
nothing
# output
Expand Down

0 comments on commit fdecd83

Please sign in to comment.