epinowcast / primarycensoreddist

Primary event censored distributions in R and Stan.
https://primarycensoreddist.epinowcast.org/dev/
Other
7 stars 1 forks source link

Bring "Why it works" closer to the modelled generative process #112

Open SamuelBrand1 opened 2 hours ago

SamuelBrand1 commented 2 hours ago

We discussed this in #91 but I'm starting to lean more towards rewriting the "Why it works" description so that it precisely does the maths underlying the generative model described in "Getting started".

The reason why "Why it works" approaches the problem from the perspective it takes is essentially subjective, and it would probably be better to bring the maths towards the code.

Of course, noting that that the approaches are all mathematically equivalent but I think this would make it clearer for users.

seabbs commented 2 hours ago

We now have the analytical solutions written from the perspective of the why it works so if doing that we would need to update those as well

My preference is to keep it coming from the direction it does but to more clearly link out to the expressions elsewhere in the docs.