Description Usage Arguments Value Author(s) Examples

Fit logistic regressions with misclassification correction. The FP and FN parameters are constrained to be equal.

1 | ```
logistic4p.e(x, y, initial, max.iter = 1000, epsilon = 1e-06, detail = FALSE)
``` |

`x, y` |
x is a data frame or data matrix containing the predictor variables and y is the vector of outcomes. The number of rows in x must be the same as the length of y. |

`initial` |
starting values for the parameters in the model(the misclassification parameter and those in the linear predictor); if not specified, the default initials are 0 for the misclassification parameters and estimates obtained from the logistic regression for the parameters in the linear predictor. |

`max.iter` |
a positive integer giving the maximal number of iterations; if it is reached, the algorithm will stop. |

`epsilon` |
a positive convergence tolerance epsilon; the iterations converge when max(|par-par_old|)<epsilon. |

`detail` |
logical indicating if the itermediate output should be printed after each iteration. |

`estimates` |
a named matrix of estimates including parameter estimates, standard errors, z-scores, and p-values. |

`n.iter ` |
an integer giving the number of iteration used |

`d` |
the actual max absolute difference of the parameters of the last two iterations, d=max(|par.final-par_old|). |

`loglike` |
loglikelihood evaluated at the parameter estimates. |

`AIC` |
Akaike Information Criterion. |

`BIC` |
Bayesian Information Criterion. |

`converged` |
logical indicating whether the current procedure converged or not. |

Haiyan Liu and Zhiyong Zhang

1 2 3 4 5 6 7 |

logistic4p documentation built on May 21, 2017, 3:32 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.