Skip to content

Commit

Permalink
more spell check
Browse files Browse the repository at this point in the history
  • Loading branch information
merliseclyde committed Jan 24, 2020
1 parent e2a6c01 commit e02110b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
26 changes: 13 additions & 13 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ Suggests:
pkgdown,
testthat,
covr
Description: Package for Bayesian Variable Selection and Model Averaging in linear
models and
generalized linear models using stochastic or
Description: Package for Bayesian Variable Selection and Model Averaging
in linear models and generalized linear models using stochastic or
deterministic sampling without replacement from posterior
distributions. Prior distributions on coefficients are
from Zellner's g-prior or mixtures of g-priors
Expand All @@ -41,20 +40,21 @@ Description: Package for Bayesian Variable Selection and Model Averaging in lin
<DOI:10.1198/016214507000001337>
for linear models or mixtures of g-priors from Li and Clyde
(2019) <DOI:10.1080/01621459.2018.1469992> in generalized linear models.
Other model selection criteria include AIC, BIC and Empirical Bayes estimates of g.
Sampling probabilities may be updated based on the sampled models
using Sampling w/out Replacement or an efficient MCMC algorithm which
samples models using the `BAS` tree structure as an efficient hash table.
Other model selection criteria include AIC, BIC and Empirical Bayes
estimates of g. Sampling probabilities may be updated based on the sampled
models using sampling w/out replacement or an efficient MCMC algorithm which
samples models using a tree structure of the model space
as an efficient hash table. See Clyde, Ghosh and Littman (2010)
<DOI:10.1198/jcgs.2010.09049> for details on the sampling algorithms.
Uniform priors over all models or beta-binomial prior distributions on
model size are allowed, and for large p truncated priors on the model
space may be used to enforce sampling models that are full rank.
The user may force variables to always be included in addition to imposing constraints
that higher order interactions are included only if their parents are
included in the model.
Details behind the sampling algorithm are provided in
Clyde, Ghosh and Littman (2010) <DOI:10.1198/jcgs.2010.09049>.
The user may force variables to always be included in addition to imposing
constraints that higher order interactions are included only if their
parents are included in the model.
This material is based upon work supported by the National Science
Foundation under Division of Mathematical Sciences grant 1106891. Any opinions, findings, and
Foundation under Division of Mathematical Sciences grant 1106891.
Any opinions, findings, and
conclusions or recommendations expressed in this material are those of
the author(s) and do not necessarily reflect the views of the
National Science Foundation.
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Fixed errors identified on cran checks https://cran.r-project.org/web/checks/che

## Features

* Included an option `pivot=TRUE` in `bas.lm` to fit the models using a pivoted Cholesky decomposition to allow models that are rank-deficient. [Enhancment #24](https://github.com/merliseclyde/BAS/issues/24) and [Bug #21](https://github.com/merliseclyde/BAS/issues/21). Currently coefficients that are not-estimable are set to zero so that `predict` and other methods will work as before. The vector `rank` is added to the output (see documentation for `bas.lm`) and the degrees of freedom methods that assume a uniform prior for obtaining estimates (AIC and BIC) are adjusted to use `rank` rather than `size`.
* Included an option `pivot=TRUE` in `bas.lm` to fit the models using a pivoted Cholesky decomposition to allow models that are rank-deficient. [Enhancement #24](https://github.com/merliseclyde/BAS/issues/24) and [Bug #21](https://github.com/merliseclyde/BAS/issues/21). Currently coefficients that are not-estimable are set to zero so that `predict` and other methods will work as before. The vector `rank` is added to the output (see documentation for `bas.lm`) and the degrees of freedom methods that assume a uniform prior for obtaining estimates (AIC and BIC) are adjusted to use `rank` rather than `size`.

* Added option `force.heredity=TRUE`to force lower order terms to be included if higher order terms are present (hierarchical constraint) for `method='MCMC'` and `method='BAS'` with `bas.lm` and `bas.glm`. Updated Vignette to illustrate. [enhancement #19](https://github.com/merliseclyde/BAS/issues/19). Checks to see if _parents_ are included using `include.always` pass [issue #26](https://github.com/merliseclyde/BAS/issues/26).

Expand Down Expand Up @@ -292,7 +292,7 @@ A vignette has been added at long last! This illustrates several of the new fea



## Deprication
## Deprecation
* deprecated use of `type` to specify estimator in fitted.bas and replaced with `estimator` so that `predict()` and `fitted()` are compatible with other S3 methods.
* updated functions to be of class `bas` to avoid NAMESPACE conflicts with other libraries

Expand Down
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ NULL
#' C, +/- 1.2 degrees C in tropical sea surface temperatures.
#' The negative value means that the Earth was colder then than now.
#' Since 1980 there have been many other studies.
#' \code{climate} is a dataset contaning 63 measurements on 5 variables:
#' \code{climate} is a dataset with 63 measurements on 5 variables:
#' \describe{\item{\emph{deltaT}}{ the response variables, which is the change in temperature
#' in degrees Celsius;}
#' \item{\emph{sdev}}{a standard deviation for the calculated \emph{deltaT};}
Expand Down
2 changes: 1 addition & 1 deletion man/climate.Rd

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

0 comments on commit e02110b

Please sign in to comment.