[R] About Factor Analysis
Hello, I' doing some simulation on (confirmatory) factor analysis on a covariance matrix and I resort to factanal() function, which works fine but it performs only the maximum-likelihood method of extracting factors. I wonder if (and where) I can find a package that performs the principal axis factor (PAF) procedure for extracting factors. Thanks in advance to all, ennio. Model: PowerBook5,2 Platform PowerPc G4, 1.25 GHz OS.type unix GUI AQUA platform powerpc-apple-darwin6.8 arch powerpc os darwin6.8 system powerpc, darwin6.8 status major1 minor9.1 year 2004 month06 day 21 language R -- ~~~ ~ Ennio D. Isaia ~ Dep. of Statistics Mathematics, University of Torino ~ Piazza Arbarello, 8 - 10128 Torino (Italy) ~ Phone: +39 011 670 57 29 ~~ Fax: +39 011 670 57 83 ~~~ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
[R] On nlm
Dear all, I have to minimize a (real) function in a loop (say i in (1:1000)) and store its ``$estimate'', via l2estim-nlm(f.minimo,c(-.01,0.1))$estimate into a vector for further analisys. Since the function's behaviour is quite peculiar (in the sense that in the simulation study it may not have a minumum), sometimes I get the the warning Error in nlm(minimo, c(-0.01, 0.1), check.analyticals = FALSE) : non-finite value supplied by nlm In addition: There were 50 or more warnings (use warnings() to see the first 50) and the cicle stops. How can I avoid this and tell R that if so then l2estim-0, for example. Thanks to all, isaia. -- ~~~ ~ Ennio D. Isaia ~ Dep. of Statistics Mathematics, University of Torino ~ Piazza Arbarello, 8 - 10128 Torino (Italy) ~ Phone: +39 011 670 62 51 ~~ Fax: +39 011 670 62 39 ~~~ __ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help