Logistic regression app

(Click image to open app)

This app simulates data from a logistic regression model and compares estimated log odds, odds, and probabilities

Model has a single continuous predictor "x". User can change intercept, slope, and sample size. User can set two input values for x (x₁ and x₂); app plots and reports estimated log odds, odds, and probability that Y = 1, given the values of x₁ and x2. App reports estimated relative risk (RR) and odds ratio (OR), given x₁ and x₂. Summary of fitted logistic regression model is reported; coefficient estimates can be exponentiated.