I ran the following script to analyse a nonparametric quantile regression using quantreg
package:
library (quantreg)
model.q = rq(Y_var ~ X1_var + X2_var + X3_var,
data = wideformat_data,
tau = 0.5)
summary(model.q)
model.nullq = rq(Y_var ~ 1,
data = wideformat_data,
tau = 0.5)
anova(model.q, model.nullq)
All Y and X variables were continuous and standardised. As result from anova ( )
, a warning message was displayed:
Warning:
In summary.rq(x, se = se, covariance = TRUE) : 2 non-positive fis
Does anyone know why it occurred and how to handle with it?