• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:00
CEST 15:00
KST 22:00
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL62Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event21Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays FEL Cracov 2025 (July 27) - $8000 live event Korean Starcraft League Week 77
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Player “Jedi” cheat on CSL SC uni coach streams logging into betting site Flash Announces Hiatus From ASL Practice Partners (Official) ASL20 Preliminary Maps
Tourneys
[BSL20] Grand Finals - Sunday 20:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Summer Games Done Quick 2025! Trading/Investing Thread Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 654 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 States10444 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
16978 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
16978 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
16978 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
16978 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
WardiTV European League
12:00
Swiss Groups Day 2
WardiTV855
TKL 398
Liquipedia
FEL
12:00
Cracov 2025: Qualifier #2
IndyStarCraft 324
CranKy Ducklings99
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
TKL 398
IndyStarCraft 324
Rex 109
MindelVK 39
StarCraft: Brood War
Sea 10996
Calm 9742
Rain 7552
Bisu 2922
Horang2 2342
Hyuk 1361
Jaedong 1275
Shuttle 536
Rush 491
EffOrt 289
[ Show more ]
Stork 288
Leta 282
Last 255
Mini 232
PianO 212
ToSsGirL 157
Hyun 141
ZerO 95
Movie 56
hero 53
TY 49
JYJ43
Killer 39
Sea.KH 33
JulyZerg 25
ajuk12(nOOB) 22
zelot 22
GoRush 19
Free 19
Sacsri 17
HiyA 16
Barracks 13
ivOry 3
Icarus 3
Terrorterran 2
Stormgate
NightEnD20
Dota 2
qojqva3253
XcaliburYe477
canceldota91
League of Legends
singsing2984
Counter-Strike
x6flipin784
zeus462
Heroes of the Storm
Khaldor336
Other Games
Gorgc2898
B2W.Neo1375
DeMusliM579
Happy380
Fuzer 378
crisheroes363
XaKoH 279
Hui .260
RotterdaM146
ArmadaUGS55
KnowMe41
ZerO(Twitch)17
Organizations
StarCraft: Brood War
CasterMuse 22
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• StrangeGG 45
• iHatsuTV 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV716
• Ler65
Upcoming Events
BSL: ProLeague
5h 1m
Dewalt vs Bonyth
Replay Cast
1d 11h
Sparkling Tuna Cup
1d 21h
WardiTV European League
2 days
The PondCast
2 days
Replay Cast
3 days
RSL Revival
3 days
ByuN vs SHIN
Clem vs Reynor
Replay Cast
4 days
RSL Revival
4 days
Classic vs Cure
FEL
5 days
[ Show More ]
RSL Revival
5 days
FEL
5 days
FEL
6 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
IEM Cologne 2025
FISSURE Playground #1
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.