Dear Zoe,
Thank you for posting your questions to the group. They can be of help for other group members in the future.
If your tree-arrangement is not a regular grid it is best to use splines rather than AR.
AR works only over grids. It can fill-out some missing spots or entire lines. However, when the proportion of "holes" is too important, the computation becomes very expensive, slow and the inference is inefficient. This is what happens when your arrangement is not regular, since breedR tries to find a regular grid resolution that hits all the observations.
Remember that splines typically require method = "em".
Hope it helps
ƒacu.-
--
Report issues at https://github.com/famuvie/breedR/issues
---
You received this message because you are subscribed to the Google Groups "breedR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to breedr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/acd3149a-63ad-4db3-b0f7-a4be2b950f04n%40googlegroups.com.
Dear Zoe,
You are right, I forgot that splines also checked for regularity
of the grid. Even if it's not really needed, it was convenient for
programming. Sorry about that.
However, if the non-regularity is due to thinning, this issue
begs the question whether you really need a spatial effect at all.
This means that most trees are quite far from each other. As a
consequence, the effect of environmental autocorrelation will be
very weak and in any case very difficult to identify and separate
from individual variation.
In this case, I'd suggest simply removing the spatial effect. It would have very little impact in the results at a high computational cost.
ƒacu.-
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/a25292a1-f13f-498e-ac05-4c32f7a92b9cn%40googlegroups.com.
Dear Zoe,
> "... how shall we choose the best methods for our model and dataset?"
In principle, we propose using AI as a default since it is typically faster and more informative... except when it does not work, in which case we propose using EM. Except in a few cases (models using splines or competition) where we know in advance that AI won't perform well and you can start using EM straight away, you have to try and test. If your data set is too big and testing is computationally very expensive, you can consider pilot-testing over a partial data set first, before fitting your "final" model on the full data set.
> "is there any way to make algorithm converged when using
method of "ai", e.g. does setting up initial variance by custom
help?"
Yes, setting up initial variances close to the final values can help. One strategy can be using EM first to find out approximate values, and then using AI with those values set as initial values.
Another effective strategy for numerical reasons is scaling the
quantitative variables (i.e. removing the mean and dividing by the
SD, both for the response and the predictors). Very particularly
in multi-trait models. The downside is the different
interpretation of the coefficients. But is not a big deal, and it
is typically well worth it.
Hope it helps,
Best wishes
ƒacu.-
To view this discussion on the web visit https://groups.google.com/d/msgid/breedr/7faeb954-c494-46e7-a804-b7c5a7d770cbn%40googlegroups.com.