You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add distribution functions
* deprecate "empty" distribution
* make sd S3
* only generate samples if any params aren't natural
* update stan model with new dist interface
* update lognormal parameters
* return mean function to previous functionality
* update data
* deprecate dist_def functions
* use natural parametrisations in dist_def functions
* deprecate dist_spec
* extract_single_dist function
* update fix_dist to work with compsosite dists
* extract squash
* update parameters to extract
* specify lower bounds in function
* pass lower bounds to stan model
* update sample/report functions
* max squash adjust report
* update dist functions to new syntax
* re-create data
* update get_dist to new syntax
* fully deprecate get fnuctions
* create delay inits separately
* max squash again
* return correct dist in estimate_truncation
* few more examples/docs
* fix tests
* add documentation to dist interface
* add input checks
* sd function to work with composite dists
* warn when not using natural parameters
* ensure bounds are respected in stan
* add empty distribution for legacy reasons
* add checks to dist_skel
* use lapply for parameters
* don't calculate sd if length 1
* use uncertain reporting in example
* don't add one to sd
* return correct parameters
* dist_skel: calculate rate everywhere
* update dist_skel examples
* add missing man file
* don't run internal examples
* demote warning to message
* update syntax everywhere
* add news item
* turn sd into an internal function
* fix distribution documentation
* remove obselete default
* spell checking
* use correct sd function
* linting
* remove obsolete tests
* loop over all parameters
* update touchstone arguments
* linting
* fix regex search/replace gone wrong
* remove obsolete space
* update strategy for estimating uncertainty
* update uncertain parameter transformations
* add missing sd to parameter sampling
* update / recompile vignettes
* update var names
* rename argument in docs
* update man pages
* update test result
* add reviewer
Co-authored-by: Sam Abbott <s.e.abbott12@gmail.com>
* base scaling on variance, not sd
* re-render vignettes
* full text capitalisation of distributions
* separate dist_spec from stan model
* adjust tests/code for new dist_spec set up
* re-create examples
* re-doc
* update tests
* new dist_spec in estimate_truncation example
* update get_seeding_time with updated dist_spec
* estimate_truncation and seeding time tests
* update truncation dist in estimate_truncation
* remove more uses of old dist_spec
* SD explicitly to zero for fixed
* give names
* fix typo
* fix indent
* fix another typo
* squash bugs highlighted by tests
* remove missing variable
* linting
* add missing docs
* import transpose
* ensure sd is positive
* fix estimate_truncation example
* make tolerance user-settable
* use purrr::map instead of lapply
* fix stan dist test
* fix plotting
* Apply suggestions from code review
Co-authored-by: Sam Abbott <s.e.abbott12@gmail.com>
* rate and scale examples for Gamma
Co-authored-by: Sam Abbott <s.e.abbott12@gmail.com>
* capitalise gamma and lognormal
Co-authored-by: Sam Abbott <s.e.abbott12@gmail.com>
* change to single hash
* use bar in normal_cdf
* remove estraneous backticks
* remove space before left parenthesis
* split up dist.R
* move deprecated `dist_spec` function
* add examples
* initial design sketch
* make parameter conversion more flexible
* add test for alternative gama params
* update syntax in simulate_infections
* add missing tag
* update man pages
* update estimate_secondary tests
* update simulate_infections for new interface
* udpate snapshots
* get_dist deprecation test with natural params
* update phi syntax
* hide internal example
* update deprecations
* use toString
* pmf -> NonParametric
* add american spelling
* fix gamma deprecation
* add new functions to pkgdown
* update vignette
* recompile vignettes
---------
Co-authored-by: Sam Abbott <s.e.abbott12@gmail.com>
Copy file name to clipboardExpand all lines: NEWS.md
+1
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
*`simulate_infections` has been renamed to `forecast_infections` in line with `simulate_secondary` and `forecast_secondary`. The terminology is: a forecast is done from a fit to existing data, a simulation from first principles. By @sbfnk in #544 and reviewed by @seabbs.
10
10
* A new `simulate_infections` function has been added that can be used to simulate from the model from given initial conditions and parameters. By @sbfnk in #557 and reviewed by @jamesmbaazam.
11
11
* The function `init_cumulative_fit()` has been deprecated. By @jamesmbaazam in #541 and reviewed by @sbfnk.
12
+
* The interface to generating delay distributions has been completely overhauled. Instead of calling `dist_spec()` users now specify distributions using functions that represent the available distributions, i.e. `LogNormal()`, `Gamma()` and `Fixed()`. Uncertainty is specified using calls of the same nature, to `Normal()`. More information on the underlying design can be found in `inst/dev/design_dist.md` By @sbfnk in #504 and reviewed by @seabbs.
0 commit comments