size <- fm_diameter(mesh) #max diameter of mesh is 475 km
range0 <- size/5
kappa0 <- sqrt(8)/range0
tau0 <- 1/(sqrt(4 * pi) * kappa0 * sigma0)
truevar <- (3 * sigma0)^2
truerange <- range0
spde.slope <- inla.spde2.matern(mesh,
B.tau = cbind(log(tau0), -1, -z1, +1, +z1),
B.kappa = cbind(log(kappa0), 0, 0, -1, -z1),
theta.prior.mean = rep(0, 4), theta.prior.prec = rep(1, 4))
In the output, I am looking at 3 variables (using Random Walk 2, similar to a GAM) to look at their effect on this animals occupancy. The output right now I believe is showing that my variable on kappa (slope) is not having a significant effect (Theta 2 and 4). Am I interpreting this correctly? If so, do you have any suggestions, how I might change how kappa is being specified?
mean sd 0.025quant 0.5quant
Precision for inla.group(MAT, n = 15) 8.53e+10 8.21e+13 0.000 27.918
Precision for inla.group(Hiemel, n = 15) 1.83e+08 6.58e+11 0.000 24.434
Precision for inla.group(Talus4km, n = 15) 5.65e+13 1.01e+16 0.004 442.225
Theta1 for field 1.22e+00 3.13e+00 -4.811 1.179
Theta2 for field -4.00e-03 1.76e-01 -0.359 -0.001
Theta3 for field -4.07e-01 2.98e+00 -6.147 -0.451
Theta4 for field -1.10e-02 1.60e-01 -0.333 -0.008