Re: [R] EM algorithm for maximizing the likelihood of Multivariate Hawkes process

2016-07-28 Thread Jeff Newmiller
How did you try to find the answer before posting? Some possibilities might be go ogling [1] or perusing CRAN to find [2]... Note that HTML tends to mangle code... please follow the Posting Guide and send plain text email to this list. [1] http://bfy.tw/6y3o [2] https://cran.r-project.org/web/v

[R] EM algorithm for maximizing the likelihood of Multivariate Hawkes process

2016-07-28 Thread Ramkishore Swaminathan
I am trying to model data with multivariate Hawkes distribution. Take the below example. I am able to compute likelihood but don't know how to maximize it. library(hawkes) lambda0 <- c(0.2,0.2) alpha <- matrix(c(0.5,0,0,0.5),byrow=TRUE,nrow=2) beta<- c(0.7,0.7) history <- simulateHawkes(lamb