Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11106

Re: Obtaining densest x% of a Bivariate Distribution

From Tomas Garza <tgarza10@msn.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Obtaining densest x% of a Bivariate Distribution
Date 2012-07-28 06:42 +0000
Message-ID <jv01l4$hdm$1@smc.vnet.net> (permalink)
References <20120726073625.E3F626881@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw



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 comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Obtaining densest x% of a Bivariate Distribution Tomas Garza <tgarza10@msn.com> - 2012-07-28 06:42 +0000

csiph-web