Skip to content

Commit

Permalink
update.docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rsbivand committed Apr 29, 2024
1 parent 3292041 commit d50798c
Show file tree
Hide file tree
Showing 59 changed files with 3,397 additions and 516 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: spatialreg
Version: 1.3-2
Date: 2024-02-06
Version: 1.3-3
Date: 2024-04-29
Title: Spatial Regression Analysis
Encoding: UTF-8
Authors@R: c(person("Roger", "Bivand", role = c("cre", "aut"), email = "[email protected]", comment=c(ORCID="0000-0003-2392-6140")),
Expand Down Expand Up @@ -29,7 +29,7 @@ Depends: R (>= 3.3.0), spData, Matrix, sf
Imports: spdep (>= 1.3-1), coda, methods, MASS, boot, splines, LearnBayes,
nlme, multcomp
Suggests: parallel, RSpectra, tmap, foreign, spam, knitr, lmtest, expm,
sandwich, rmarkdown, igraph, tinytest
sandwich, rmarkdown, igraph (>= 2.0.0), tinytest
Description: A collection of all the estimation functions for spatial cross-sectional models (on lattice/areal data using spatial weights matrices) contained up to now in 'spdep'. These model fitting functions include maximum likelihood methods for cross-sectional models proposed by 'Cliff' and 'Ord' (1973, ISBN:0850860369) and (1981, ISBN:0850860814), fitting methods initially described by 'Ord' (1975) <doi:10.1080/01621459.1975.10480272>. The models are further described by 'Anselin' (1988) <doi:10.1007/978-94-015-7799-1>. Spatial two stage least squares and spatial general method of moment models initially proposed by 'Kelejian' and 'Prucha' (1998) <doi:10.1023/A:1007707430416> and (1999) <doi:10.1111/1468-2354.00027> are provided. Impact methods and MCMC fitting methods proposed by 'LeSage' and 'Pace' (2009) <doi:10.1201/9781420064254> are implemented for the family of cross-sectional spatial regression models. Methods for fitting the log determinant term in maximum likelihood and MCMC fitting are compared by 'Bivand et al.' (2013) <doi:10.1111/gean.12008>, and model fitting methods by 'Bivand' and 'Piras' (2015) <doi:10.18637/jss.v063.i18>; both of these articles include extensive lists of references. A recent review is provided by 'Bivand', 'Millo' and 'Piras' (2021) <doi:10.3390/math9111276>. 'spatialreg' >= 1.1-* corresponded to 'spdep' >= 1.1-1, in which the model fitting functions were deprecated and passed through to 'spatialreg', but masked those in 'spatialreg'. From versions 1.2-*, the functions have been made defunct in 'spdep'.
License: GPL-2
URL: https://github.com/r-spatial/spatialreg/, https://r-spatial.github.io/spatialreg/
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Version 1.3-2 (development)

* add `sqrt=TRUE` in calls to Matrix `determinant` methods in `matrix_ldet`

* add `igraph (>= 2.0.0)` in DESCRIPTION for re-named `igraph` functions

# Version 1.3-2 (2024-02-06)

* pass through SlX formula in call

* re-corrected #19 because the fitted model weights component may be NULL
Expand Down
6 changes: 3 additions & 3 deletions R/jacobian.R
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,10 @@ Matrix_ldet <- function(coef, env, which=1) {
.f <- get(".f", envir=env)

Jacobian <- ifelse(coef > b, n * log(coef) +
(.f * c(determinant(update(nChol, nW, 1/coef))$modulus)),
(.f * c(determinant(update(nChol, nW, 1/coef), sqrt=TRUE)$modulus)),
ifelse(coef < a, n* log(-(coef)) +
(.f * c(determinant(update(pChol, csrw, 1/(-coef)))$modulus)),
0.0))
(.f * c(determinant(update(pChol, csrw, 1/(-coef)),
sqrt=TRUE)$modulus)), 0.0))
Jacobian
}

Expand Down
12 changes: 6 additions & 6 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions docs/articles/SpatialFiltering.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d50798c

Please sign in to comment.