search for: xzdata

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

Did you mean: tzdata
2009 Jun 25
2
Error: system is computationally singular: reciprocal condition number
...z <- as.data.frame(z) if(dim(z)[2] == 0){ stop("There should be given data\n") } data <- data.frame(x,y,z) if(na.rm == T){ data = na.omit(data) } xdata <- na.omit(data.frame(data[,c(1,2)])) Sxx <- cov(xdata,xdata,m=method) xzdata <- na.omit(data) xdata <- data.frame(xzdata[,c(1,2)]) zdata <- data.frame(xzdata[,-c(1,2)]) Sxz <- cov(xdata,zdata,m=method) zdata <- na.omit(data.frame(data[,-c(1,2)])) Szz <- cov(zdata,zdata,m=method) # is Szz positive definite? zz.ev <- eigen(S...
2009 Jun 28
1
ERROR: system is computationally singular: reciprocal condition number = 4.90109e-18
...) return(1) } if(dim(z)[2] == 0){ stop("There should be given data\n") } data <- data.frame(x,y,z) if(na.rm == T){ data = na.omit(data) } xdata <- na.omit(data.frame(data[,c(1,2)])) Sxx <- cov(xdata,xdata,m=method) xzdata <- na.omit(data) xdata <- data.frame(xzdata[,c(1,2)]) zdata <- data.frame(xzdata[,-c(1,2)]) Sxz <- cov(xdata,zdata,m=method) zdata <- na.omit(data.frame(data[,-c(1,2)])) Szz <- cov(zdata,zdata,m=method) # is Szz positive definite? zz.ev <- eigen(S...
2009 Jul 13
0
Partial Correlation
...........")* * print(xdata)* * Sxx <- cov(xdata,xdata,m=method)* * print("Sxx...................................................")* * print(Sxx )* * * * xzdata <- na.omit(data)* * xdata <- data.frame(xzdata[,c(1,2)])* * zdata <- data.frame(xzdata[,-c(1,2)])* * print("zdata..........................")* * print(z...