Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 37 draft: Why it works vignette with analytic solutions #68

Merged
merged 35 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
4b7a02c
Add Leung ref
SamuelBrand1 Sep 13, 2024
dc94f53
Create why-it-works.Rmd
SamuelBrand1 Sep 13, 2024
b060945
add cori et al ref
SamuelBrand1 Sep 16, 2024
0f591af
Add analytic solutions: Gamma
SamuelBrand1 Sep 16, 2024
5733e25
slight eq tweak
SamuelBrand1 Sep 16, 2024
37e7f18
linting
SamuelBrand1 Sep 16, 2024
ca16908
Add Leung ref
SamuelBrand1 Sep 13, 2024
c47c2d6
Create why-it-works.Rmd
SamuelBrand1 Sep 13, 2024
7bd8cf4
add cori et al ref
SamuelBrand1 Sep 16, 2024
fd2ac18
Add analytic solutions: Gamma
SamuelBrand1 Sep 16, 2024
9d039aa
slight eq tweak
SamuelBrand1 Sep 16, 2024
b05b238
linting
SamuelBrand1 Sep 16, 2024
06e1a16
Update vignettes/why-it-works.Rmd
seabbs Sep 16, 2024
e8a1d78
Update vignettes/why-it-works.Rmd
seabbs Sep 16, 2024
85c8667
Merge branch 'why-it-works-vignette' of https://github.com/SamuelBran…
SamuelBrand1 Sep 16, 2024
ea269fa
add self as author
SamuelBrand1 Sep 16, 2024
308141b
Update vignettes/why-it-works.Rmd
SamuelBrand1 Sep 17, 2024
ddd5c64
Update vignettes/why-it-works.Rmd
SamuelBrand1 Sep 17, 2024
dd79913
Update vignettes/why-it-works.Rmd
SamuelBrand1 Sep 17, 2024
8917703
add self as author in DESCRIPTION
SamuelBrand1 Sep 17, 2024
cba034b
change title
SamuelBrand1 Sep 17, 2024
e66a0ac
changed notation so that window width is lowercase
SamuelBrand1 Sep 17, 2024
dcfd976
ongoing rewrite
SamuelBrand1 Sep 17, 2024
694e16b
extra ref
SamuelBrand1 Sep 17, 2024
dd29b60
seqn updates
SamuelBrand1 Sep 18, 2024
991407a
reorganise equations
SamuelBrand1 Sep 18, 2024
3db8aeb
fix lognormal discrete
SamuelBrand1 Sep 18, 2024
27c98ed
add note to pkgdown.yml
SamuelBrand1 Sep 18, 2024
5fa6b9b
extra refs
SamuelBrand1 Sep 18, 2024
917ab7e
Update WORDLIST
SamuelBrand1 Sep 18, 2024
6120812
Merge branch 'main' into why-it-works-vignette
seabbs Sep 18, 2024
62ec9ed
add a "pre-intro" section
SamuelBrand1 Sep 18, 2024
05daf84
Merge branch 'why-it-works-vignette' of https://github.com/SamuelBran…
SamuelBrand1 Sep 18, 2024
9df87c0
Update NEWS.md
SamuelBrand1 Sep 18, 2024
8059534
Apply suggestions from code review
seabbs Sep 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ Authors@R:
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0001-8057-8037")),
person(given = "Sam",
family = "Brand",
role = c("aut"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-0645-5367")),
person(given = "Adam",
family = "Howes",
role = c("ctb"),
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This is the current development version.
## Package

* Add `{touchstone}` based benchmarks for benchmarking R utility functions, and fitting the `stan` and `fitdistplus` models.
* Added a "How it works" vignette.

# primarycensoreddist 0.4.0

Expand Down
2 changes: 2 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ navbar:
href: articles/fitting-dists-with-stan.html
- text: Fitting distributions using primarycensorseddist and fitdistrplus
href: articles/fitting-dists-with-fitdistrplus.html
- text: Why it works
href: articles/why-it-works.html

authors:
Sam Abbott:
Expand Down
26 changes: 26 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Charniga
CmdStan
CmdStanModel
Codecov
Cori
Dirichlet
EpiEstim
Github
Gumbel
Inf
Expand All @@ -17,31 +19,55 @@ cdot
cens
cmdstan
cmdstanr
disccensprob
disccensunifprim
discretisation
discretising
dp
dprimary
dprimarycensoreddist
dy
dz
eq
fcp
fitdist
fitdistr
fitdistrplus
frac
gammapartexp
geq
hexsticker
int
leq
lfloor
lim
ln
lognormpartexp
mathbb
modelhelpers
modeling
nF
obs
partexp
pcd
pdist
pprimarycensoreddist
primarycensorseddist
primaryeventdistributions
propto
pwindow
qquad
rfloor
rightarrow
rprimary
seabbs
seccensorprob
sim
stan
stantools
survgammaunifprim
survivalfunc
swindow
u
unifprim
zsusswein
1 change: 1 addition & 0 deletions vignettes/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.quarto/
22 changes: 22 additions & 0 deletions vignettes/library.bib
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,25 @@ @ARTICLE{Park2024
year = 2024,
doi = "10.1101/2024.01.12.24301247"
}

@article{leung1997censoring,
title={Censoring issues in survival analysis},
author={Leung, Kwan-Moon and Elashoff, Robert M and Afifi, Abdelmonem A},
journal={Annual review of public health},
volume={18},
number={1},
pages={83--104},
year={1997},
publisher={Annual Reviews 4139 El Camino Way, PO Box 10139, Palo Alto, CA 94303-0139, USA}
}

@article{cori2013new,
title={A new framework and software to estimate time-varying reproduction numbers during epidemics},
author={Cori, Anne and Ferguson, Neil M and Fraser, Christophe and Cauchemez, Simon},
journal={American journal of epidemiology},
volume={178},
number={9},
pages={1505--1512},
year={2013},
publisher={Oxford University Press}
}
Loading
Loading