View source: R/MulitiplicativeLogLikelihoodMultipleF.R
MultiplicativeLogLikelihood | R Documentation |
Computes the log-likelihood of a spike train under the assumptions of the multiplicative model.
MultiplicativeLogLikelihood(
param,
f.hat,
w0.hat.itr,
setup.pars,
ct,
ct.spike.times,
individual.spike.train
)
param |
a numeric vector containing the value of the eta and gamma parameters in the model. For a model containing K frequencies, the first K numbers are eta values and the second K numbers are gamma values. This must be the first argument as we wish to maximize the value of the log-likelihood function over the entire set of eta and gamma parameters. |
f.hat |
a numeric vector containing frequency estimates for a particular model. |
w0.hat.itr |
a numeric vector containing phase estimates for a particular model and spike train. |
setup.pars |
a list of additional parameters for the likelihood function, computed by the |
ct |
a numeric vector containing the estimated piecewise constant intensity function. The length of |
ct.spike.times |
a numeric vector containing the values of |
individual.spike.train |
a numeric vector containing the spike times for that spike train. |
The value of the log-likelihood function for the multiplicative model.
Ramezan, R., Marriott, P., and Chenouri, S. (2014), Statistics in Medicine, 33(2), 238-256. doi: 10.1002/sim.5923.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.