tobit/censored model with INLA

11 views
Skip to first unread message

Alok Bohara

unread,
May 11, 2022, 5:57:15 PMMay 11
to R-inla discussion group
Hi: 

1.Is there an example of a tobit model code somewhere using INLA?

2. Also, I am having trouble specifying links for the family of distributions..(instead of using the defaults).  I tried something like this:

res <- inla(form, data=ldat,
    family=c("binomial", "poisson"),
    control.family = list(control.link=list("probit","log")) ) 


It says

 Error in inla.core(formula = formula, family = family, contrasts = contrasts,  :
  Argument 'control.family' does not match length(family)= 2

Alok


Alok 
Reply all
Reply to author
Forward
0 new messages