# Reply To: Failed to Compute inverse

Home 21090308 Forums Numerical Method Linear Algebra Failed to Compute inverse Reply To: Failed to Compute inverse

#5449
saeid
Member

Sure,

DenseMatrix Data;
Data = new DenseMatrix(RawData); //RawData is a 2D double array (77 observations X 11 variables)

FactorAnalysis F = new FactorAnalysis(Data,5);

F.S(); // gives the same correlation matrix as in SAS, so it is totally fine.
F.nFactors(); //=5, so again totally fine
F.nVariables(); //Gives 11 variables, again totally fine.
F.getEstimators(100); //crashes with the aforementioned error. `