[R] Issue with 95% CI using MASS{confint}

Duncan Murdoch murdoch.duncan at gmail.com
Thu May 28 17:22:15 CEST 2015


On 28/05/2015 9:08 AM, sami.toppinen at kolumbus.fi wrote:
> I encountered the same problem today. It seems to occur only when you
> use exactly 95 % as the confidence level. For example:
>
> > confint(g1)
> Waiting for profiling to be done...
>          2.5%      97.5%
> a0 1.257512   1.330881
> KP       NA 163.862932
> > confint(g1, level = 0.95)
> Waiting for profiling to be done...
>          2.5%      97.5%
> a0 1.257512   1.330881
> KP       NA 163.862932
> > confint(g1, level = 0.950001)
> Waiting for profiling to be done...
>            2.5%      97.5%
> a0   1.257512   1.330881
> KP 125.814534 163.862996
> > confint(g1, level = 0.949999)
> Waiting for profiling to be done...
>            2.5%      97.5%
> a0   1.257512   1.330881
> KP 125.814709 163.862802

That's very strange.  It would be nice to see a reproducible example.

Duncan Murdoch



More information about the R-help mailing list