Conversation
|
Btw, applying the preprocessing also in the CRV estimation, we can cut down run time to 1.5 seconds: # 18 s
fit_fn = pf.quantreg(fml, data, method = "fn")
# 1.5 s
fit_pfn = pf.quantreg(fml, data, method = "pfn") |
Codecov ReportAttention: Patch coverage is
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 5 files with indirect coverage changes 🚀 New features to boost your workflow:
|
|
AFK for most of today but re: quantregmulti - might be worth looking into VQR and its repo https://github.com/vistalab-technion/vqr |
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Some updates: as a default, I will implement the Powell Estimator (then uses a non-parametric KDE to estimate sparsity) for computing iid, hetero, CRV errors. This allows use one class of estimators systematically throughout (the CRV estimator is a Powell style estimator). "nid" as in the R package will also be supported (based on linear interpolation, significantly slower than Powell). I will not port the R-quantreg defaults, iid errors in pf and R-quantreg will not match. Main motivation is consistency + I don't know how to implement the R-quantreg SEs without breaching the GPL license as the actual computations are not explained anyhwhere (except for nid, which is explained in the Koenker QR book). I've also added some benchmarks on the QR process (the Chernozhukov methods 2 is very nice and fast); the performance of the pfn algo in the quantile regression process still seems to be lacking. |
|
I hope it's done now (minus some smaller cleanups) ... |
|
pre-commit.ci autofix |
Implements the "preprocessing frisch newton" algorithm as in Portnoy & Koenker (see Chernozukov et al Algorithm 1 for reference).
Questions:
Usage: