spfilter
Semiparametric Spatial Filtering with Eigenvectors in (Generalized) Linear Models
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Repository
Semiparametric Spatial Filtering with Eigenvectors in (Generalized) Linear Models
Basic Info
- Host: GitHub
- Owner: sjuhl
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://sjuhl.github.io/spfilteR/
- Size: 613 KB
Statistics
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 6
Metadata Files
README.md
spfilteR
This package provides a number of useful functions that facilitate the analysis of spatially autocorrelated data based on the eigenfunction decomposition of an exogenously given connectivity matrix W. The main function getEVs() specifies a projection matrix M and symmetrizes the connectivity matrix by V=1/2(_W+W_') before decomposing the transformed matrix _MVM_. If covariates are supplied, this function constructs the projection matrix by: _M=I-X(X'X_)-1 _X_'. Eigenvectors obtained from this specification are not only mutually uncorrelated but also orthogonal to the covariates in _X_. In contrast, if no covariates are supplied, the projection matrix simplifies to _M_= _I-11'/n_, where _1*_ is a vector of ones and n is the number of units. Besides the eigenvectors and eigenvalues, getEVs() also provides the Moran coefficient associated with each eigenvector.
Subsequently, these eigenvectors can be used to perform semiparametric spatial filtering in a regression framework. The functions lmFilter() and glmFilter() in this package implement unsupervised eigenvector selection based on a stepwise regression procedure and different objective functions, including i) the maximization of model fit, ii) minimization of residual autocorrelation, iii) the statistical significance of residual autocorrelation, and iv) the statistical significance of candidate eigenvectors. If other selection criteria are required or a model needs to be fitted that is currently not supported by these two functions, supervised eigenvector selection can be performed as well using the basic stats::lm() and stats::glm() commands in conjunction with the output generated by getEVs(). This option provides additional flexibility.
Owner
- Name: Sebastian Juhl
- Login: sjuhl
- Kind: user
- Location: Hamburg, Germany
- Company: SAP SE
- Website: www.sebastianjuhl.com
- Repositories: 2
- Profile: https://github.com/sjuhl
Data Scientist
GitHub Events
Total
- Release event: 1
- Push event: 15
- Create event: 1
Last Year
- Release event: 1
- Push event: 15
- Create event: 1
Committers
Last synced: almost 3 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| sjuhl | s****l@g****e | 164 |
| sjuhl | 3****l | 100 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: almost 2 years ago
All Time
- Total issues: 0
- Total pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: 36 minutes
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.25
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- sjuhl (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 301 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 8
- Total maintainers: 1
cran.r-project.org: spfilteR
Semiparametric Spatial Filtering with Eigenvectors in (Generalized) Linear Models
- Homepage: https://github.com/sjuhl/spfilteR
- Documentation: http://cran.r-project.org/web/packages/spfilteR/spfilteR.pdf
- License: GPL-3
-
Latest release: 2.1.0
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- stats * imports
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
- r-hub/actions/checkout v1 composite
- r-hub/actions/platform-info v1 composite
- r-hub/actions/run-check v1 composite
- r-hub/actions/setup v1 composite
- r-hub/actions/setup-deps v1 composite
- r-hub/actions/setup-r v1 composite