Skip to content
Prev 85817 / 398503 Next

how to extract predicted values from a quantreg fit?

Denis Chabot <chabotd <at> globetrotter.net> writes:

.... Quantreg package ....
..
..
Looks like quantreg has been reworked, but predict was not tested. 
Checking the code, I got a (hopefully) working solution

pred <- predict.qss1(fit$qss[[1]]$xyz, My.x$x)

but this follow neither convention nor documentation. Maybe you should contact
the author of the package to provide an example in the documentation, which
would have show the problem earlier.

Dieter