Elizabeth Stanny wrote:
> Hi,
>
> 1. I want 95% not 99% confidence intervals in my >summary.Design plot
using the Design package. Putting >conf.int <http://conf.int/>=.95 as an
argument in plot does not work.  The  default >appears  to be .99 not .95 as
stated in the package Design >manual (p. 164).
>

(hope this works--I haven't posted from the digest before)


It may not be immediately obvious, but the color (col) argument must always
match q in length.  When you change the length of q to display a number of
CIs that is different from the default (5, I think), col is still set to
correspond to that default number of CIs.

So, you also must change col so that it matches q in length.

For example, this will not work because there is no matching col argument:
plot(summymodel,q=.95)

You'll get this error msg:

Error in confbar(nbar - (i - is + 1) + 1, effect[i], se[i], q = q, type =
"h",   q and col must have same length

But this will:
plot(summymodel,q=.95,col=2)

If you wanted two sets of CIs, say 95 and 99:
plot(summymodel,q=c(.95,.99),col=c(2,5))

************************************************************
Mike Babyak
Duke Medical Center

	[[alternative HTML version deleted]]


