QuantRegResults.get_prediction()

statsmodels.regression.quantile_regression.QuantRegResults.get_prediction

QuantRegResults.get_prediction(exog=None, transform=True, weights=None, row_labels=None, **kwds)

compute prediction results

Parameters:

exog : array-like, optional

The values for which you want to predict.

transform : bool, optional

If the model was fit via a formula, do you want to pass exog through the formula. Default is True. E.g., if you fit a model y ~ log(x1) + log(x2), and transform is True, then you can pass a data struct