I am using R package INLA for Bayesian regression. I have a hard time defining random effects with more than 1 covariate. Here is the question:

- Given Y as the response variable and X1,....X10 as the independent variables, the purpose is to have a random effect for X10, based on the linear prediction of X7, X8, and X9. The R code is provided here:

formula

More Farshad Farkhondehmaal's questions See All
Similar questions and discussions