-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2123cc3
commit f4573bf
Showing
31 changed files
with
120 additions
and
1,029 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
Package: bsts | ||
Version: 0.9.9 | ||
Date: 2022-11-03 | ||
Version: 0.9.10 | ||
Date: 2024-01-16 | ||
Title: Bayesian Structural Time Series | ||
Author: Steven L. Scott <[email protected]> | ||
Maintainer: Steven L. Scott <[email protected]> | ||
Description: Time series regression using dynamic linear models fit using | ||
MCMC. See Scott and Varian (2014) <DOI:10.1504/IJMMNO.2014.059942>, among many | ||
other sources. | ||
Depends: BoomSpikeSlab (>= 1.2.5), zoo (>= 1.8), xts, Boom (>= 0.9.11), | ||
Depends: BoomSpikeSlab (>= 1.2.6), zoo (>= 1.8), xts, Boom (>= 0.9.13), | ||
R(>= 3.4.0) | ||
Suggests: testthat | ||
LinkingTo: Boom (>= 0.9.11) | ||
LinkingTo: Boom (>= 0.9.13) | ||
License: LGPL-2.1 | MIT + file LICENSE | ||
Encoding: UTF-8 | ||
NeedsCompilation: yes | ||
Packaged: 2022-11-06 20:47:53 UTC; steve | ||
Packaged: 2024-01-16 23:31:15 UTC; steve | ||
Repository: CRAN | ||
Date/Publication: 2022-11-07 08:50:11 UTC | ||
Date/Publication: 2024-01-17 13:02:07 UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
library(bsts) | ||
library(testthat) | ||
|
||
test_that("sigma.upper.limit can be specified at the main bsts call.", { | ||
y <- rnorm(4) | ||
x <- rnorm(4) | ||
ss <- AddLocalLevel(list(), y) | ||
|
||
warning("enable the test for 'sigma.upper.limit'") | ||
|
||
## for (i in 1:20) { | ||
## model <- bsts(y, ss, niter = 100, ping = -1, sigma.upper.limit = 10) | ||
## } | ||
## expect_true(inherits(model, "bsts")) | ||
|
||
## for(i in 1:20) { | ||
## model <- bsts(y ~ x, ss, niter = 10, ping = -1, sigma.upper.limit = 10) | ||
## } | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
\name{bsts-package} | ||
\alias{bsts-package} | ||
\docType{package} | ||
\title{ | ||
bsts | ||
} | ||
|
||
\description{ | ||
Time series regression using dynamic linear models fit using | ||
MCMC. See Scott and Varian (2014) <DOI:10.1504/IJMMNO.2014.059942>, among many | ||
other sources. | ||
} | ||
|
||
\details{ | ||
\subsection{Installation note for Linux users}{ If you are installing bsts | ||
using \code{\link{install.packages}} on a Linux machine (and thus | ||
compiling yourself) you will almost certainly want to set the | ||
\code{Ncpus} argument to a large number. Windows and Mac users can | ||
ignore this advice. } | ||
|
||
} | ||
|
||
\author{ | ||
Author: Steven L. Scott <steve.the.bayesian@gmail.com> | ||
Maintainer: Steven L. Scott <steve.the.bayesian@gmail.com> | ||
} | ||
|
||
\references{ | ||
Please see the references in the help page for the \code{\link{bsts}} function. | ||
} | ||
|
||
\keyword{ package } | ||
|
||
\seealso{ | ||
See the examples in the \code{\link{bsts}} function. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
BOOM_DIR = `$(R_HOME)/bin/Rscript -e "cat(system.file(package='Boom'))"` | ||
BOOM_LIB = ${BOOM_DIR}/lib${R_ARCH}/libboom.a | ||
PKG_LIBS = ${BOOM_LIB} | ||
PKG_LIBS = ${BOOM_LIB} | ||
PKG_CPPFLAGS = -I${BOOM_DIR}/include -DADD_ -DR_NO_REMAP -DRLANGUAGE | ||
|
||
# PKG_CXXFLAGS= -fsanitize=address | ||
# PKG_CXXFLAGS= -fsanitize=undefined | ||
|
||
CXX_STD = CXX11 | ||
# CXX_STD = CXX11 | ||
|
||
# When compiling remotely (e.g. on CRAN's winbuilder) flags to be | ||
# passed to make can be specified here. | ||
# -k: keep going | ||
# -j 16: use 16 threads | ||
# MAKEFLAGS=" -j 32 " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.