InstrumentalVariableRegression.compile_dlogp#

InstrumentalVariableRegression.compile_dlogp(vars=None, jacobian=True, **compile_kwargs)#

Compiled log probability density gradient function.

Parameters:
  • vars (list of random variables or potential terms, optional) – Compute the gradient with respect to those variables. If None, use all free and observed random variables, as well as potential terms in model.

  • jacobian (bool) – Whether to include jacobian terms in logprob graph. Defaults to True.

Return type:

PointFunc