which is x and which is y?
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 20/100
Research direction
The issue mentions the Julia kde entry point and the B1.x and B1.density fields, but names no source file or test. Start by locating the package documentation or implementation describing bivariate KDE axes and marginal integration; done would be a clear explanation or documentation clarification.
Written by the indexing model from the issue text.
Description
Hey, love this package, and want to make sure I'm understanding how it works.
For a bivariate kernel density, if you sum down a column, then multiply by the x step distance, does that equal the marginal probability of the x variable taking that sliver of range? For example:
$chf,eur \in R^n$
B1 = kde((chf,eur))
x_step = B1.x[2]-B1.x[2]
marginal_probability_1 = sum(B1.density[:,1] .* x_step)
Is the following statement true?
$$ \text{marginal probability 1}= P(X[1] \leq X \leq X[2]) $$
Or should I be using y_step to calculate marginal probability 1?
Sorry for the (maybe too simplistic) question. I appreciate any help you're willing to provide.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaStats/KernelDensity.jl
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
JuliaStats/KernelDensity.jl#139 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
JuliaStats/KernelDensity.jl#129 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
JuliaStats/KernelDensity.jl#128 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
JuliaStats/KernelDensity.jl#126 · 7 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
JuliaStats/KernelDensity.jl#125 · 5 comments ·
All issues in JuliaStats/KernelDensity.jl
Similar issues
-
path: splitext treats directory references and leading dots as extensionsPossibly taken @Hiten0305l claimed this today. Open
Difficulty 2/5 Half a day Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaParallel/Hwloc.jl#93 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SciML/SciMLBenchmarks.jl#1996 ·
Maintainers usually reply within 1 day
-
Affine transformations of `JohnsonSU` could return a `JohnsonSU`Possibly taken @devmotion claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaStats/Distributions.jl#2117 ·
Maintainers usually reply within 2 days