7 votes

Nearest-neighbor density estimation in Mathematica

Why not use the "Adaptive" option for SmoothKernelDistribution? This is in the same spirit as having a kernel density ...
JimB's user avatar
  • 40.6k
6 votes

Nearest-neighbor density estimation in Mathematica

Here I'm first showing the (standard) nearest neighbor approach along with the generalized nearest neighbor approach (which is related to the nearest neighbor approach but uses kernels). The ...
JimB's user avatar
  • 40.6k
6 votes
Accepted

One more incorrect result of CDF

The issue seems to be with DiscreteUniformDistribution when one of the parameters is an integer and the other an undefined variable. The following all give the ...
JimB's user avatar
  • 40.6k
3 votes

Leading significant digits

To get the areas of the triangles we may define a function: a[0]=100; a[n_]= a[0] (3/4)^n; To get the first digits, we may use the function "RealDigits". ...
Daniel Huber's user avatar
  • 47.4k
1 vote

Optimization of a Markov сhain with symbolic transition rate

I don't know what you want to do honestly. if you want everything to be symbolic,how about using characteristic function? Consider a conditional random walk. Let's say that if the value of i is ...
Xminer's user avatar
  • 1,213

Only top scored, non community-wiki answers of a minimum length are eligible