• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:05
CEST 22:05
KST 05:05
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou18Weekly Cups (Oct 13-19): Clem Goes for Four3BSL Team A vs Koreans - Sat-Sun 16:00 CET7Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)81
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 13-19): Clem Goes for Four Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Tenacious Turtle Tussle RSL Season 3 Qualifier Links and Dates $1,200 WardiTV October (Oct 21st-31st) SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
Is there anyway to get a private coach? SnOw's Awful Building Placements vs barracks BW General Discussion BSL Team A vs Koreans - Sat-Sun 16:00 CET BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Semifinal B [Megathread] Daily Proleagues 300$ 3D!Community Brood War Super Cup #4 Azhi's Colosseum - Anonymous Tournament
Strategy
[I] TvP Marine Usage Roaring Currents ASL final Current Meta BW - ajfirecracker Strategy & Training
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Chess Thread Men's Fashion Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Series you have seen recently... [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1753 users

Fun probability problem (and your thoughts?) - Page 3

Blogs > Empyrean
Post a Reply
Prev 1 2 3 All
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
Last Edited: 2009-12-01 20:57:42
December 01 2009 20:57 GMT
#41
On December 02 2009 03:27 Mastermind wrote:


Show nested quote +
On December 02 2009 02:56 JeeJee wrote:
On December 02 2009 02:50 vAltyR wrote:
Ugh, probability. My least favorite area of mathematics.



=( =(
i loooove stats
its by far the most fun and the most USEFUL area of math that i've learned in like 3+ years of uni. unlike, say, calculus where applications of that are limited to pretty much.. more calculus :S
hell, once i get to pick some courses, i'm taking more stats, no questions asked

I guess you have never heard of science or economics.

edit: calculus is also used in probability lol.


yeah yeah and you can trace it all back to addition
bdares bottleabuser got it right.

oops, namechange
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Meta
Profile Blog Joined June 2003
United States6225 Posts
December 01 2009 21:13 GMT
#42
On December 02 2009 02:56 JeeJee wrote:
Show nested quote +
On December 02 2009 02:50 vAltyR wrote:
Ugh, probability. My least favorite area of mathematics.



=( =(
i loooove stats
its by far the most fun and the most USEFUL area of math that i've learned in like 3+ years of uni. unlike, say, calculus where applications of that are limited to pretty much.. more calculus :S
hell, once i get to pick some courses, i'm taking more stats, no questions asked


Try studying engineering. It's pure calculus applications... pretty much every machine or structure made for general public use in the past hundred years has been a product of the application of calculus.
good vibes only
Freaky[x]
Profile Blog Joined August 2005
Canada995 Posts
December 01 2009 21:42 GMT
#43
actually meta.... communication engineering or anything as a matter of fact, you need to have some random variables involved in it
BlackJack
Profile Blog Joined June 2003
United States10574 Posts
December 01 2009 21:53 GMT
#44
I think the problem in layman terms is this:

There are two envelopes of money with one envelope having exactly twice as much money as the other. You choose one envelope and then decide if you want to switch envelopes and keep what is in the other envelope.

The "trick" is that most people will always want to switch because they think they stand to gain more than they stand to lose.

For example, you open the first envelope and it has $100 in it. You know the second envelope either has $200 or $50, since one envelope is double the other. So if you switch you risk to gain $100 or lose $50 which seems like a nice risk.
Slithe
Profile Blog Joined February 2007
United States985 Posts
Last Edited: 2009-12-01 21:54:47
December 01 2009 21:53 GMT
#45
It's very clear that both probability and calculus are absolutely fundamental areas of math that are absolutely indispensable. However, for the average man I would say that probability is a somewhat more useful thing to know than calculus


Here's what I've done with the problem. I really don't know if I'm correct or not though.
+ Show Spoiler +

Given that grandma put X in one envelope and 2X in another envelope:

v = quantity that we observed in envelope 1
p1 = probability that v=X given envelope 1 has v, i.e. P(v=X | e1=v)

EV[keep] = x
EV[trade] = p1*0.5*x + (1 - p1)*2*x

trade if :
x < p1*2*x + (1 - p1)*0.5*x
x < 1.5*p1*x + 0.5*x
0.5*x < 1.5*p1*x
p1 > 1/3


Now to determine p1:

q(x) = the probability distribution from which Grandma decides X

Using Bayes' Theorem:
P(v=X | e1=v) = P(v=X, e1=v) / P(e1=v)

Solving for P(e1=v):
P(e1=v) = 1/2 * q(v) + 1/2 * q(v/2)

Solving for P(v=X, e1=v)
P(v=X, e1=v) = 1/2 * P(v=X)
P(v=X) = q(v)
P(v=X, e1=v) = 1/2 * q(v)

Putting it all together:
P(v=X | e1=v) = P(v=X, e1=v) / P(e1=v)
P(v=X | e1=v) = 1/2 * q(v) / (1/2 * q(v) + 1/2 * q(v/2))
p1 = 1/2 * q(v) / (1/2 * q(v) + 1/2 * q(v/2))


Going back to the original inequality:

p1 > 1/3
1/2 * q(v) / (1/2 * q(v) + 1/2 * q(v/2)) > 1/3
3/2 * q(v) > 1/2 * q(v) + 1/2 * q(v/2)
2 * q(v) > q(v/2)


This means that when we observe the amount v in envelope 1, we should switch if 2*q(v) > q(v/2), where q(x) is the probability distribution that grandma uses.


I don't know what's being asked with the second bullet point.
Empyrean
Profile Blog Joined September 2004
17010 Posts
December 01 2009 21:56 GMT
#46
On December 02 2009 06:53 BlackJack wrote:
I think the problem in layman terms is this:

There are two envelopes of money with one envelope having exactly twice as much money as the other. You choose one envelope and then decide if you want to switch envelopes and keep what is in the other envelope.

The "trick" is that most people will always want to switch because they think they stand to gain more than they stand to lose.

For example, you open the first envelope and it has $100 in it. You know the second envelope either has $200 or $50, since one envelope is double the other. So if you switch you risk to gain $100 or lose $50 which seems like a nice risk.


Actually that's just the two envelopes problem.

The major way in which this problem differs is that the amount X is generated by a probability distribution. It changes the problem completely.

And as for applications, there's so much calculus in statistics you wouldn't even believe it. Calculus is such a useful field of mathematics and finds itself in every day life. For example, you could use calculus to argue that if it rains at a constant rate, you'll get the same amount of wet no matter what speed you move through it (though you'll probably end up colder if you walk leisurely). The argument can basically be summed up as the fact that you're displacing the same amount of water, but it takes some calculus to show exactly why.
Moderator
538
Profile Blog Joined November 2008
Hungary3932 Posts
December 01 2009 22:55 GMT
#47
Realistic approach: Granny being a cheapskate who has a strange kick out of such silly games, X probably has a normal distribution with a mean of 2 bucks and a high deviation, like 40 or 50 cents.
It should be easy from this on.
BW fighting!
Black Gun
Profile Blog Joined July 2009
Germany4482 Posts
December 01 2009 23:01 GMT
#48
i could definitely solve it, but i agree that its a bit challenging for an introducing question of a first course on probability. (im a statistics major currently writing my m.sc. thesis^^)
"What am I supposed to do against this?" - "Lose!" :-]
Empyrean
Profile Blog Joined September 2004
17010 Posts
December 01 2009 23:02 GMT
#49
On December 02 2009 08:01 Black Gun wrote:
i could definitely solve it, but i agree that its a bit challenging for an introducing question of a first course on probability. (im a statistics major currently writing my m.sc. thesis^^)


What's your thesis about? If you don't mind my asking :D

What was your experience as an undergraduate statistics major like? I find it really interesting.
Moderator
Black Gun
Profile Blog Joined July 2009
Germany4482 Posts
Last Edited: 2009-12-01 23:17:11
December 01 2009 23:13 GMT
#50
On December 02 2009 08:02 Empyrean wrote:
Show nested quote +
On December 02 2009 08:01 Black Gun wrote:
i could definitely solve it, but i agree that its a bit challenging for an introducing question of a first course on probability. (im a statistics major currently writing my m.sc. thesis^^)


What's your thesis about? If you don't mind my asking :D

What was your experience as an undergraduate statistics major like? I find it really interesting.



well, its a really cool subject, but the part of statistics which is taught to non-majors is rather boring.

here in germany, we start with these "ordinary statistics topics" in the first 2 semesters, which include only the basic results of probability, and only in the 3rd and 4th we are taught the rigorous foundations of probability, measure theory, and so on.

the really problematic courses are analysis I and II and linear algebra which are hold during the first 2 semesters. there, about 50% of all freshmen fail already, and about half of them (25% of the freshmens) fail so hard that they give it up already. (the math basics are taught on a really high lvl here...)
basically, they intentionally want to purge the weak by these math courses. therefore the introduction into statistics and probability is rather easy and practically-oriented during the first 2 semesters.



edit: whats ur major btw?^^



i havent started yet with my master´s thesis, but im currently getting into the literature and finding a topic. i plan to write about the estimation of response densities in regression settings via boosting techniques. if that tells u anything


"What am I supposed to do against this?" - "Lose!" :-]
Empyrean
Profile Blog Joined September 2004
17010 Posts
December 01 2009 23:23 GMT
#51
I'm a statistics major here.

For my school, you aren't even allowed to become a statistics major until you pass multivariate calculus and linear algebra. My path through the major looks like

1st semester:
Probability, Regression Analysis

2nd semester:
Statistics, Bayesian/Modern Statistics, Survey Methodology

3rd semester:
Statistical Decision Analysis, Design and Analysis of Causal Studies

4th semester:
Independent Study, Computational Data Analysis

5th semester:
Independent Study (continued).

After your independent study (a year long project), if you still have time, you can take some higher level electives. Some examples are Probability/Measure Theory, Applied Stochastic Processes, Generalized Linear Models, Data Mining, Spatial Statistics, etc., it really depends on what they feel like teaching.
Moderator
nttea
Profile Blog Joined July 2008
Sweden4353 Posts
December 02 2009 02:10 GMT
#52
* Under what conditions should you trade, after knowing how much money your envelope contains?
* For the naive estimate of 1/2 to be correct for that probability, what would Granny's distribution p(x) have to be? Any problems with that?
* If Granny used an exponential distribution with mean $100, what strategy optimizes the expected value of the amount of money you keep?
sorry, i don't understand most of this since i've had no formal edumication.
However to me it seems like it always makes sense to always swap the envelope. Since you have 50% chance of gaining double the amount of your current envelope, and 50% chance of gaining only half. I'm not sure if this is the only thing you ask for though (:
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
December 02 2009 02:38 GMT
#53
On December 02 2009 06:56 Empyrean wrote:

And as for applications, there's so much calculus in statistics you wouldn't even believe it. Calculus is such a useful field of mathematics and finds itself in every day life. For example, you could use calculus to argue that if it rains at a constant rate, you'll get the same amount of wet no matter what speed you move through it (though you'll probably end up colder if you walk leisurely). The argument can basically be summed up as the fact that you're displacing the same amount of water, but it takes some calculus to show exactly why.


is that actually true? doesn't make intuitive sense to me.. lets say its raining out, and you have to walk from your car door to apartment door (say 5 meters). you can sprint that, and you'll get some raindrops but you won't be soaked

otoh, walk very slowly (say 3 hours for those 5m..) and you'll def. be soaked (and probably suffering from extreme hypothermia)

or am i misunderstanding what you mean? (the "same amount of wet" seems .. ambiguous)
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
Fontong
Profile Blog Joined December 2007
United States6454 Posts
December 02 2009 03:11 GMT
#54
On December 02 2009 11:38 JeeJee wrote:
Show nested quote +
On December 02 2009 06:56 Empyrean wrote:

And as for applications, there's so much calculus in statistics you wouldn't even believe it. Calculus is such a useful field of mathematics and finds itself in every day life. For example, you could use calculus to argue that if it rains at a constant rate, you'll get the same amount of wet no matter what speed you move through it (though you'll probably end up colder if you walk leisurely). The argument can basically be summed up as the fact that you're displacing the same amount of water, but it takes some calculus to show exactly why.


is that actually true? doesn't make intuitive sense to me.. lets say its raining out, and you have to walk from your car door to apartment door (say 5 meters). you can sprint that, and you'll get some raindrops but you won't be soaked

Yeah this doesn't really make any sense to me either. The way empyrean explained it only makes sense if the raindrops were stationary, and there were a constant amount of raindrops per volume of air.

In the real world situation, taking 5 hours to walk 5 meters would end up with a lot more rain landing on your head than taking 5 seconds to walk 5 meters. The amount of rain landing on your head would be constant no matter what speed you are moving at though, it just matters how much time you are in the rain.

Not really important though, most likely just a mistake from empyrean
[SECRET FONT] "Dragoon bunker"
Black Gun
Profile Blog Joined July 2009
Germany4482 Posts
Last Edited: 2009-12-02 05:06:35
December 02 2009 05:05 GMT
#55
ur own velocity changes the effective angle in which the raindrops hit u, the faster u are the more skewed the angle is. therefore a greater percentage of ur total body surface gets directly hit by raindrops when running through the rain instead of walking.


imagine 2 extreme cases: u stand still, ie zero velocity. only ur head and ur shoulders get wet. (and ur belly, depending on how fat u are ).
the other extreme would be moving so fast that the velocity of the raindrops is negligible compared to it, in this case ur whole front would get wet while the back half of ur head and shoulders wouldnt.



empyrean is right though that the amount of raindrops per exposed area is unaffected by ur velocity.


edit: omfg, whats going on? my english is so horrible and full of mistakes today. wtf!
"What am I supposed to do against this?" - "Lose!" :-]
Empyrean
Profile Blog Joined September 2004
17010 Posts
December 02 2009 06:12 GMT
#56
Haha, don't worry about it, you're very understandable. Your English is much better than my German
Moderator
JeeJee
Profile Blog Joined July 2003
Canada5652 Posts
Last Edited: 2009-12-02 06:19:34
December 02 2009 06:15 GMT
#57
On December 02 2009 14:05 Black Gun wrote:
ur own velocity changes the effective angle in which the raindrops hit u, the faster u are the more skewed the angle is. therefore a greater percentage of ur total body surface gets directly hit by raindrops when running through the rain instead of walking.


imagine 2 extreme cases: u stand still, ie zero velocity. only ur head and ur shoulders get wet.


that's not true, consider the rain at a slight angle. it still falls under empyrean's assumptions of constant rate yet renders this argument moot
and even if it's purely vertical, it'll still trickle down and you get completely soaked if you just stand there ^_^

edit:

empyrean is right though that the amount of raindrops per exposed area is unaffected by ur velocity.


ok, this i could see as being true
not the original "same wetness" claim though

and yes your english is very good :O i don't know what you're complaining about :p
(\o/)  If you want it, you find a way. Otherwise you find excuses. No exceptions.
 /_\   aka Shinbi (requesting a name change since 27/05/09 ☺)
50bani
Profile Blog Joined June 2009
Romania480 Posts
December 02 2009 09:20 GMT
#58
On December 02 2009 11:10 nttea wrote:
* Under what conditions should you trade, after knowing how much money your envelope contains?
* For the naive estimate of 1/2 to be correct for that probability, what would Granny's distribution p(x) have to be? Any problems with that?
* If Granny used an exponential distribution with mean $100, what strategy optimizes the expected value of the amount of money you keep?
sorry, i don't understand most of this since i've had no formal edumication.
However to me it seems like it always makes sense to always swap the envelope. Since you have 50% chance of gaining double the amount of your current envelope, and 50% chance of gaining only half. I'm not sure if this is the only thing you ask for though (:


No. Granny has either 3Y or 1.5Y between the two envelopes. The thing is one value is more likely than the other. If you work out how more likely one is than the other you can make a decision.

Has been solved in a previous post I think. 1.5Y has to be less than 2 times as likely as 3Y for the switch to be profitable.
I'm posting on twoplustwo because I have always been amazed at the level of talent that populates this site --- it's almost unparalleled on the Internet.
gyth
Profile Blog Joined September 2009
657 Posts
December 02 2009 15:18 GMT
#59
For example, you could use calculus to argue that if it rains at a constant rate, you'll get the same amount of wet no matter what speed you move through it (though you'll probably end up colder if you walk leisurely). The argument can basically be summed up as the fact that you're displacing the same amount of water, but it takes some calculus to show exactly why.

The amount of water that hits your front (assuming vertical rain and stomach) is always the same.
But the amount that hits your top depends on how long you're in the rain.
The plural of anecdote is not data.
Prev 1 2 3 All
Please log in or register to reply.
Live Events Refresh
Next event in 14h 56m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 558
UpATreeSC 108
Railgan 39
Codebar 34
StarCraft: Brood War
Hyuk 1189
EffOrt 377
Backho 86
Free 20
scan(afreeca) 14
NaDa 5
Dota 2
monkeys_forever257
capcasts54
Counter-Strike
Stewie2K301
kRYSTAL_27
Super Smash Bros
Chillindude33
Heroes of the Storm
Liquid`Hasu462
Other Games
Grubby3632
FrodaN2128
fl0m1135
Beastyqt626
Skadoodle297
ToD124
Trikslyr49
ViBE36
Mew2King34
QueenE32
Organizations
Counter-Strike
PGL238
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 21
• davetesta3
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• 80smullet 25
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota257
Other Games
• imaqtpie1281
• Shiphtur196
Upcoming Events
WardiTV Invitational
14h 56m
Online Event
19h 56m
RSL Revival
1d 5h
RSL Revival
1d 13h
WardiTV Invitational
1d 14h
OSC
1d 18h
SKillous vs goblin
Spirit vs GgMaChine
ByuN vs MaxPax
Afreeca Starleague
2 days
Snow vs Soma
Sparkling Tuna Cup
2 days
WardiTV Invitational
2 days
CrankTV Team League
2 days
[ Show More ]
RSL Revival
2 days
Wardi Open
3 days
CrankTV Team League
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
CrankTV Team League
4 days
Replay Cast
5 days
CrankTV Team League
5 days
Replay Cast
6 days
The PondCast
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.