Learn R Programming

simsem (version 0.2-8)

predProb: Function to get predicted probabilities from logistic regression

Description

Function to get predicted probabilities from logistic regression

Usage

predProb(newdat, glmObj)

Arguments

newdat
A vector of values for all predictors, including the intercept
glmObj
An object from a fitted glm run with a logit link

Value

  • Predictive probability of success given the values in the newdat argument.

See Also

Examples

Run this code
# No example

Run the code above in your browser using DataLab