Skip to content

Commit

Permalink
Update uciwweihr_model.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
cbernalz authored Sep 17, 2024
1 parent 5bf1a3f commit 4862a3c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/uciwweihr_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ The defaults for this fuction will follow those of the default simulation in gen
w_init_logit = w_init_non_centered * params.w_init_sd + params.w_init_mean
sigma_w = exp(sigma_w_non_centered * params.sigma_w_sd + params.sigma_w_mean)
logit_w_no_init = w_init_logit .+ cumsum(logit_w_steps_non_centered) * sigma_w
w_init = logit(w_init_logit)
w_no_init = logit.(logit_w_no_init)
w_init = logistic(w_init_logit)
w_no_init = logistic.(logit_w_no_init)
w_t = vcat(w_init, w_no_init)


Expand Down Expand Up @@ -226,8 +226,8 @@ The defaults for this fuction will follow those of the default simulation in gen
w_init_logit = w_init_non_centered * params.w_init_sd + params.w_init_mean
sigma_w = exp(sigma_w_non_centered * params.sigma_w_sd + params.sigma_w_mean)
logit_w_no_init = w_init_logit .+ cumsum(logit_w_steps_non_centered) * sigma_w
w_init = logit(w_init_logit)
w_no_init = logit.(logit_w_no_init)
w_init = logistic(w_init_logit)
w_no_init = logistic.(logit_w_no_init)
w_t = vcat(w_init, w_no_init)


Expand Down

0 comments on commit 4862a3c

Please sign in to comment.