conv.plot: Create a plot to examine the convergence of the algorithm.

conv.plotR Documentation

Create a plot to examine the convergence of the algorithm.

Description

Create a plot to examine the convergence of the algorithm.

Usage

conv.plot(result, true_coeffs = NULL, x = NULL, y = NULL, family = binomial())

Arguments

result

The results from irls.sgd.

true_coeffs

A vector of true coefficients if they are available.

x

A matrix of independent variables to estimate the true coefficients from.

y

A vector with the dependent variable to estimate the true coefficients from.

family

A glm family for the distribution to use, i.e. "binomial()" when estimating the true coefficients.


jonlachmann/irls.sgd documentation built on March 11, 2023, 7:42 a.m.