Skip to content

How to treat unsexed composition data #8

Description

@kellijohnson-NOAA

Moving the thread from nwfscSurvey

Originally posted by @iantaylor-NOAA in pfmc-assessments/nwfscSurvey#66 (comment)
In terms of repeating for males and females and unsexed, I would love to get some better consensus on if/when it makes sense to

  1. partition unsexed fish into male and female bins using the sex ratio of the observed fish in each length bin,
  2. include unsexed fish as a separate vector of unsexed observations, or
  3. ignore unsexed fish.

The current system where each STAT independently struggles to figure out what seems best in the absence of clear best practices is not awesome. If Option 1 is going to be available, we should think about where it makes the most sense to add that step and how to streamline it.

_Originally posted by @chantelwetzel-noaa in pfmc-assessments/nwfscSurvey#66 (comment)
I definitely would like to develop a method to partition the unsexed fish into either males or females based on sex ratio information. I went to add this a while ago and realized the logic needed for this was a bit more complicated and opted to set it aside for the time being. Of course, I did not put notes in the code as to why I thought it was going to be complicated and can't remember exactly what the stumbling blocks at the time were (could have just been a time issue).

However, I think we need to set this up in a manner that the default is to not apply a sex ratio. This at least forces people to really see the split of observations by sexed and unsexed if they have not been looking. I have encountered (and probably done) some really terrible applications where the sex ratio was applied by default resulting in really augmented length compositions versus to those that would have been created when not applying a sex ratio.

_Originally posted by @andi-stephens-NOAA in pfmc-assessments/nwfscSurvey#66 (comment)
The original PacFIN code allowed different types of partitioning the
unsexed, including:

no partitioning, just bin them as unsexed
calculate the bin-by-bin ratio and apply it
calculate the bin-by-bin ratio over a specified minimum size, small

fish are 50:50
use a user-specified single value or vector of values
allow a maximum size over which they are all assumed to be female.

Way too complicated!

Metadata

Metadata

Labels

dataTopics related to data used by NWFSC PEP members

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions