Re: [R] overlapping confidence bands for predicted probabilities from a logistic model

2012-05-06 Thread Malcolm Fairbrother
For the record, I was overlooking the obvious point that the statistical significance of the coefficient indicates only that the confidence interval for the *difference* in predicted probabilities will not overlap zero. It does not indicate that the two confidence intervals I was originally calc

Re: [R] overlapping confidence bands for predicted probabilities from a logistic model

2012-05-03 Thread Bert Gunter
Your post suggests statistical confusion on several levels. But as this concerns statistics, not R, consult your local statistician or post on a statistical help list (e.g. stats.stackexchange.com). Incidentally, the short answer to your question about the overlap is: why shouldn't they? You will

[R] overlapping confidence bands for predicted probabilities from a logistic model

2012-05-03 Thread Malcolm Fairbrother
Dear list, I'm a bit perplexed why the 95% confidence bands for the predicted probabilities for units where x=0 and x=1 overlap in the following instance. I've simulated binary data to which I've then fitted a simple logistic regression model, with one covariate, and the coefficient on x is sta