Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Mike Terry <news.dead.person.stones@darjeeling.plus.com> |
|---|---|
| Newsgroups | sci.math |
| Subject | Re: daily problem |
| Date | 2021-12-17 17:39 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <spii0j$137p$1@gioia.aioe.org> (permalink) |
| References | (2 earlier) <13af6661-e0dd-4e53-bdce-2485c14b9f38n@googlegroups.com> <spe9cp$1p3e$1@gioia.aioe.org> <87959a4b-3de4-4545-adda-064814e456d4n@googlegroups.com> <2f74bb42-9fab-4b21-bd25-06bbf2e96230n@googlegroups.com> <f51ee69a-951b-4309-a625-0cc4e28b9cc3n@googlegroups.com> |
On 17/12/2021 08:16, Julio Di Egidio wrote:
> On Friday, 17 December 2021 at 02:00:31 UTC+1, RichD wrote:
>> On December 16, ju...@diegidio.name wrote:
>>>>>>> A one meter glass rod falls and breaks in two, at
>>>>>>> a random point. What's the expected ratio of the longer
>>>>>>> to shorter piece?
>>>>> Re-formulate: What's the expected ratio of the shorter to longer piece?
>>>
>>> But can't we write our problem as E(x/(L-x))? Why is that two variables?
>> Informationally, they're equivalent. So it looks like one unknown.
>>
>> Let x be the length of the short piece, y is the long piece.
>> Draw a histogram for each. The have different domains, hence
>> distinct random variables.
>>
>> We want E[x/y]
>> y = L - x
>> etc.
>
> I am not the expert here and if you guys keep not answering I'll have to go back reading definitions: indeed, you should show that it's two (or even more, according to Mike) random variables starting *from definitions*, not just by repeating yourself in different words and/or by restricting the problem, which changes nothing in that sense...
>
> Julio
>
I'll go back to definitions for you (I'll follow with a couple of
examples which hopefully will make it clearer, as there's a fair bit to
take in just by reading definitions):
First, we start with an underlying set which we can think of as
containing the outcomes for a hypothetical experiment we might perform.
(The experiment is not essential for theoretical development but guides
our intuition.) I forget what this is normally called - the outcome
space? The underlying probability space? Something with "space" in the
name :)
Then we have a set of "events" whose probability we measure, and each
event has it's own probability. The events are just subsets of the
outcome space. There are rules for how the probabilities of different
events must relate, e.g. if events A, B are disjoint, then P(A U B) =
P(A) + P(B) etc.. [If you are familiar with measure theory I'd just say
what we have here corresponds exactly to a measure space where the total
measure of the space is 1. The events are the measurable sets.]
Then we define "random variables" to be functions from the underlying
outcome space to the real numbers. [The function must be consistent
with the probability measure, in the sense that it's required to be a
"measurable" function. If you don't know what that is you'll need to
get a background in measure theory, or I suggest for now just forget
about the requirement since it's likely all functions you might think up
or be interested in are going to be measurable. In particular, for a
discrete space [see first example below] all subsets are typically
measureable and all functions are measurable.]
Two examples:
-----------------------
1) Modelling rolling of two fair dice: [a "discreet" probability]
The outcome space X will have 36 elements which will be ordered pairs of
(1st die outcome, 2nd die outcome)
i.e. X = {1,2,3,4,5,6} x {1,2,3,4,5,6}
= {(1,1), (1,2), (1,6), (2,1),..... (6,6)}
Events are all the subsets of X, and the probability measure assigns
1/36 to each singleton event, and for larger events we just add up the
probabilities for all the individual outcomes that make up that event,
in the natural way. So let event
E = "roll a double"
= { (1,1), (2,2), (3,3), (4,4), (5,5), (6,6) }
and then we have
P(E) = 1/6 [.. = P({(1,1)}) + ... + P({(6,6)}) ]
You can see that individual outcomes are not numbers (they're ordered
pairs in our case) so it would not make sense to ask what is the
"expected value" of rolling two dice, with this model we've adopted.
That's why we have an added layer of "random variables" which map
outcomes to real numbers. We can talk about expected values of random
variables.
So here's a selection of some random variables:
D1 = "result of 1st die"
D2 = "result of 2nd die"
S = "sum of both dice"
Remember D1,D2,S are FUNCTIONS X :--> R, e.g.
D1( (2,6) ) = 2
S ( (3,1) ) = 4 and so on.
We can add, subtract, multiply etc. RVs in the obvious way. E.g. we have
S = D1 + D2.
We also can talk about probabilities of random variables doing things,
like e.g. P( D1 = 6 ). The D1=6 must be translated back to it's
corresponding event in the underlying probability space. I.e.
P( D1 = 6 ) = P( {(6,1), (6,2), (6,3), (6,4), (6,5), (6,6)} )
= 1/6
And we can talk of expectations of random variables. This corresponds
to an integral over the underlying probability space, but since this is
discreet in our case, it just ammounts to the corresponding sum:
E( S ) = 1.P(S=1) + 2.P(S=2) ... + 12.P(S=12)
= 7
There is a general result (needs proof of course, but it's correct) that
for any RVs A,B : E(A+B) = E(A) + E(B).
Question: S = D1 + D2, so with E(S) = E(D1+D2) = E(D1) + E(D2) do we
have one or two random variables?
[answer: obviously S, D1, D2 are 3 separate RVs, but in asking what an
expectation value is, the RV you're asking it of is 1 RV. Knowing what
RVs are, the question probably seems a bit misplaced... If you think an
RV is like an algebra question variable the question sounds sensible.]
-----------------------
2) A "continuous probability" example: Modelling RichD's breaking rod.
This is more sophisticated, mathematically, because there are infinitely
many outcomes forming a continuum. But the overall procedure is the same:
Outcome space: X = the interval [0,1], where an outcome x represents
the rod breaking at distance x from left hand end. [I've fixed the rod
length as 1 here.]
Events: subsets of X which are "measurable". Without going into detail
thats likely to be all subsets you would think up plus lots more :)
E.g. event "rod breaks in left half of rod" = [0, 1/2) etc.
Probabilities: Remember these are defined for /events/ rather than for
individual outcomes. The probability measure is built up from the
measure of intervals [a,b] which naturally are given measure (b-a), e.g.
P("rod breaks in left side of rod") = P([0,1/2)) = 1/2
Hmm, ok I should say there are plenty of other measures that can be
defined on [0,1]. The one here is the "uniform distribution" we've
assumed for this problem, reflecting the idea that the rod is equally
likely to break at any point. Also when I said probability is defined
for /events/ rather than /outcomes/, I should add that in this example
singleton events like { x } /do/ have a probability, which is zero. But
that's less useful to us than in a discrete probability, because we
can't use this to get the probability of events containing uncountably
many outcomes like the event [0, 1/2).
Random variables: they're the (measurable) functions on interval [0,1].
Examples:
K = length of left side of rod after breaking
= x [in this example, x is a real number, so this makes
sense. In the dice example, an outcome like (3,4)
is not an RV]
L = length of right side of rod after breaking
= 1-x
= 1 - K
M = length of shortest piece of rod after break
= minimum of x, 1-x
= minimum of K, L
N = length of longest piece of rod after break
= maximum of K,L
R = ratio (M/N)
Those are all RVs. RichD asks for
E( R ) = E( M/N )
= E( min(K,L) / max(K,L) )
= E( min(K,L) / max(K,L) )
How many RVs are in there? :) Well obviously R is one RV in and of
itself, so we could say 1. [By definition, an expectation is always
applied to one particular RV, in our case to R]. Also K, L, M and N are
obviously RVs in their own right, and R can be expressed in terms of
those RVs. (Like in the dice example where S = D1 + D2, where S,D1,D2
are all RVs.)
For this example, because the probability space is continuous the
expectation needs an integral to evaluate it, unlike in the discreet case.
Hope that clarifies things, at least enough to satisfy your curiousity
so you won't have to aquire a text book to learn everything thoroughly.
Regards,
Mike.
Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-14 19:52 -0800
Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-15 18:19 +0000
Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-15 17:38 -0800
Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-16 02:47 +0000
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-16 00:10 -0800
Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-16 14:22 +0000
Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-16 17:00 -0800
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-17 00:16 -0800
Re: daily problem FromTheRafters <erratic@nomail.afraid.org> - 2021-12-17 06:06 -0500
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-17 09:35 -0800
Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-17 17:39 +0000
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-18 09:05 -0800
Re: daily problem Jim Burns <james.g.burns@att.net> - 2021-12-18 15:00 -0500
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-18 13:47 -0800
Re: daily problem Jim Burns <james.g.burns@att.net> - 2021-12-18 21:23 -0500
Re: daily problem duncan smith <duncan@invalid.invalid> - 2021-12-16 19:49 +0000
Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-17 18:02 +0000
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-15 10:30 -0800
Re: daily problem FromTheRafters <erratic@nomail.afraid.org> - 2021-12-15 14:30 -0500
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-15 11:41 -0800
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 13:57 -0800
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 14:03 -0800
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-18 14:06 -0800
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 16:27 -0800
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 18:45 -0800
Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-19 16:03 -0800
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-19 16:15 -0800
Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-15 17:54 -0800
Re: daily problem Serg io <invalid@invalid.com> - 2021-12-18 23:11 -0600
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-18 21:29 -0800
Re: daily problem Serg io <invalid@invalid.com> - 2021-12-15 13:52 -0600
Re: daily problem Diego Garcia <dg@chaos.info> - 2021-12-18 18:21 +0000
Re: daily problem James Waldby <j-waldby@no.no> - 2021-12-20 05:15 +0000
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-19 21:40 -0800
Re: daily problem Diego Garcia <dg@chaos.info> - 2021-12-21 10:36 +0000
Re: daily problem Julio Di Egidio <julio@diegidio.name> - 2021-12-21 09:58 -0800
Re: daily problem Alan Mackenzie <acm@muc.de> - 2021-12-15 21:16 +0000
Re: daily problem Serg io <invalid@invalid.com> - 2021-12-15 15:31 -0600
Re: daily problem Mike Terry <news.dead.person.stones@darjeeling.plus.com> - 2021-12-15 21:47 +0000
Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-15 17:46 -0800
Re: daily problem RichD <r_delaney2001@yahoo.com> - 2021-12-15 17:57 -0800
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-19 13:53 -0800
Re: daily problem Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2021-12-19 14:02 -0800
csiph-web