Displaying 2 results from an estimated 2 matches for "correlationfp".
Did you mean:
correlation
2009 Jun 28
1
ERROR: system is computationally singular: reciprocal condition number = 4.90109e-18
...$matrix1, rowvalues$matrix2,
x <- stringOfItemCategoryToDataFrameOfItemCategory,
item_category_table,
pcor_type <- "ic"), data1, data2, pcor_thirdvar_type <- "all")
4: main()
3: eval.with.vis(expr, envir, enclos)
2: eval.with.vis(ei, envir)
1: source("correlationFP.R")
In pcor.mat function :--
# By using var-cov matrix
pcor.mat <- function(x,y,z,method="p",na.rm=T){
#print("pcor.mat")
x <- c(x)
y <- c(y)
z <- as.data.frame(z)
m<- identical(all.equal(x, y), TRUE)
#print(m)
if( m=="TRU...
2009 Jun 25
2
Error: system is computationally singular: reciprocal condition number
I get this error while computing partial correlation.
*Error in solve.default(Szz) :
system is computationally singular: reciprocal condition number =
4.90109e-18*
Why is it?Can anyone give me some idea ,how do i get rid it it?
This is the function i use for calculating partial correlation.
pcor.mat <- function(x,y,z,method="p",na.rm=T){
x <- c(x)
y <- c(y)