larch.numba.Model.rho_sq_nil

larch.numba.Model.rho_sq_nil

Model.rho_sq_nil()

Compute the rho squared value w.r.t. no model at all.

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

  • use_cache (bool, default True) – Use the cached value for loglike_nil 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