Skip to content

spmodel v0.9.0

Latest
Compare
Choose a tag to compare
@michaeldumelle michaeldumelle released this 07 Nov 02:31
40ce490

spmodel 0.9.0

Major Updates

  • Added the range_constrain argument to splm() and spglm() to constrain the range parameter to enhance numerical stability. The default for range_constrain is FALSE, implying the range is not constrained.
  • Updated the seal data with additional polygons and a factor variable, stock, with two levels (8 and 10) that indicates seal stock (i.e., seal type).

Minor Updates

  • Changed diagonal tolerance threshold for spglm() and spgautor() model objects. See this link for details.
  • Added the "ie" spatial covariance type to splm() and spglm() models. For splm() models, "ie" is an alias for "none". For spglm() models, "none" now fixes both the de and ie covariance parameters at zero, while "ie" fixes the de covariance parameter at zero but allows the ie covariance parameter to vary. Thus, "none" from spmodel $\le$ v0.8.0 matches "ie" from spmodel v0.9.0 and but is different from "none" from spmodel v0.9.0.
  • Added the na.action argument to predict.spmodel() functions to clarify that missing values in newdata return an error.
  • Minor documentation updates.

Bug Fixes

  • Fixed a bug that caused incorrect degrees of freedom for the likelihood ratio test (anova(model1, model2)) when estmethod is "ml" for both models.
  • Fixed a bug that caused an error in anova(object1, object2) when the name of object1 had special characters (e.g., $).