Skip to main content

# Questions tagged [nonparametric-density]

The tag has no usage guidance.

41 questions
Filter by
Sorted by
Tagged with
-2 votes
0 answers
9 views

### conditional density plot in R base. Error in cdplot.formula(date ~ presence_absence, data = df_long) : dependent variable should be a factor [closed]

df <- read.csv("data_for_gs.csv",header = TRUE) df_long <- pivot_longer( df, cols = starts_with("Grinding") | starts_with("Pounding"), names_to = "activity&...
0 votes
0 answers
62 views

### Measuring the Distance Between KDE Distributions with Different Bin Counts

I have two KDE distributions, each with a different number of bins. I'd like to compare them effectively, and I'm wondering if there's a recommended technique for this. Should I unify the number of ...
• 135
0 votes
0 answers
29 views

### Kernel Density Estimation, Bandwidth Tuning, Independence, and Comparison

like many of us here, I turn to kernel density estimation when I need a nonparametric estimate of a numerical feature's distribution, and in an attempt to assume as little as possible, I usually use ...
• 121
2 votes
0 answers
38 views

### Fast measure of "clusteredness" of points?

I have a cloud of points in a bounded volume in 2D (lets say 2d for now, though it'd be nice to generalize to any dimension): $<p_n \in \mathbb [0, 1]^2: n \in [1..N]>$ I'm looking for some ...
• 614
2 votes
1 answer
79 views

### Parametric vs non-parametric generative models

I have a little perplexity trying to distinguish parametric vs non-parametric generative model. In my understanding, a parametric generative model would try to learn the probability density function ...
• 627
0 votes
0 answers
50 views

### How to prove symmetry of a Uniform kernel?

I am trying to prove this kernel is valid, $$K(x) = \frac{1}{2}I(-1 < x < 1)$$ So far I can integrate to 1, but how do I prove $$k(x) = k(-x)$$ Also, how do we satisfy that k(x) is $\ge$ 0 for ...
0 votes
0 answers
189 views

### density function estimation in r

I firstly generate data from a bivariate normal distribution. Here comes the code. ...
0 votes
1 answer
2k views

### Dealing with bimodal residuals

I want to run linear models to understand the effect of single predictors on an outcome. This is quite straightforward, but I am facing a situation where my residuals appear to be bimodal. I can't ...
• 45
1 vote
0 answers
86 views

### Nonparametric Methods for Two Sample Quantile Test [duplicate]

Background I want to compare two populations' quantile, e.g. 99.99% quantile, 95% quantile. So I am searching for methods for two sample quantile testing. Unfortunately, the population does not obey ...
• 227
1 vote
0 answers
99 views

### Optimal rate of convergence of nonparametric density estimators

Suppose that $X_1, X_2, \dots, X_n$ forms an independent and identically distributed sample from some $d$-dimensional probability distribution with unknown probability density function $f$. Let $x$ be ...
• 140
6 votes
2 answers
1k views

• 543
1 vote
0 answers
169 views

### Generalized linear mixed model with time lags

I'm attempting to understand how random variables and one fixed variable are influencing an animal population over time. The trouble I am having is that my population density estimates were only ...
2 votes
0 answers
54 views

### Which distance and generative model?

I am wondering what is a suitable measure to separate the blue, green and red points? I tried 'cosine' but some of the red gets confused with green. My goal is to make two generative models; one ...
• 965
9 votes
2 answers
6k views

### Density estimation for large dataset

I have a unidimensional data set with more than 1000000 observations. Assuming that those observations are independent realizations of the same random variable I need to estimate the underling ...
• 1,375
6 votes
1 answer
1k views

### Is there a difference between 1D Mean Shift and KDE for clustering 1 d data?

I need to cluster (or group) large one dimensional data sets into a set of fixed bins. I started out using K-means, but I want to look into other approaches. Two that I have found are Mean Shift and ...
• 12k
4 votes
0 answers
88 views

### Nonparametric estimation of the logarithm of a density

I was wondering whether there is an equivalent to Kernel Density Estimation to estimate nonparametrically the logarithm of a density. Or if there is any nonparametric method for that. (Taking the ...
• 786
5 votes
2 answers
231 views

• 307
6 votes
2 answers
8k views

### How to get percentiles from empirical density in R?

The density() function in R allows me to enter observations and get an empirical density that I can plot x and y values. I like ...
3 votes
1 answer
3k views

### R scatterplot matrix with nonparametric density

I normally use MATLAB, or JMP but right now am working with R. I have ~150 dimensional data with a few hundred thousand rows. Some of the columns are non-informative, they only have one value. This ...
• 9,490