logp: logp

Description Usage Arguments

Description

Estimates the marginal likelihood of the data using the samples

Usage

1
logp(N, samples, priors, iter, EQUIV)

Arguments

N

Matrix of count data; axis 0 is the number of time intervals per day and axis 1 is the number of days in the data.

samples

List of different samples at all time periods

priors

List with parameter values of prior distributions

iter

Number of iterations over which to calcuate likelihood.

EQUIV

Parameter sharing controls <- c(S1, S2): S1 <- force sharing of delta (day effect) among days, S2 <- force sharing of eta (time of day) among days, Values: 1 (all days share), 2 (weekdays/weekends), 3 (none)



Search within the mmppr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.