-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2024-08-07 update : adding matrix normalization func. and using AR1 in spatial func. #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor things. Looks generally very good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one suggestion for an additional test of the normalization matrix function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great! I just realized that we should also add the ar1
process call to construct_spatial_rt_process.stan
.
spatial_deviation_t_i = (spatial_deviation_ar_coeff*spatial_deviation_t_i) |
I think for that one, you will have to for z
pass in the iid normal deviation (not with the separate sd
). Think you can write as is and pass in 1 for the sd
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two coments:
- Suggest changing
init_bool
toinit_stat
throughout and clarifying the documentation. - When processes that take in standard normal vectors and transform them, we should use the built-in rngs to generate the standard normals, rather than custom ones.
Update: ignore this comment. I misunderstood how we were doing this here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few typos but very close @cbernalz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correcting my own mistake, apologies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @cbernalz!
change request withdrawn, see #53 (comment)
This PR is regarding two issues : #52 (comment) and #50 (comment) .