Skip to main content
Copied images to imgur.com, as they were not being displayed because of new https rule. Added links to original image sources.
Source Link

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
http://www.tri.org.au/se/nequal3plot.png [(source)](http://www.tri.org.au/se/nequal3plot.png)
  • $n = 20$:
http://www.tri.org.au/se/nequal20plot.png [(source)](http://www.tri.org.au/se/nequal20plot.png)
  • $n = 50$:
http://www.tri.org.au/se/nequal50plot.png [(source)](http://www.tri.org.au/se/nequal50plot.png)
  • $n = 100$:
http://www.tri.org.au/se/nequal100.png [(source)](http://www.tri.org.au/se/nequal100.png)

Even when $n = 100$, the stated asymptote of $0.71 \sqrt{n}$ leaves a substantial component of the distribution in the left tail, to the left of the asymptote. Depending on whether you are interested in large or small values of $n$, an exercise such as the above will provide a simple way to select your desired $c$, to minimise any left-tail probability.


It is also apparent that using the distribution (or simulated distribution) is more helpful than just looking at expected values (or asymptotic expected values, or bounds on expected values of shortest paths), which is what most of the literature seems to do. For instance, the following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png [(source)](http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png)

... but, for your problem, you really should be looking at the distribution ... not just the first moment.

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
http://www.tri.org.au/se/nequal3plot.png
  • $n = 20$:
http://www.tri.org.au/se/nequal20plot.png
  • $n = 50$:
http://www.tri.org.au/se/nequal50plot.png
  • $n = 100$:
http://www.tri.org.au/se/nequal100.png

Even when $n = 100$, the stated asymptote of $0.71 \sqrt{n}$ leaves a substantial component of the distribution in the left tail, to the left of the asymptote. Depending on whether you are interested in large or small values of $n$, an exercise such as the above will provide a simple way to select your desired $c$, to minimise any left-tail probability.


It is also apparent that using the distribution (or simulated distribution) is more helpful than just looking at expected values (or asymptotic expected values, or bounds on expected values of shortest paths), which is what most of the literature seems to do. For instance, the following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png

... but, for your problem, you really should be looking at the distribution ... not just the first moment.

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
[(source)](http://www.tri.org.au/se/nequal3plot.png)
  • $n = 20$:
[(source)](http://www.tri.org.au/se/nequal20plot.png)
  • $n = 50$:
[(source)](http://www.tri.org.au/se/nequal50plot.png)
  • $n = 100$:
[(source)](http://www.tri.org.au/se/nequal100.png)

Even when $n = 100$, the stated asymptote of $0.71 \sqrt{n}$ leaves a substantial component of the distribution in the left tail, to the left of the asymptote. Depending on whether you are interested in large or small values of $n$, an exercise such as the above will provide a simple way to select your desired $c$, to minimise any left-tail probability.


It is also apparent that using the distribution (or simulated distribution) is more helpful than just looking at expected values (or asymptotic expected values, or bounds on expected values of shortest paths), which is what most of the literature seems to do. For instance, the following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

[(source)](http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png)

... but, for your problem, you really should be looking at the distribution ... not just the first moment.

deleted 161 characters in body
Source Link
wolfies
  • 469
  • 3
  • 8

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
http://www.tri.org.au/se/nequal3plot.png
  • $n = 20$:
http://www.tri.org.au/se/nequal20plot.png
  • $n = 50$:
http://www.tri.org.au/se/nequal50plot.png
  • $n = 100$:
http://www.tri.org.au/se/nequal100.png

Even when $n = 100$, the stated asymptote of $0.71 \sqrt{n}$ leaves a substantial component of the distribution in the left tail, to the left of the asymptote. Depending on whether you are interested in large or small values of $n$, an exercise such as the above provideswill provide a simple way to select your desired $c$, to minimise any left-tail probability.


UsingIt is also apparent that using the distribution (or empiricalsimulated distribution) is more helpful than just looking at expected values (or asymptotic expected values, or bounds on expected values of shortest paths), which is what most of the literature seems to do. For instance, the following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png

... but, for your problem, you really should be looking at the distribution ... not just the first moment.

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
http://www.tri.org.au/se/nequal3plot.png
  • $n = 20$:
http://www.tri.org.au/se/nequal20plot.png
  • $n = 50$:
http://www.tri.org.au/se/nequal50plot.png
  • $n = 100$:
http://www.tri.org.au/se/nequal100.png

Even when $n = 100$, the stated asymptote leaves a substantial component of the distribution in the left tail. Depending on whether you are interested in large or small values of $n$, an exercise such as the above provides a simple way to select your desired $c$, to minimise any left-tail probability.


Using the distribution (or empirical distribution) is more helpful than just looking at expected values (or asymptotic expected values, or bounds on expected values of shortest paths). For instance, the following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
http://www.tri.org.au/se/nequal3plot.png
  • $n = 20$:
http://www.tri.org.au/se/nequal20plot.png
  • $n = 50$:
http://www.tri.org.au/se/nequal50plot.png
  • $n = 100$:
http://www.tri.org.au/se/nequal100.png

Even when $n = 100$, the stated asymptote of $0.71 \sqrt{n}$ leaves a substantial component of the distribution in the left tail, to the left of the asymptote. Depending on whether you are interested in large or small values of $n$, an exercise such as the above will provide a simple way to select your desired $c$, to minimise any left-tail probability.


It is also apparent that using the distribution (or simulated distribution) is more helpful than just looking at expected values (or asymptotic expected values, or bounds on expected values of shortest paths), which is what most of the literature seems to do. For instance, the following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png

... but, for your problem, you really should be looking at the distribution ... not just the first moment.

deleted 161 characters in body
Source Link
wolfies
  • 469
  • 3
  • 8

The question states asymptotic results, namely that as $n$ becomes large, the shortest path $L_n$ through $n$ points satisfies

$$L_n \to \sqrt{n} \beta \quad \text{ where } \quad \beta \approx 0.71~$$

Based on a quick play, what does seem clear is that the stated asymptotic result of $0.71 \sqrt{n}$ does, in fact, do a very poor job for your desired purpose, when $n$ is not large, or indeed even when $n$ is moderately large, such as $n= 50$.

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
http://www.tri.org.au/se/nequal3plot.png
  • $n = 20$:
http://www.tri.org.au/se/nequal20plot.png
  • $n = 50$:
http://www.tri.org.au/se/nequal50plot.png
  • $n = 100$:
http://www.tri.org.au/se/nequal100.png

Even when $n = 100$, the stated asymptote leaves a substantial component of the distribution in the left tail ... that is inconsistent withDepending on whether you are interested in large or small values of $n$, an exercise such as the above provides a simple way to select your desired goal of placing some "very small"$c$, to minimise any left-tail probability on same.

 

TheUsing the distribution (or empirical distribution) is more helpful than just looking at expected values (or asymptotic expected values, or bounds on expected values of shortest paths). For instance, the following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png

The question states asymptotic results, namely that as $n$ becomes large, the shortest path $L_n$ through $n$ points satisfies

$$L_n \to \sqrt{n} \beta \quad \text{ where } \quad \beta \approx 0.71~$$

Based on a quick play, what does seem clear is that the stated asymptotic result of $0.71 \sqrt{n}$ does, in fact, do a very poor job for your desired purpose, when $n$ is not large, or indeed even when $n$ is moderately large, such as $n= 50$.

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
http://www.tri.org.au/se/nequal3plot.png
  • $n = 20$:
http://www.tri.org.au/se/nequal20plot.png
  • $n = 50$:
http://www.tri.org.au/se/nequal50plot.png
  • $n = 100$:
http://www.tri.org.au/se/nequal100.png

Even when $n = 100$, the stated asymptote leaves a substantial component of the distribution in the left tail ... that is inconsistent with your desired goal of placing some "very small" probability on same.

The following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png

The distribution of the shortest path through $n$ points

The following 4 diagrams plot the empirical distribution of the shortest path through $n$ points, when $n = 3, 20, 50$ and 100 (each simulated 100,000 times). The vertical red line denotes $0.71 \sqrt{n}$ on each plot.

  • $n = 3$:
http://www.tri.org.au/se/nequal3plot.png
  • $n = 20$:
http://www.tri.org.au/se/nequal20plot.png
  • $n = 50$:
http://www.tri.org.au/se/nequal50plot.png
  • $n = 100$:
http://www.tri.org.au/se/nequal100.png

Even when $n = 100$, the stated asymptote leaves a substantial component of the distribution in the left tail. Depending on whether you are interested in large or small values of $n$, an exercise such as the above provides a simple way to select your desired $c$, to minimise any left-tail probability.

 

Using the distribution (or empirical distribution) is more helpful than just looking at expected values (or asymptotic expected values, or bounds on expected values of shortest paths). For instance, the following diagram compares:

  • Marks (1948) lower bound for the expected shortest path: $\sqrt{\frac{1}{2}} \left(\sqrt{n}-\frac{1}{\sqrt{n}}\right)$

  • Mahalanobis estimate of the expected shortest path: $\sqrt{n}-\frac{1}{\sqrt{n}}$

  • The actual expected shortest path [ round dots ]

  • The OP's stated asymptote: $.71 \sqrt{n}$

http://www.tri.org.au/se/mahalanobisetimateexpectedshortestpath.png
added 282 characters in body
Source Link
wolfies
  • 469
  • 3
  • 8
Loading
added 134 characters in body
Source Link
wolfies
  • 469
  • 3
  • 8
Loading
deleted 2 characters in body
Source Link
wolfies
  • 469
  • 3
  • 8
Loading
Source Link
wolfies
  • 469
  • 3
  • 8
Loading