Condition of problems

Other well-known problems of rounding errors are described in the foundations of computational mathematics. In the following, we consider another rounding problem that is related to the numerical precision of matrix operations. For the condition of a problem, in most cases, the reciprocal condition number is estimated in computer programs. The smaller the reciprocal condition number (or the higher the condition number), the worse is the condition of the problem.

The 2-norm condition number (in R it is kappa()) represents the ratio of the largest to the smallest non-zero singular value of a matrix, while rcond() computes an approximation of the reciprocal condition number; take a look at the details.

A poorly conditioned problem ...

Get Simulation for Data Science with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.