Skip to content

Possible to model a distribution over time? #110

Answered by nicholasjclark
aeiche01 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aeiche01, thanks for the question. There are a few ways you can approach this kind of task, namely to predict variation for an entire function. In fact there is an entire field of literature dedicated to this type of function on scalar regression. The literature that I am most familiar with aims to forecast changes in mortality curves over time, see for example the references and worked examples in Rob Hyndman's {vital} package. To make this work in {mvgam}, you could create a set of spline basis functions that evaluate on the size measurements, and use these as time-varying predictors of the abundance measurements. This will allow you to estimate how the size-abundance relationship c…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@aeiche01
Comment options

Answer selected by aeiche01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants