statsmodels.genmod.qif.QIF.fit

method

QIF.fit(maxiter=100, start_params=None, tol=1e-06, gtol=0.0001, ddof_scale=None)[source]

Fit a GLM to correlated data using QIF.

Parameters
maxiterinteger

Maximum number of iterations.

start_paramsarray-like, optional

Starting values

tolfloat

Convergence threshold for difference of successive estimates.

gtolfloat

Convergence threshold for gradient.

ddof_scaleint, optional

Degrees of freedom for the scale parameter

Returns
QIFResults object