Learn R Programming

tsbridge (version 1.1)

tslogl: 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

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.

See Also

q1q2l, dcvts, dsvts,drvts