Skip to content

Error using datasetOut #35

@oharar

Description

@oharar

From the INLA help group:

Hello,
Has anyone had any issues getting the function datasetOut to work lately? I think it's more user error....

I have a fitted model with shared spatial fields, and datasetOut gives this error message: Error in eval(predictor, envir = envir, enclos = enclos) : object 'shared_spatial' not found. Note in my model summary that shared spatial exists.

I've minimized my model structure to address the issue but can't solve this. I can build a custom LOO CV but would sure like to get this function to work.

Any tips?

Summary of 'modISDM' object:
inlabru version: 2.13.0 INLA version: 24.12.11 Types of data modelled: snowmachine_sf Count data aerial_sf Count data dslr_sf Present absence Time used: Pre = 0.523, Running = 0.65, Post = 0.165, Total = 1.34 Fixed effects: mean sd 0.025quant 0.5quant 0.975quant mode kld iceext 0.330 0.258 -0.176 0.330 0.836 0.330 0 sst -0.044 0.120 -0.279 -0.044 0.191 -0.044 0 dist_to_town_sq -0.259 0.542 -1.322 -0.259 0.804 -0.259 0 bathymetry 0.216 0.174 -0.125 0.216 0.557 0.216 0 tri -0.006 0.070 -0.143 -0.006 0.132 -0.006 0 wind 0.300 0.220 -0.131 0.300 0.731 0.300 0 snowext -0.431 0.167 -0.758 -0.431 -0.105 -0.431 0 snowmachine_sf_intercept -2.447 0.731 -3.880 -2.447 -1.014 -2.447 0 aerial_sf_intercept -1.553 0.685 -2.895 -1.553 -0.210 -1.553 0 dslr_sf_intercept 3.394 5.486 -7.357 3.394 14.146 3.394 0 Random effects: Name Model shared_spatial SPDE2 model Model hyperparameters: mean sd 0.025quant 0.5quant 0.975quant mode Range for shared_spatial 2.133 1.288 0.705 1.807 5.534 1.33 Stdev for shared_spatial 0.376 0.132 0.187 0.353 0.702 0.31 Marginal log-Likelihood: -1457.92 is computed Posterior summaries for the linear predictor and the fitted values are computed (Posterior marginals needs also 'control.compute=list(return.marginals.predictor=TRUE)')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions