Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11106 > unrolled thread
| Started by | Tomas Garza <tgarza10@msn.com> |
|---|---|
| First post | 2012-07-28 06:42 +0000 |
| Last post | 2012-07-28 06:42 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Obtaining densest x% of a Bivariate Distribution Tomas Garza <tgarza10@msn.com> - 2012-07-28 06:42 +0000
| From | Tomas Garza <tgarza10@msn.com> |
|---|---|
| Date | 2012-07-28 06:42 +0000 |
| Subject | Re: Obtaining densest x% of a Bivariate Distribution |
| Message-ID | <jv01l4$hdm$1@smc.vnet.net> |
Well, to start with, BinomialDistribution is not a bivariate distribution. Second, a polygon is always a connected region (if that's what you mean by continuous region). Now, if you mean a univariate distribution, such as the binomial, then I would guess you are looking for the shortest interval in the support of the distribution which encloses x% of the probability. You won't find an interval that satisfies this condition for an arbitrary x. Take, for instance, BinomialDistribution[50, 0.5], and tabulate it for a number of integral intervals. There is no interval which encloses precisely 95% of the probability.
Clear[f]; f[k_]:=CDF[BinomialDistribution[50, 0.5], k];
Then take a close look at the following table:
Table[{{j, k}, f[k]-f[j]},{j,10,22},{k,30,41}]
-Tomas
> From: scottfr@gmail.com
> Subject: Obtaining densest x% of a Bivariate Distribution
> To: mathgroup@smc.vnet.net
> Date: Thu, 26 Jul 2012 03:36:25 -0400
>
> Hi,
>
> If I have a bivariate distribution such as,
>
> BinomialDistribution[50, .5]
>
> How do I obtain the polygon that encloses that densest x% of the
> distribution. For example, what Mathematica functions would I use to
> get the most compact polygon (which may or may not be a continuous
> region and may or may not contain holes) that encloses 95% of the mass
> of a bivariate normal distribution or a bivariate mixture function.
>
> Thank you,
> Scott
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web