search for: cor2pcor

Displaying 3 results from an estimated 3 matches for "cor2pcor".

2005 Dec 07
1
KMO sampling adequacy and SPSS -- partial solution
...statistic. ## Formula derived from Hutcheson et al, 1999, ## "The multivariate social scientist," page 224, ISBN 0761952012 ## see <http://www2.chass.ncsu.edu/garson/pa765/hutcheson.htm> ### cor.sq = cor(df)^2 cor.sumsq = (sum(cor.sq)-dim(cor.sq)[1])/2 library(corpcor) pcor.sq = cor2pcor(cor(df))^2 pcor.sumsq = (sum(pcor.sq)-dim(pcor.sq)[1])/2 kmo = sus.cor.ss/(sus.cor.ss+sus.pcor.ss) return(kmo) } Also, for those trying to reproduce the SPSS factor analysis output, (-1 * cor2pcor(cor(yourDataFrame))) will produce the "anti-image correlation" matrix. Unfortunatel...
2008 Nov 18
1
Statistical querry on Partial correlation test
Hi R users, I want to calculate the partial correlation (first or second order) and their corresponding significance test (p-value). I used > library(corpcor) and "cor2pcor" function to calculate partial correlation but could not calculate "p-value". If some one knows the R package or function to calculate corresponding "p-value", It will be great help. Thanks   Sincerely, Ram Kumar Basnet Graduate Student Wageningen University, The Netherlan...
2009 Sep 30
1
How to calculate KMO?
..."The multivariate social scientist," page 224, ISBN 0761952012 ## see <http://www2.chass.ncsu.edu/garson/pa765/hutcheson.htm><http://www2.chass.ncsu.edu/garson/pa765/hutcheson.htm%3E> ### cor.sq = cor(df)^2 cor.sumsq = (sum(cor.sq)-dim(cor.sq)[1])/2 library(corpcor) pcor.sq = cor2pcor(cor(df))^2 pcor.sumsq = (sum(pcor.sq)-dim(pcor.sq)[1])/2 kmo = sus.cor.ss/(sus.cor.ss+sus.pcor.ss) return(kmo) } What is this object "*sus.cor.ss*"?I get errors > sus.cor.ss Error: object "sus.cor.ss" not found Thanks in advance Moumita [[alternative HTML version deleted...