report icon indicating copy to clipboard operation
report copied to clipboard

Add report for Quantile Regression

Open lucavd opened this issue 3 years ago • 0 comments

Hi, I'd be useful, at least for me, to add a quantile regression support (package lqmm or quantreg)

# setup
set.seed(123)
library(lqmm)

# data
n <- 500
p <- 1:3 / 4
test <- data.frame(x = runif(n, 0, 1))
test$y <- 30 + test$x + rnorm(n)

# model
fit.lqm <-
  lqmm::lqm(
    y ~ x,
    data = test,
    tau = p,
    control = list(verbose = FALSE, loop_tol_ll = 1e-9),
    fit = TRUE
  )

example from @IndrajeetPatil ggstatsplot::ggcoefstats() vignette

Thank you

lucavd avatar Apr 13 '21 11:04 lucavd