Learn R Programming

clpm (version 1.0)

clpm.control: Control Parameters for Constrained Estimation of Linear Probability Model

Description

This function generates default values for the tolerance (tol) and maximum number of iterations (maxit) for clpm, as well as an option to print the progress.

Usage

clpm.control(tol = 1e-10, maxit, trace = FALSE)

Value

The function performs a sanity check and returns its arguments.

Arguments

tol

tolerance value for the steps of the algorithm.

maxit

maximum number of attempts of the algorithm.

trace

logical: should the progress be printed on screen?

Author

Andrea Beci andreabeci08@gmail.com, Paolo Frumento paolo.frumento@unipi.it