Is anyone good at probability?

GhostLatte

GBAtemp's Official Van Master™
OP
Member
GBAtemp Patron
Joined
Mar 26, 2015
Messages
3,651
Trophies
3
Age
24
XP
11,175
Country
United States
A bag contains 10 red marbles, 6 green marbles, and 3 blue marbles. Ron chooses 3 marbles from the bag.

Find the probability of Ron choosing one of each color and Ron choosing exactly two green, with and without replacement.
 
Solution
1. P(r)*P(g|r)*P(b|g,r)+P(r)*P(b|r)*P(g|b,r)+
P(g)*P(r|g)*P(b|g,r)+P(g)*P(b|g)*P(r|b,g)+
P(b)*P(r|b)*P(g|b,r)+P(b)*P(g|b)*P(r|g,b)

2. P(g)*P(g|g)

With replacement: P(x|y) = P(x)
Without replacement: More work.

Well, I'm lazy but here it goes with the numbers:

(with replacement)
1. (10/19) * (6/19) * (3/19) * 6 = 15.74%
2. (6/19) * (6/19) = 9.97%

(without replacement)
1. (10/19) * (6/18) * (3/17) + (10/19) * (3/18) * (6/17) +
(6/19) * (10/18) * (3/17) + (6/19) * (3/18) * (10/17) +
(3/19) * (10/18) * (6/17) + (3/19) * (6/18) * (3/17) = 16.41%

2. (6/19) * (5/18) = 8.77%

Lacius

Well-Known Member
Member
Joined
May 11, 2008
Messages
18,099
Trophies
3
XP
18,338
Country
United States
In statistics, you can multiply together the odds of individual things happening to yield the odds of multiple things happening. For example, the odds of getting heads on a flipped coin are 1/2, and tails is 1/2. The odds of getting a heads two times in a row are (1/2)*(1/2)=(1/4). You can apply this concept to your word problem.
 

sarkwalvein

There's hope for a Xenosaga port.
Member
Joined
Jun 29, 2007
Messages
8,513
Trophies
2
Age
41
Location
Niedersachsen
XP
11,258
Country
Germany
1. P(r)*P(g|r)*P(b|g,r)+P(r)*P(b|r)*P(g|b,r)+
P(g)*P(r|g)*P(b|g,r)+P(g)*P(b|g)*P(r|b,g)+
P(b)*P(r|b)*P(g|b,r)+P(b)*P(g|b)*P(r|g,b)

2. P(g)*P(g|g)

With replacement: P(x|y) = P(x)
Without replacement: More work.

Well, I'm lazy but here it goes with the numbers:

(with replacement)
1. (10/19) * (6/19) * (3/19) * 6 = 15.74%
2. (6/19) * (6/19) = 9.97%

(without replacement)
1. (10/19) * (6/18) * (3/17) + (10/19) * (3/18) * (6/17) +
(6/19) * (10/18) * (3/17) + (6/19) * (3/18) * (10/17) +
(3/19) * (10/18) * (6/17) + (3/19) * (6/18) * (3/17) = 16.41%

2. (6/19) * (5/18) = 8.77%
 
Solution

Bimmel

~ Game Soundtrack Collector ~
Member
Joined
Jan 28, 2014
Messages
2,302
Trophies
2
Age
43
XP
3,803
Country
Gambia, The
Hm.. I just read through this on several sites to get the system.

It's basically..

the amount of best results
______________________
the amount of total results

But you example goes over the generic example I solved. Did you get any instruction from your school? Or did you solve a similar problem before that? Seems a bit advanced.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Pure copper heat sink kit and fans
    +1
  • BigOnYa @ BigOnYa:
    I don't know bout sets, I downloaded all the roms for mine separately.
  • Psionic Roshambo @ Psionic Roshambo:
    My 1500ish games is all hand picked and scraped it's taken me months but zero trash well except MAME.... Tried deleting clones and broke the originals uugghh
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I legit have been complaining about MAME for over 20 years... Hate the way they handle roms
  • BigOnYa @ BigOnYa:
    Yea is a pain sometimes
  • Psionic Roshambo @ Psionic Roshambo:
    Now that they decided to add Tiger handheld and fruit machines.... Newer sets are worthless
  • Psionic Roshambo @ Psionic Roshambo:
    Because who doesn't want to emulate Halo LCD by Tiger when the machine needed to emulate it... Could just play Halo....
  • K3Nv2 @ K3Nv2:
    Batocera has some tiger games
  • Psionic Roshambo @ Psionic Roshambo:
    I don't have them on mine Ken lol
  • K3Nv2 @ K3Nv2:
    Waste of the 128kb they take
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Tiger handhelds are good for one thing.... Occupying space in a landfill
  • K3Nv2 @ K3Nv2:
    They make good burning plastic
  • BigOnYa @ BigOnYa:
    Makes me wonder if the Pi5 can play PS2? If there's even a core for it yet.
  • K3Nv2 @ K3Nv2:
    Pi5 should be able to do ps2
  • Psionic Roshambo @ Psionic Roshambo:
    Try Dragon Quest VIII it ran perfectly on a core 2 Duo I had
  • Psionic Roshambo @ Psionic Roshambo:
    Easiest game to run I found
  • K3Nv2 @ K3Nv2:
    Ps2 emulation is cake compared to 3 years ago
  • Psionic Roshambo @ Psionic Roshambo:
    Hardest is probably Gran Turismo 4
  • Psionic Roshambo @ Psionic Roshambo:
    It's much better now yes but Gran Turismo 4 is still the hardest one to emulate that I have in my collection
  • Psionic Roshambo @ Psionic Roshambo:
    Runs perfectly fine but it's as if I can feel it always on the boarder line of dropping a frame lol
  • BigOnYa @ BigOnYa:
    I ordered a spin ball couple days ago to add to my arcade cabinet, will be nice for games like golden tee, or bowling
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted a controller for like Ikari Warriors, Time Soldiers, Heavy Barrel, Forgotten Worlds games like those
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not even sure what to call that controller
  • Xdqwerty @ Xdqwerty:
    an online friend I've known since 2021 left me :( bc my attitude is "cutty"
  • Psionic Roshambo @ Psionic Roshambo:
    Sylvester Stallone should have played Kyle Reese lol Arnold still as the Terminator
    Psionic Roshambo @ Psionic Roshambo: Sylvester Stallone should have played Kyle Reese lol Arnold still as the Terminator