Log-Likelihood of Time Series Model.

Description

This function is intended for internal use only. It calculates the log-likelihood function of a time series of normally distributed data for use in the q1q2l (via dcvts, dsvts or drvts)

Usage

1
tslogl(bug, ymean, sigma)

Arguments

bug

A BUGS model created in the tsbugs package.

ymean

Mean value of y over time for each set of simulated parameter values.

sigma

Standard deviation of y over time for each set of simulated parameter values.

Author(s)

Guy J. Abel

See Also

q1q2l, dcvts, dsvts,drvts