mixed_fix_likelihood#

View page source

Fixed Effects Likelihood#

Syntax#

v = fix_likelihood.forward (0, theta )

fix_likelihood#

is a d_fun representation of the negative log of the fixed effects likelihood

\[f( \theta ) = v_0 ( \theta ) + | v_1 ( \theta) | + \cdots + | v_{m-1} ( \theta ) | = - \log [ \B{p} ( z | \theta ) \B{p} ( \theta ) ]\]

The functions \(v_i ( \theta )\) for \(i = 0 , \ldots , m-1\) are assumed to be a smooth w.r.t the vector \(\theta\).

theta#

is a numpy vector with float elements and size n_fixed containing a value for the fixed effects.

v#

is a numpy vector with float elements and size m.

None#

The value fix_likelihood = None corresponds to the fixed effects likelihood being constant w.r.t. \(\theta\).

Example#

mixed_fix_likelihood_xam.py