Skip to content

Standard errors missing (NA) for spatial range and spatial standard deviations #113

Answered by seananderson
seananderson asked this question in Q&A
Discussion options

You must be logged in to vote

We did that because the standard errors are more representative in log space for those and figured it would be confusing if the SEs didn't match the confidence intervals. You’ll see the confidence intervals if you set conf.int = TRUE in tidy(), which uses the log space standard error. See ?tidy.sdmTMB. You can get them from the SD report if you want:

library(sdmTMB)
fit <- sdmTMB(
  density ~ s(depth),
  data = pcod_2011, mesh = pcod_mesh_2011,
  family = tweedie(link = "log")
)

tidy(fit, "ran_pars", conf.int = TRUE)
#>        term  estimate std.error   conf.low conf.high
#> 1     range 16.839875        NA  3.4026237 83.341979
#> 3       phi 13.677114        NA 12.4377763 15.039942
#> 4 …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by seananderson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant