Displaying 20 results from an estimated 5000 matches similar to: "factanal prediction"
2002 Apr 26
2
quadratic discriminant analysis?
Can one perform a QDA in R? I do not see it anywhere within the mda
package. Any pointers here would be appreciated.
Thanks,
cjf
--
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Christopher J. Fonnesbeck
Ph.D. Student
Georgia Cooperative Wildlife Unit
University of Georgia
Athens, GA 30602
Email: cjf at fonnesbeck.net
Yahoo: fonnesbeck_chris
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
2001 Nov 05
3
vector problems
I dont get it:
> is.vector(c(mydf[1]))
[1] TRUE
> unique(c(mydf[1]))
Error in unique(c(mydf[1])) : unique() applies only to vectors
>
Is it a vector or not? This stuff is driving me nuts. I'm simply trying
to convince R that my grouping vector is actually a vector so that
unique will work. Its just a vector of numbers, so why shouldnt it work?
--
2002 Dec 08
1
scan problems -- what can "what" be?
Hello,
I am trying to import a list of "structure" objects into R (data for BUGS,
actually), but am having little success. In the help file for scan there
dies not seem to be a list of valid values for the "what" keyword. Can
anyone provide me with one? I have pasted in a sample input file that I am
trying to import below this message. I have tried
2003 Apr 08
1
Build fails for R 1.6.2: [base-Ex.Rout] Error 1
I am trying to build 1.6.2 from source RPM's on RedHat 9, but encounter
a failure when running the base tests. An inspection of
base-Ex.Rout.fail reveals the following:
> ##___ Examples ___:
>
> var(1:10)# 9.166667
[1] 9.166667
>
> var(1:5,1:5)# 2.5
[1] 2.5
>
> ## Two simple vectors
> cor(1:10,2:11)# == 1
[1] 1
>
>
> stopifnot( is.na(var(1)),
+
2009 Jan 30
1
Factor Analysis-factanal function
Dear friends,
I'm using R to produce the following Factor Analysis:
> matriz.cor<-hetcor(matrix(as.factor(data), ncol=variables,
byrow=T))$correlations
> factanal(x=data, factors=2, covmat=matriz.cor, scores='regression')
Then the screen output shows the following message:
Error en factanal(x = data, factors = 2, covmat = matrix, :
requested scores without
2008 Jan 06
2
how to get residuals in factanal
In R factanal output, I can't find a function to give me residuals e.
I mannually got it by using x -lamda1*f1 -lamda2*f2 - ... -lamdan*fn, but the e
I got are not uncorrelated with all the f's.
What did I do wrong? Please help.
Yijun
____________________________________________________________________________________
Be a better friend, newshound, and
2006 Aug 11
1
- factanal scores correlated?
Hi,
I wonder why factor scores produced by factanal are correlated, and I'd
appreciate any hints from people that may help me to get a deeper
understanding why that's the case. By the way: I'm a psychologist used
to SPSS, so that question my sound a little silly to your ears.
Here's my minimal example:
***********************************************
v1 <-
2013 Jan 02
1
Extracting factors from "factanal"
Dear R users
Happy New year to all for a start. Below is some data that I ran a factor
analysis on. Using $score prints the scores for each of the three factors.
However, I would like to access those factors as variable for new
computations. How do I do that? In SPSS we just call fact1_1, fact2_1 etc..
Thanks for your suggestions. V
============
v1 <- c(1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,4,5,6)
v2
2010 May 06
1
how to get components / factors in factanal / princomp not loadings
Dear all,
i wonder if there?s a command to obtain the actual values of a principal component or a factor (not as.factor, but factanal) .
test=princomp(USArrests, cor = TRUE)
summary(test)
just outputs, standard deviation, Prop of Variance and cumulative proportion of variance.
test$loadings offers yet another proportion of variance scheme. why is that?
Apart from that:
Is there a
2012 Feb 07
1
na.action in stats::factanal()
> Does factanal() force the user to use the formula interface if they
> wish to specify an na.action?
Short answer: yes.
Long answer: The handling of na.action is a built in part of the formula
processing functions, so it's automatic when dealing with a formula.
There are also downstream effects on predict() and resid() that are
worked out for the formula case, but aren't clear
2012 Feb 06
1
na.action in stats::factanal() must be using formula interface and dataframe input to specify na.action?
hi,
Does factanal() force the user to use the formula interface if they wish to specify an na.action?
v1 <- c(1,1,1,1,1,1,1,1,NA,1,3,3,3,3,3,4,5,6)
v2 <- c(1,2,1,1,1,1,2,1,2,1,3,NA,3,3,3,4,6,5)
v3 <- c(3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,5,4,6)
v4 <- c(3,3,4,NA,3,1,1,2,1,1,1,1,2,NA,1,5,6,4)
v5 <- c(1,1,1,1,1,3,3,3,3,3,1,1,1,1,1,6,4,5)
v6 <- c(1,1,1,2,1,3,3,3,4,3,1,1,1,2,1,6,5,4)
m1
2007 Oct 06
2
factanal: error message
Hi everyone,
I'm running a factor analysis on a correlation matrix with 32 rows and
columns.
I get the following error when I issue the command sequence
mich.fac1 <- factanal(michcor, factor=1)
Error in solve.default(cv) : system is computationally singular: reciprocal
condition number = 3.24729e-18
I'd really appreciate an explanation for this error and a solution to the
problem
2008 Sep 09
1
Addendum to wishlist bug report #10931 (factanal) (PR#12754)
--=-hiYzUeWcRJ/+kx41aPIZ
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Hi,
on March 10 I filed a wishlist bug report asking for the inclusion of
some changes to factanal() and the associated print method. The changes
were originally proposed by John Fox in 2005; they make print.factanal()
display factor correlations if factanal() is called with rotation =
2003 Jun 06
1
RMySQL on OS X
I noticed in the collection of contributed packages for the OSX release
of R, there is no RMySQL package. Does anyone know if one exists, or
otherwise, how to connect to relational databases from R on Mac? Any
help mode appreciated.
cjf
2006 Mar 15
3
Help on factanal.fit.mle
Hi
Can anybody please suggest me about the documentation of "factanal.fit.mle()"
(Not factanal()------ searching factanal.fit.mle() in R always leads to
factanal()).
Is there any function for doing principal component factor analysis in R.
Regards
Souvik Bandyopadhyay
JRF,
Dept Of Statistics
Calcutta University
[[alternative HTML version deleted]]
2007 Jul 09
1
factanal frustration!
Hi.
It seems that nearly every time I try to use factanal I get the following
response:
>faa2db1<-factanal(mretdb1,factors=2,method="mle",control=list(nstart=25))
Error in factanal(mretdb1, factors = 2, method = "mle", control =
list(nstart = 25)) :
unable to optimize from these starting value(s)
>
In the case cited above, mretdb1 is synthetic data created
2004 Jul 13
5
Help with factanal and missing values
Hi list,
I'm performing a series of confirmatory factor analysis on different
groupings of items from data collected with questionnaires. There are some
missing values.
For those sets with no missing values I call
factanal(datamatrix,factors=n)
where datamatrix is a table of all observations for the items under
investigation.
This call fails when there are missing values.
help(factanal)
2008 Dec 01
1
factanal question
Dear R users:
I'm wondering if it's possible to get the residual correlation matrix when using factanal.
Since factanal assumes that the errors are normally distributed and independent (provided the factor model fits the data) this would be useful. Of course you would need to submit the data to the function to get the residuals (not just their correlation matrix), but it should be possible
2001 Nov 22
2
factanal {mva} question
Hello!
I have a question about the factanal function.
This function returns at the end test statistics like this:
Test of the hypothesis that 4 factors are sufficient.
The chi square statistic is 4.63 on 2 degrees of freedom.
The p-value is 0.0988
Is it possible to get the chi square statistic and the p-value as variables,
not the text on the screen? An object of class "factanal"
2009 Nov 03
1
Passing Command to Optim in factanal
Hi,
I am currently trying to execute the following command:
f<-factanal(factors=k$Components$nparallel,covmat=m,n.obs=2287,rotation="varimax",control=list(opt=list(method=c("BFGS"))))
but keep getting the error: L-BFGS-B needs finite values of 'fn'
I can't figure out what I am doing wrong here, why isn't optim being told to use BFGS instead of L-BFGS-B...