Is there some way to add/ subtract logprob in Numpyro?

I know the closed form posterior distribution and the closed form of the prior that I require. I wish to obtain the likelihood. Is there something similar to addlogprob in Numpyro?

search the forum/docs for factor:
numpyro.factor("my_factor", my_log_prob)

1 Like