Message not deliverable

Administrator (
Thu, 16 Apr 1998 17:05:10 -0400

> Does anyone have a function to plot means and confidence intervals
> by group.

The following is a simple way of getting a display of means +/- 2 SEs.

Suppose "y" contains the data, and "group", the grouping factor. Then

> plot.gam ( lm(y~-1+group) , se= T)

will do the trick. With a larger model, plot.gam will show adjusted
means and "adjusted data" (with residuals=T).

Georges Monette

Department of Mathematics and Statistics Tel: (416)-736-5250 ext. 77164
and Institute for Social Research Tel: (416)-736-5061 ext. 77164
York University Fax: (416)-736-5749
4700 Keele Street home page:
Toronto, Ontario M3J 1P3
This message was distributed by To unsubscribe
send e-mail to with the BODY of the
message: unsubscribe s-news