[R-sig-ME] GAMM- Missing/uncertain group id's in random effect

Meaghan Rupprecht rupprecht @end|ng |rom unbc@c@
Fri Jun 30 18:23:59 CEST 2023


I am currently modelling fish catch in the Amazon River in response to variables such as habitat, effort, gear type, and spatial locations. The model we have selected to accomplish this task is a GAMM, and we are currently using the mgcv and brms packages in R. We are facing an issue with random effects in our model, and I was hoping to get some insight about possible solutions. I've tried to find solutions online without much luck.

For each record of fish catch, there is information recorded such as boat name and boat length. We aimed at using this information to generate a unique boat id, which would be treated as a group id for a random effect variable in our model. A problem arises in boat names because they may not be unique, but boat lengths are somewhat unreliable information and could have varying responses. This creates some records where the boat names may be the same with slightly varying lengths, resulting in multiple id's being generated for what might actually be the same boat (i.e., boat 1 with length of 17m and boat 1 with length of 17.2m). This greatly complicates our attempts at identifying unique boats and generates uncertainty in our classifications.
Is there a method for dealing with uncertainty or missing group id's in random effects? I'd be happy to elaborate or provide additional information if anything above was unclear.
Thanks for your time.

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list