bootnet
bootnet copied to clipboard
Correlation matrix is not positive definite
Hi Sacha, Data=read.table("IGD+.txt",header=T)
Network <- estimateNetwork(Data,default = "EBICglasso", corMethod="spearman") Estimating Network. Using package::function:
- qgraph::EBICglasso for EBIC model selection
- using glasso::glasso Error in bootnet_correlate(data = data, corMethod = corMethod, corArgs = corArgs, : Correlation matrix is not positive definite.
Network <- estimateNetwork(Data,default = "EBICglasso") Estimating Network. Using package::function:
- qgraph::EBICglasso for EBIC model selection
- using glasso::glasso Error in bootnet_correlate(data = data, corMethod = corMethod, corArgs = corArgs, : Correlation matrix is not positive definite.
Could you give me some advise? Thanks a lot!
Is the Data
object a raw dataset? Can you show what the first 10 lines look like?
I will close this issue for now, but please let me know if you still run into problems.