-
Notifications
You must be signed in to change notification settings - Fork 0
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
8e8a533
commit ea9ae46
Showing
9 changed files
with
21 additions
and
20 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,15 +1,15 @@ | ||
Package: IHSEP | ||
Type: Package | ||
Title: Inhomogeneous Self-Exciting Process | ||
Version: 0.0 | ||
Date: 2016-08-17 | ||
Version: 0.1 | ||
Date: 2016-12-2 | ||
Author: Feng Chen <feng.chen@unsw.edu.au> | ||
Maintainer: Feng Chen <feng.chen@unsw.edu.au> | ||
Description: Simulate an inhomogeneous self-exciting process (IHSEP), or Hawkes process, with a given (time-varying) baseline intensity and an excitation function. Calculate the likelihood of an IHSEP with given baseline intensity and excitation functions for an (increasing) sequence of event times. Calculate the point process residuals (integral transforms of the original event times). Calculate the mean intensity process. | ||
Description: Simulate an inhomogeneous self-exciting process (IHSEP), or Hawkes process, with a given (possibly time-varying) baseline intensity and an excitation function. Calculate the likelihood of an IHSEP with given baseline intensity and excitation functions for an (increasing) sequence of event times. Calculate the point process residuals (integral transforms of the original event times). Calculate the mean intensity process. | ||
License: GPL (>= 2) | ||
LinkingTo: Rcpp | ||
Imports: lpint,Rcpp | ||
NeedsCompilation: yes | ||
Packaged: 2016-08-17 22:38:32 UTC; z3243864 | ||
Packaged: 2016-12-03 06:16:20 UTC; z3243864 | ||
Repository: CRAN | ||
Date/Publication: 2016-08-18 10:02:17 | ||
Date/Publication: 2016-12-05 14:49:21 |
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,6 +1,6 @@ | ||
mloglik1a <- | ||
function(jtms,TT=max(jtms),nu,g,Ig=function(x)sapply(x,function(y)integrate(g,0,y)$value), | ||
tol.abs=1e-8,tol.rel=1e-8,limit=1000){ | ||
tol.abs=1e-12,tol.rel=1e-12,limit=1000){ | ||
.External("mloglik1a",jtms,length(jtms),TT,nu,g,Ig,new.env(), | ||
tol.abs,tol.rel,limit,PACKAGE="IHSEP") | ||
} |
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,5 @@ | ||
mloglik1b <- | ||
function(jtms,TT=max(jtms),nu,g,Ig=function(x)sapply(x,function(y)integrate(g,0,y)$value), | ||
function(jtms,TT=max(jtms),nu,g,Ig=function(x)sapply(x,function(y)integrate(g,0,y,rel.tol=1e-12,abs.tol=1e-12,subdivisions=1000)$value), | ||
Inu=function(x)sapply(x,function(y)integrate(nu,0,y)$value)){ | ||
.External("mloglik1b",jtms,length(jtms),TT,nu,g,Ig,Inu,new.env(),PACKAGE="IHSEP") | ||
} |
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