Open LHMarshall opened 10 months ago
Ran this verbatim code using
> sessionInfo()
R version 4.3.2 (2023-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22631)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: Europe/London
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Distance_1.0.9 mrds_2.3.0
and produced this result
> fit.ds$ddf$par
X.Intercept. size
3.67491262 -0.02612638
While generating some test data I have seen some strange model fitting results from mrds. Something to come back to when we look to improve the optimiser perhaps? Recording here so we have code to reproduce. It's strange because the data are generated from a half normal and it is not a particularly complex model. There is no association between distance and size.