Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weights #24

Open
tbeason opened this issue Mar 3, 2018 · 3 comments
Open

Weights #24

tbeason opened this issue Mar 3, 2018 · 3 comments

Comments

@tbeason
Copy link

tbeason commented Mar 3, 2018

It seems like there is no possibility for weights, but I know that other software packages (in R and Stata) allow for weighted quantile regression. I think it should not be too difficult, as the "unweighted" case is equivalent to equal weighting as you know.

Disclaimer: My use case involves weights because it is survey data.

@pkofod
Copy link
Owner

pkofod commented Mar 3, 2018

Yeah I think weights are quite easy to implement

@mcreel
Copy link
Contributor

mcreel commented Mar 3, 2018

I have used kernel weights to do locally smoothed (e.g., nonparametric) quantile regression, relying on the interior point code from QuantileRegression.jl It is easy. See the following for a rough example
https://github.com/mcreel/ABCGMM/blob/master/DSGE/ABCGMM/npreg.jl

@pkofod
Copy link
Owner

pkofod commented Mar 26, 2020

2 years late to the party, but I've release the package now (put it in the registry) and I will add weights because I need them myself :) (actually I need nonparametric qr as @mcreel mentions, so I'll put that in as well).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants