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

Question - frequency weighted availability #20

Open
coverton-usgs opened this issue Jun 16, 2024 · 1 comment
Open

Question - frequency weighted availability #20

coverton-usgs opened this issue Jun 16, 2024 · 1 comment

Comments

@coverton-usgs
Copy link

I have a rather unique dataset, multiple millions of GPS locations in a constrained environment making determination of categorical habitat availability pretty straightforward and which are summarized in a frequency table. I can reasonably assume that all habitats are available given the movement capabilities of the species studied and generating 10-fold random selections to contrast with the used data would result in over a hundred million records which is beyond my compute capacity.

Is it appropriate to run rsf or rspf functions using a weights function that is =1 for used cases and =Frequency of occurrence for available cases? This would essentially limit the rows of available data to 1 per class.

The simulation I just ran produces identical estimates whether I use weights = Freq or not, the Standard errors are different, but I expect that is due to just using a few bootstraps as a trial run.

@psolymos
Copy link
Owner

Hi @coverton-usgs the weights has no effect on the rsf and rspf outputs because it is not passed to the function being optimized. You can

  • subset the data set to minimize the redundancy while also keeping the proportions for the available part of the data
  • use the glm function instead bit the logit link

HTH

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