Tag: Monte Carlo experiments

Example 2014.8: Estimate power for an interaction, by simulation

In our last entry, we demonstrated how to simulate data from a logistic regression with an interaction between a dichotomous and a continuous covariate. In this entry we show how to use the simulation to estimate the power to detect that interaction. …

Example 8.18: A Monte Carlo experiment

In recent weeks, we’ve explored methods to fit logistic regression models when a state of quasi-complete separation exists. We considered Firth’s penalized likelihood approach, exact logistic regression, and Bayesian models using Markov chain Monte Ca…