R quantreg basksolve error

1.4k views Asked by At

When I install the quantreg package in R I get this warning:

> library(quantreg)
Loading required package: SparseM
Package SparseM (0.96) loaded.
       To cite, see citation("SparseM")


Attaching package: 'SparseM'

The following object(s) are masked from 'package:base':

    backsolve

Package quantreg (4.79) loaded.
        To cite, see citation("quantreg")

Then, after running a quantile regression:

sym.lm  = rq(Y ~ X1 + X2 + X3 + X4 + X5 + X6 + X7, data = myd, na.action = na.omit, method = "fn", model = TRUE)
summary(sym.lm)
Error in base::backsolve(r, x, k = k, upper.tri = upper.tri, transpose = transpose,  : 
  singular matrix in 'backsolve'. First zero in diagonal [1]
In addition: Warning message:
In summary.rq(sym.lm) : 21010 non-positive fis

Is this error related to the backsolve scope problem?

0

There are 0 answers