larch.numba.Model.rho_sq_null

larch.numba.Model.rho_sq_null

Model.rho_sq_null()

Compute the rho squared value w.r.t. null values.

Parameters
  • x ({'null', 'init', 'best', array-like, dict, scalar}, optional) – Values for the parameters. See Model.set_values for details.

  • use_cache (bool, default True) – Use the cached value for loglike_null if available. Set to -1 to raise an exception if there is no cached value.

  • adj (bool, default False) – Compute adjusted rho squared, which accounts for the degrees of freedom.

Returns

float