Open kellijohnson-NOAA opened 1 year ago
I think the {nwfscSurvey} is a good location for this. Could I add one more task to your list?
You bet @chantelwetzel-noaa! I moved it to my list so I won't forget.
I have a question ... should the K-S test and the distributions shown on the figure be from mutually exclusive data or should the comparison be all lengths vs lengths with ages? I am thinking that the comparison should be between lengths without ages versus lengths with ages such that no data point exists in the two data sets being compared.
I dont see any reason it has to be one or the other. Originally I did it to compare lengths with aged-lengths distributions, and thus there was some overlap. I think this has undergone adjustments that I haven't been following. So long as the KS test compares the two distributions that are being plotted, I think it is intuitively doing what it is supposed to be doing.
@chantelwetzel-noaa {nwfscSurvey} is the destination of choice right? https://github.com/pfmc-assessments/PacFIN.Utilities/blob/4683a3f12fc769f8b9ccb028c8dff594ddcf3cea/R/age_representativeness_plot.R#L34
Before doing so, finish the following tasks
initial figure that I am working on (mid convert to {ggplot2} is (haven't added $\hat{b}$ yet)
original figure was