-
Notifications
You must be signed in to change notification settings - Fork 27
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
Showing
14 changed files
with
201 additions
and
57 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,8 +1,8 @@ | ||
Package: pomp | ||
Type: Package | ||
Title: Statistical Inference for Partially Observed Markov Processes | ||
Version: 6.0.2.3 | ||
Date: 2024-12-18 | ||
Version: 6.0.3.0 | ||
Date: 2024-12-19 | ||
Authors@R: c(person(given=c("Aaron","A."),family="King",role=c("aut","cre"),email="[email protected]",comment=c(ORCID="0000-0001-6159-3207")), | ||
person(given=c("Edward","L."),family="Ionides",role="aut",comment=c(ORCID="0000-0002-4190-0174")) , | ||
person(given="Carles",family="Bretó",role="aut",comment=c(ORCID="0000-0003-4695-4902")), | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Simulate 5 realizations of Euler-multinomial random variable: | ||
|
||
dn <- reulermultinom(5,size=100,rate=c(a=1,b=2,c=3),dt=0.1) | ||
dn | ||
|
||
## Compute the probability mass function at each of the 5 realizations: | ||
|
||
deulermultinom(x=dn,size=100,rate=c(1,2,3),dt=0.1) | ||
|
||
## Compute the expectation of an Euler-multinomial: | ||
|
||
eeulermultinom(size=100,rate=c(a=1,b=2,c=3),dt=0.1) | ||
|
||
## An Euler-multinomial with overdispersed transitions: | ||
|
||
dt <- 0.1 | ||
dW <- rgammawn(sigma=0.1,dt=dt) | ||
reulermultinom(5,size=100,rate=c(a=1,b=2,c=3),dt=dW) |
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,5 +1,9 @@ | ||
ricker() |> spy() | ||
\donttest{ | ||
|
||
sir() |> spy() | ||
ricker() |> spy() | ||
|
||
sir2() |> spy() | ||
sir() |> spy() | ||
|
||
sir2() |> spy() | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.