-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about model error structure #354
Comments
Hello, When you fit a VAST model to multiple data types and, therefore, need to specify multiple distribution models in VAST, you need to: catchability_data = my_dataset[,'Data_type',drop = FALSE]
Q1_formula = ~ factor( Data_type ) Let us see how things work in practice: When your VAST model is fitted to multiple data types, the likelihoods for the different data types (e.g., encounters/non-encounters, counts and biomass-sampling data) have parameters in common since you are using a Poisson-link delta model (as you specified ObsModel[,2] as being equal to 1). Consequently, only one single VAST model is fitted to all the data and the likelihood of your VAST model fitted to multiple data types is obtained as the product of the likelihoods for the different individual data types. |
Less of an issue and more of a clarification: When I use e to specify subsets of the data which should be fit to using multiple separate error distributions (which are then specified in ObsModel) how does VAST handle this? Does it split the dataset and fit multiple instances of the model, or does it fit a single model but with a likelihood function which can adopt different outputs depending on the data subset?
The text was updated successfully, but these errors were encountered: