79253723

Date: 2024-12-05 07:25:47
Score: 3
Natty:
Report link

Is there a way to implement regional priors? I attempted the following method, but it did not yield the desired results and get the errors [R1/R1- regions, and F2F/Event etc. are independent variables.] prior3 ← c(set_prior(“normal(0,.5)”, class = “b”, coef = “F2F”, group= ‘R1’,lb=0), set_prior(“normal(1,.5)”, class = “b”, coef = “F2F”, group= ‘R2’,lb=0), set_prior(“normal(2,25)”, class = “b”, coef = “Event_Attendee”, group= ‘R1’,lb=0), set_prior(“normal(2.5,25)”, class = “b”, coef = “Event_Attendee”, group= ‘R2’,lb=0), set_prior(“normal(3.5,25)”, class = “b”, coef = “Virtual_calls”, group= ‘R1’,lb=0) set_prior(“normal(4.5,25)”, class = “b”, coef = “Virtual_calls”, group= ‘R2’,lb=0) ) model3= brms::brm(Sales_Unit ~ F2F + Event_Attendee + Virtual_calls + (1 + F2F + Event_Attendee + Virtual_calls |Region), data = model_data_Trelegy, prior= prior3)

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (1):
Posted by: nitin