FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Science and Technology » Math
Easy Reasoning
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
Author Message
e_hobsbawm@hotmail.com
science forum beginner


Joined: 27 Jun 2006
Posts: 3

PostPosted: Tue Jun 27, 2006 10:25 am    Post subject: Easy Reasoning Reply with quote

I want to do a very simple Baysian reasoning.

Suppose I have an urn with balls with 10 different colors. I take a
random ball out of the urn and discover that it is black. What is the
probability that next one also will be black?

Best Regards
Eric
Back to top
Stephen Montgomery-Smith
science forum Guru


Joined: 01 May 2005
Posts: 487

PostPosted: Tue Jun 27, 2006 4:28 pm    Post subject: Re: Easy Reasoning Reply with quote

e_hobsbawm@hotmail.com wrote:
Quote:
I want to do a very simple Baysian reasoning.

Suppose I have an urn with balls with 10 different colors. I take a
random ball out of the urn and discover that it is black. What is the
probability that next one also will be black?

Best Regards
Eric


Of course the real problem is to decide what the prior distribution is.
I have also thought hard about this kind of problem, tried many
different plausible prior distributions, and basically come up with
junky answers. My sense is that the Bayesian approach doesn't work well
with this kind of problem.

But if I am completely wrong, I hope someone will set me straight.

Stephen
Back to top
Robert B. Israel
science forum Guru


Joined: 24 Mar 2005
Posts: 2151

PostPosted: Tue Jun 27, 2006 9:53 pm    Post subject: Re: Easy Reasoning Reply with quote

In article <R0dog.1045394$xm3.470260@attbi_s21>,
Stephen Montgomery-Smith <stephen@math.missouri.edu> wrote:
Quote:
e_hobsbawm@hotmail.com wrote:
I want to do a very simple Baysian reasoning.

Suppose I have an urn with balls with 10 different colors. I take a
random ball out of the urn and discover that it is black. What is the
probability that next one also will be black?

Best Regards
Eric


Of course the real problem is to decide what the prior distribution is.

Yes. The prior distribution for
a) how many balls are in the urn
b) how many of those balls are of each colour
c) what you are going to do with the ball you removed
d) whether there will be a "next ball"
....

Robert Israel israel@math.ubc.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada
Back to top
e_hobsbawm@hotmail.com
science forum beginner


Joined: 27 Jun 2006
Posts: 3

PostPosted: Wed Jun 28, 2006 6:37 am    Post subject: Re: Easy Reasoning Reply with quote

Robert Israel skrev:

Quote:
In article <R0dog.1045394$xm3.470260@attbi_s21>,
Stephen Montgomery-Smith <stephen@math.missouri.edu> wrote:
e_hobsbawm@hotmail.com wrote:
I want to do a very simple Baysian reasoning.

Suppose I have an urn with balls with 10 different colors. I take a
random ball out of the urn and discover that it is black. What is the
probability that next one also will be black?

Best Regards
Eric


Of course the real problem is to decide what the prior distribution is.

Yes. The prior distribution for
a) how many balls are in the urn
b) how many of those balls are of each colour
c) what you are going to do with the ball you removed
d) whether there will be a "next ball"
...

Robert Israel israel@math.ubc.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada

When I start I have the assumption that all colors are equally
probable, i.e probability of picking a black ball is 10%. I put the
black ball back into the urn and repeat the experiment. Can I say
something about the probability of picking a black ball next time also?

My prior distribution (guess) could e.g. be that there are 50 balls in
the urn, 5 of each color.

//Fredrik


Best Regards
Eric
Back to top
Stephen Montgomery-Smith
science forum Guru


Joined: 01 May 2005
Posts: 487

PostPosted: Wed Jun 28, 2006 3:15 pm    Post subject: Re: Easy Reasoning Reply with quote

Robert Israel wrote:
Quote:
In article <R0dog.1045394$xm3.470260@attbi_s21>,
Stephen Montgomery-Smith <stephen@math.missouri.edu> wrote:

e_hobsbawm@hotmail.com wrote:

I want to do a very simple Baysian reasoning.

Suppose I have an urn with balls with 10 different colors. I take a
random ball out of the urn and discover that it is black. What is the
probability that next one also will be black?

Best Regards
Eric


Of course the real problem is to decide what the prior distribution is.


Yes. The prior distribution for
a) how many balls are in the urn
b) how many of those balls are of each colour
c) what you are going to do with the ball you removed
d) whether there will be a "next ball"

I realise that I was thinking "Bayesian statistics" not "Bayesian
probability."
Back to top
Robert B. Israel
science forum Guru


Joined: 24 Mar 2005
Posts: 2151

PostPosted: Wed Jun 28, 2006 5:32 pm    Post subject: Re: Easy Reasoning Reply with quote

e_hobsbawm@hotmail.com wrote:
Quote:
Robert Israel skrev:

In article <R0dog.1045394$xm3.470260@attbi_s21>,
Stephen Montgomery-Smith <stephen@math.missouri.edu> wrote:
e_hobsbawm@hotmail.com wrote:
I want to do a very simple Baysian reasoning.

Suppose I have an urn with balls with 10 different colors. I take a
random ball out of the urn and discover that it is black. What is the
probability that next one also will be black?

Best Regards
Eric


Of course the real problem is to decide what the prior distribution is.

Yes. The prior distribution for
a) how many balls are in the urn
b) how many of those balls are of each colour
c) what you are going to do with the ball you removed
d) whether there will be a "next ball"
...

Robert Israel israel@math.ubc.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada

When I start I have the assumption that all colors are equally
probable, i.e probability of picking a black ball is 10%. I put the
black ball back into the urn and repeat the experiment. Can I say
something about the probability of picking a black ball next time also?

My prior distribution (guess) could e.g. be that there are 50 balls in
the urn, 5 of each color.

There's nothing Bayesian about it if you specify that there are 5 of
each colour.
As Stephen noted, there is a difference between "Bayesian statistics"
and
"Bayesian probability"

A "Bayesian probability" situation might be the following:
There is a large population of balls, of which 1/10 are black. A
random sample of 50 balls is taken from this population and placed
in the urn. Thus each ball has probability 1/10 of being black,
independent of the others. You take a ball from the urn, see that it
is black, and put it back. When you take another ball, its
probability of being black is now 1/50 * 1 + 49/50 * 1/10 = 59/500
(i.e. with probability 1/50 you pick the first ball again, while with
probability 49/50 you get a different ball which has probability
1/10 of being black).

A "Bayesian statistics" situation might be the following:
There is a large population of balls, with 10 possible colours of
which one is black.
Let p_i be the fraction of balls that are colour #i (with black = #1).
I have no idea what fraction of the balls are each colour, so my
prior distribution for (p_1,...,p_10) is uniform on the simplex
{(x_1,...,x_10): all x_i >= 0, sum_i x_i = 1}.
In particular, the density for p_1 is f(x) = 9 (1-x)^8.
Now a random sample of 50 balls is taken from this population
and placed in the urn. You take a ball, put it back, and draw
another ball. Let A be the event that the first ball is black,
B the event that the second ball is black. Then
P(A) = int_0^1 x f(x) dx = 1/10
P(A and B) = int_0^1 (x/50 + 49/50 x^2) f(x) dx = 109/5500
P(B|A) = P(A and B)/P(A) = 109/550.

Robert Israel israel@math.ubc.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] View previous topic :: View next topic
The time now is Sat Jan 10, 2009 3:40 am | All times are GMT
Forum index » Science and Technology » Math
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Easy Vacuum question inkexit@yahoo.com Physics 2 Sat Jul 01, 2006 3:07 pm
No new posts Best Fit Circle made Easy Han de Bruijn Math 13 Wed Jun 28, 2006 12:18 pm
No new posts Back Reasoning from partial Syllogism... slwu@sh163.net Symbolic 0 Thu Jun 22, 2006 11:42 pm
No new posts An easy matrix quals problem Ken Honda Math 2 Thu Jun 22, 2006 9:28 am
No new posts Geometry: easy? Anolethron Math 0 Wed Jun 21, 2006 7:40 pm

Watch Anime Online | Credit Cards | Consolidate Debt | Cell Phones | Debt Consolidation
Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Electronics forum |  Medicine forum |  Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2409s ][ Queries: 16 (0.1528s) ][ GZIP on - Debug on ]