-
Notifications
You must be signed in to change notification settings - Fork 0
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
Stratified partitioning #15
Comments
Thanks @damondamondamon for the issue and for the kind words about the software! A few thoughts below:
Please let us know if you have any additional questions! |
@damondamondamon we have improved the efficiency of You can download the development version of spmodel by running remotes::install_github("USEPA/spmodel", ref = "develop") This fix will be part of the next CRAN update (the current version on CRAN is 0.5.1). I will go ahead and close the issue but please reach out if anything else comes up! |
Dear spmodel-Team,
thanks a lot for this helpful package!
I was using your package within a inference context to estimate the effect of auxiliary variables on my target variable within a spatial setting. These auxiliary variables are to some extent categorical. Something like:
"Yield ~ Soil_Type (Categorical) + Elevation (Continuous) + etc"
When working with large datasets (n > 10.000 with partition size > 500), I sometimes get the warning message:
At least one partition's inverse covariance matrix is singular. Redjusting using var_adjust = "none".
(I guess it should be readjusting?)
While this could be due to some real singularity in the covariance matrix, I rather assume that it occurs due to the rather unbalanced distribution in my categorical variables (e.g. two soil types with imbalanced 90%/10% distribution).
Related questions / suggestions:
Minor side question:
When using spmodel for inference (in my case n = 6.000) and defining the spcov_type as "none" (just as a non-spatial reference) and define local explicitly to "FALSE", I would still assume a routine that is equivalent to lm. Still, the computational time is exceptionally high (lm ~1sec, splm > 500sec). Will try to add replicable example.
The text was updated successfully, but these errors were encountered: