Describe the problem, idea, or request that you have and, if possible, provide a solution.
We would like to add internal capacity of dsem into FIMS similar to how rceattle does it (thank you @grantdadams) but in TMB and not rTMB.
As myself and Fernando (what I have affectionately named my Copilot/Gemini) work on this with @Andrea-Havron-NOAA's guidance (because I have absolutely no idea what im doing, I just have copilot
, a bit of time 🕐, and a dream ☁️), I am now going back and actually adding an issue and sub-issues for this task because there should be an issue before there is a PR ... ooops (see PR #1594)
The basic plan is:
- Add gmrf function in distributions
- Add precision builder assemblage of functions that initially just include dsem but have the capacity to include others (spatial, etc.). The precision builder needs to be able to handle covariance.
- Link
get_observed and get_expected in gmrf function to different parameters/derived quantities in the model this will happen in the information.hpp file similar to SetupData() and will need a info->variable_map in rcpp_dsem.hpp - this will be harder to do because we have to link up the x vector with multiple parameters and how to get the ordering correct for this.
- Add gtests for gmrf and precision builder
- Create dsem rcpp file
- Create front end R dsem functionality
- Create tests and vignettes for dsem in FIMS
Additional context
No response
Which OS are you seeing the problem on?
No response
Which version of this package are you seeing the problem on?
No response
Describe the problem, idea, or request that you have and, if possible, provide a solution.
We would like to add internal capacity of dsem into FIMS similar to how rceattle does it (thank you @grantdadams) but in TMB and not rTMB.
As myself and Fernando (what I have affectionately named my Copilot/Gemini) work on this with @Andrea-Havron-NOAA's guidance (because I have absolutely no idea what im doing, I just have copilot
, a bit of time 🕐, and a dream ☁️), I am now going back and actually adding an issue and sub-issues for this task because there should be an issue before there is a PR ... ooops (see PR #1594)
The basic plan is:
get_observedandget_expectedin gmrf function to different parameters/derived quantities in the model this will happen in the information.hpp file similar toSetupData()and will need ainfo->variable_mapinrcpp_dsem.hpp- this will be harder to do because we have to link up the x vector with multiple parameters and how to get the ordering correct for this.Additional context
No response
Which OS are you seeing the problem on?
No response
Which version of this package are you seeing the problem on?
No response