Skip to content

Commit

Permalink
added news file
Browse files Browse the repository at this point in the history
  • Loading branch information
Daan de Jong committed Nov 24, 2023
1 parent a038701 commit 675984a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
22 changes: 22 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# `hystar` development version

# `hystar` 1.2.0

* More options to customize the graphs from the `plot()`-method for R-objects of class `hystar_fit` and `hystar_sim`:

- the colors of the background and lines

- line types and widths of `z`, `y` and the thresholds

* More default arguments in `z_sim`: `n_t = 100` and `n_switches = 2`. Now, all arguments have a default, which allows you to create examples faster.

* More default arguments in `hystar_sim`: `r = c(-0.5, 0.5)`, `d = 0`, `phi_R0 = c(0, 0.5)` and `phi_R1 = c(2, 0.5)`. Now, the only necessary argument is `z`.

# `hystar` 1.1.0

* Fixed a mistake in the estimation of the asymptotic standard error. I noticed this during simulations, where some confidence interval coverage rates were strikingly low. All is fine now!

# `hystar` 1.0.0

* First CRAN release!

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,4 @@ For more information, see the [`hystar` website](https://daandejongen.github.io/

## Scientific resources

The HysTAR model was originally proposed by [Li, Guan, Li and Yu (2015)](https://academic.oup.com/biomet/article-abstract/102/3/717/2365298?login=false).

Li, Guodong, Bo Guan, Wai Keung Li, en Philip L. H. Yu. ‘Hysteretic Autoregressive Time Series Models’. Biometrika 102, nr. 3 (september 2015): 717–23.
The HysTAR model was originally proposed by [Li, Guan, Li and Yu (2015)](https://academic.oup.com/biomet/article-abstract/102/3/717/2365298?login=false).
6 changes: 6 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ url: https://daandejongen.github.io/hystar/, https://dplyr.tidyverse.org
template:
bootstrap: 5

reference:
- title: Functions
- contents:
- hystar_fit
- hystar_sim
- z_sim

0 comments on commit 675984a

Please sign in to comment.