Skip to content
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

Correctness of boundsPostprob() in parE and weights in beta Mixture cases #121

Open
audreyyeoCH opened this issue Oct 10, 2024 · 0 comments

Comments

@audreyyeoCH
Copy link
Collaborator

Some things to check:

  1. reverse engineer this function with postprob() as a test and see if it passes
  2. this may be wrong to t() the parEtwice, one outside the helper postprob and one within. It may be more correct to cbind(c(alpha_1, beta_1), c(alpha_2, beta_2)) hence point 1 to reverse engineer in a test case, after all h_getbetaMixPost() calculated updated weights and parameters with :
    lbeta(a = postPar[, 1], b = postPar[, 2]) - lbeta(a = par[, 1], b = par[, 2]) therefore the parE has to adjust accordingly
  3. if 1,2, will indeed be actionables, then fix user facing function, examples and test case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant