Transforms of Variables

Open
#13 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
data

Research direction

Start by reviewing KernelDensity.jl's existing kernel density estimation entry points and how callers currently provide variables. Determine the supported transform cases, including logit and complementary log-log, and the required rescaling behavior. Done means the package exposes the requested transformed estimates for downstream users such as Gadfly without manual variable transformation.

Written by the indexing model from the issue text.

Description

Would there be any easy way to implement doing Kernel density estimation on transforms of variables? For example, I have a variable that is constrained to be between 0 and 1, it would be better for me to do the kernel density estimate of the logit of the variable or the complementary log log of the variable, obtain the fit, and then scale it by the appropriate value.

It would be nice if this was built into the package for particular transforms of interest so that packages like gadfly can use them without the user having to manually transform the variables, feed those variables to gadfly etc.

Dominant language
Julia
Stars
213
Forks
45
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaStats/KernelDensity.jl

All issues in JuliaStats/KernelDensity.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.