On 28/05/2012 02:20, Hunsicker, Lawrence wrote:
Greetings, all:

I am using factanal in R.

When I enter a matrix or a formula, the print method winds up with something 
like this:

Test of the hypothesis that 6 factors are sufficient.
The chi square statistic is 28.1 on 22 degrees of freedom.
The p-value is 0.172

But when I enter a covmat, the print method winds up with something like this:

The degrees of freedom for the model is 22 and the fit was 0.0904

The actual factanal print method is suppressed, so I can't figure out how the 
two calculations are done, or how they relate to one another.  Can any of you 
help?

No, it is not.  You can find it by getS3method, for example.

Many thanks in advance for any insight any of you can give me.

To do the tests you need the number of observations. I expect you used 'covmat' incorrectly, but you were too unhelpful to actually show us what you did.

Larry Hunsicker
Professor, Internal Medicine, U. Iowa College of Medicine




   ________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the 
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and 
may be legally privileged.  If you are not the intended recipient, you are 
hereby notified that any retention, dissemination, distribution, or copying of 
this communication is strictly prohibited.  Please reply to the sender that you 
have received the message in error, then delete it.  Thank you.
   ________________________________

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

And that means YOU. No HTML (as we asked), and include reproducible code for what you did and claim does not work as you want.

--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to