Skip to content

Commit

Permalink
hiv model
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanwebb committed Apr 19, 2019
1 parent 36fa995 commit 43f78c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro_models/arm/hiv.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ def model(data, params):
a1 = pyro.sample("a1", dist.Normal(mu_a1, sigma_a1))
a2 = pyro.sample("a2", dist.Normal((0.1 * mu_a2), sigma_a2))
with pyro.plate('data', N, dim=-1):
y_hat = a1[person] + a2[person] * time
y_hat = a1[...,person] + a2[...,person] * time
y = pyro.sample("y", dist.Normal(y_hat, sigma_y), obs=y)

0 comments on commit 43f78c4

Please sign in to comment.