inlabru implementation #9
-
|
Hello, I have tried to redo the inlabru implementation as demonstrated in the vignette here, but with some minor changes motivated by how I want to use the package. I do encounter some strange results, which makes me question if I have misunderstood some of the code and/or the way the package works - or if this is to be expected behaviour for this use? The initial graph is the same as in the example. I then make a mesh on the graph, with The random observation locations, I construct as follows (I know the (mesh)vertices I have observed on in my application, and I use the mesh when deciding the location for a given observation) and I simulate the data as in the vignette, but using the I would think I could get observations from the field using while the normalized observation locations are retrieved from It seems like the SPDE parameters are reasonably estimated, while the noise is always off (underestimated). I hope the question is clear, but if not I am happy to answer any questions regarding the approach. Best regards, PhD candidate, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi Karina, I believe your problem is that the sample size is too small (we also have this problem in the standard Euclidean case). You can try using all the observations from the mesh you chose to see. For instance, with all observations (915), I got: Precision for the Gaussian observations 4.40 0.692 3.20 4.34 5.92 4.22 So, Here with n_obs=500: Which is really good. I believe this should solve your problem. Please, let me know if you find any other issue. Another thing that might be helpful in the future, is that the other common problem we also find (besides small sample size) is the scale between the standard deviation from the measurement error and the field itself. The standard deviation from the measurement error must always be much smaller than the one from the field, otherwise they might get confounded. |
Beta Was this translation helpful? Give feedback.
Hi Karina,
I believe your problem is that the sample size is too small (we also have this problem in the standard Euclidean case).
You can try using all the observations from the mesh you chose to see.
For instance, with all observations (915), I got:
Precision for the Gaussian observations 4.40 0.692 3.20 4.34 5.92 4.22
(mean is 4.40)
So,
r$> sqrt(1/4.4)
[1] 0.4767313
Here with n_obs=500:
(mean of the measurement error): 4.13
r$> sqrt(1/4.13)
[1] 0.4920678
Which is really good.
I believe this should solve your problem. Please, let me know if you find any other issue.
Another thing that might be helpful in the future, is that the other common problem we also find (besides small sample siz…