Re: [R] sem & testing multiple hypotheses with BIC

From: John Fox <>
Date: Thu, 24 Jul 2008 17:11:04 -0400

Dear Donald,

My apologies for the slow response: I was out of town and taking a break from r-help when you posted your message.

The sem() function does not automatically fit alternative models. If you're considering removing all possible combinations of a subset of paths, then you should be able to write a program to generate the models, using, e.g., the combn() function. If you go this route, you may be able to speed up the computations by using start values for each model selected from the estimated coefficients for the largest model. For a model named mod, summary(mod)$BIC will give you the BIC.

I hope this helps,

--------original message ---------
Donald Braman dbraman at
Tue Jul 15 22:20:44 CEST 2008
I'm coming from the AMOS world and am wondering if there is a simple way to do multiple hypothesis testing in the manner of BIC analyses in AMOS using the sem package in R. I've read the documentation, but don't see anything in there except for basic BIC scores. Perhaps someone has devised a simple way to compare the relative likelihood of all possible path-fittings within a specified set of paths? mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 24 Jul 2008 - 21:20:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jul 2008 - 22:32:27 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive