You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ASeatonSpatial Yes, depending on the details of how the predictor model inputs can be separated from the response variable, that should be doable. The current setup is based on the common assumption that the "data" input contains the response variable, and any values associated with the individual points, such as marks for marked point processes. But by allowing a more general separation between "component and formula inputs" and "response variable information", the data argument to like() would more naturally take on the "component and formula inputs" interpretation, and a separate argument would be needed for the response variable information. I plan to work on the design and implementation for this later this summer; it's needed for a broad range of models, e.g. models that integrate over regions (including point transect count models).
This is also needed for the special inla.surv and inla.mdata response objects.
The text was updated successfully, but these errors were encountered:
An interface design challenge for this is how to distinguish between "evaluate gridded data input at locations and use those to evaluate the component effect, which is then accessible in the predictor expression" from "evaluate the component at all the grid locations and then use the predictor expression to do some complex nonlinear evaluation of the values". Each component might need a new option to control this behaviour. It's a non-trivial problem.
This has been implemented in c490cf3, that adds a separate response_data input to like(). We're working on the "aggregated predictor" interface issues, which is a separate problem, and not a bug as such.
finnlindgren
changed the title
Split the data input into predictor-variables and response-variables
Support special response objects (Was: Split the data input into predictor-variables and response-variables)
Dec 13, 2021
@finnlindgren wonder if to avoid confusion like this lgcp could accept two data objects? One for points and one for covariates?
Originally posted by @ASeatonSpatial in #118 (comment)
@ASeatonSpatial Yes, depending on the details of how the predictor model inputs can be separated from the response variable, that should be doable. The current setup is based on the common assumption that the "data" input contains the response variable, and any values associated with the individual points, such as marks for marked point processes. But by allowing a more general separation between "component and formula inputs" and "response variable information", the data argument to like() would more naturally take on the "component and formula inputs" interpretation, and a separate argument would be needed for the response variable information. I plan to work on the design and implementation for this later this summer; it's needed for a broad range of models, e.g. models that integrate over regions (including point transect count models).
This is also needed for the special
inla.surv
andinla.mdata
response objects.The text was updated successfully, but these errors were encountered: