Skip to content
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

Best approach to using Lat-Long information? #1

Open
AndreaNOdell opened this issue Jun 29, 2022 · 3 comments
Open

Best approach to using Lat-Long information? #1

AndreaNOdell opened this issue Jun 29, 2022 · 3 comments

Comments

@AndreaNOdell
Copy link
Owner

What is the best way to start looking at spatial differences using the lat-long information? Currently, the latitude and longitude values for each observation are in separate columns. There are just under 1000 unique latitude and longitude observations each - should I bin the values? Or should I try to visualize them where the x axis is latitude and the y axis is longitude so it is more of a spatial representation?

@AndreaNOdell
Copy link
Owner Author

AndreaNOdell commented Jun 30, 2022

spatial_resids_year

Something like this maybe? If I plot it this way, where 0 (observed value is close to predicted weight at length) is indicated by white points, the whole plot looks pretty white and the more extreme values are hard to see. So this plot actually only shows a subset of the data limited between -0.5 and 0.5 residual values (log10-transformed) and values -0.1 through 0.1 have also been removed to minimize white points. Maybe I could make small-ish bins for long-lat, then summarise the info within the bins to minimize overlapping points. Any thoughts?

@kristinmarshall-NOAA
Copy link
Collaborator

Just catching up on responding to these issues and reiterating what we talked about last week here - I like these maps/plots and I think not binning is ok at this point. I think I suggested trying to see if plotting zero values as clear (not white) might help with the overlap. Did that help, or not really?

Other things we could think about would be fitting spatial models to the weight deviates and then plotting those fitted surfaces on maps - that would show up more as a grid or smooth surface than the data alone.

@AndreaNOdell
Copy link
Owner Author

Making the points transparent definitely helped with visualizing the points with colors, but it makes me wonder if we're missing some information about areas that tend not to have growth anomalies. I will continue to mess around with it!

Okay great! I will look into some spatial models and we can talk more about it tomorrow (7/7/22)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants