gt.control {binGroup} | R Documentation |

## Auxiliary for Controlling Group Testing Regression

### Description

Auxiliary function to control fitting parameters of EM algorithm used internally in `gtreg.mp`

and `EM.mp`

or `gtreg`

, `EM`

, and `EM.ret`

.

### Usage

```
gt.control(tol = 0.0001, n.gibbs = 1000, n.burnin = 20,
maxit = 500, trace = FALSE, time = TRUE)
```

### Arguments

`tol` |
convergence criterion |

`n.gibbs` |
the Gibbs sample size to be used in each E step for the EM algorithm (default is 1000), for matrix pooling |

`n.burnin` |
the number of samples in the burn-in period (default is 20), for matrix pooling |

`maxit` |
maximal number of iterations in the EM algorithm |

`trace` |
logical indicating if output should be printed for each iteration, defaults to |

`time` |
logical indicating if the length of time for the model fitting should be printed, defaults to |

### Value

A list with components named as the arguments

### Examples

```
# The default settings:
gt.control()
```

[Package

*binGroup*version 2.2-1 Index]