Bayesian Inference: Probability of Digital Audio Device Working

  • Context: MHB 
  • Thread starter Thread starter kangta27
  • Start date Start date
  • Tags Tags
    Bayesian
Click For Summary
SUMMARY

The discussion centers on calculating the probabilities associated with a digital audio device functioning after the professor randomly selects batteries from his pockets. The probability that the device works on the first try is derived from two scenarios: either all batteries are in one pocket or they are in separate pockets. The calculations yield a probability of 5/6 for the device working if all batteries are in one pocket and 1/2 if they are in separate pockets. The overall probability of the device working combines these scenarios, leading to a comprehensive understanding of Bayesian inference in this context.

PREREQUISITES
  • Understanding of Bayesian inference principles
  • Familiarity with probability theory and calculations
  • Knowledge of conditional probability
  • Basic comprehension of digital audio devices and battery requirements
NEXT STEPS
  • Study Bayesian inference applications in real-world scenarios
  • Learn advanced probability theory techniques
  • Explore conditional probability and its implications
  • Investigate the reliability of electronic devices based on battery configurations
USEFUL FOR

This discussion is beneficial for statisticians, data scientists, and anyone interested in applying Bayesian inference to practical problems, particularly in electronics and reliability analysis.

kangta27
Messages
1
Reaction score
0
An absent minded professor goes for a walk carrying a digital audio device using 2 batteries. He has 2 fresh replacement batteries stashed away in one of four pockets. Sure enough, both batteries lose their charge and he removes them. Not wanting to throw the deplete batteries into the woods, he places them into a pocket chosen at random from the 4 available. A little while later he remembers the two fresh batteries, but he cannot remember which pocket. He fishes around in his pockets until he finds one with batteries (either 2 or 4 indistinguishable batteries). He removes 2 batteries and inserts them in the digital audio device. The digital audio device requires at least one good battery in order to play.

a. Find the probability the digital audio device works on the first try. (I wasn't sure if the pocket was a variable for solving (a.) But this is how I got this answer. (1/2) - 50% chance of choosing batteries from 2 pockets, added to (1/4 * 1/3) - choosing one out of four batteries and choosing one of three batteries.

b. Given that the digital audio device plays, calculate the prob. he chose two good batteries. (I thought that the first answer would be the 'given' for this question but it doesn't seem to be the case)

c. Given that the digital audio device plays, calculate the prob. he had placed all four batteries in the same pocket.
 
Physics news on Phys.org
kangta27 said:
An absent minded professor goes for a walk carrying a digital audio device using 2 batteries. He has 2 fresh replacement batteries stashed away in one of four pockets. Sure enough, both batteries lose their charge and he removes them. Not wanting to throw the deplete batteries into the woods, he places them into a pocket chosen at random from the 4 available. A little while later he remembers the two fresh batteries, but he cannot remember which pocket. He fishes around in his pockets until he finds one with batteries (either 2 or 4 indistinguishable batteries). He removes 2 batteries and inserts them in the digital audio device. The digital audio device requires at least one good battery in order to play.

a. Find the probability the digital audio device works on the first try. (I wasn't sure if the pocket was a variable for solving (a.) But this is how I got this answer. (1/2) - 50% chance of choosing batteries from 2 pockets, added to (1/4 * 1/3) - choosing one out of four batteries and choosing one of three batteries.

b. Given that the digital audio device plays, calculate the prob. he chose two good batteries. (I thought that the first answer would be the 'given' for this question but it doesn't seem to be the case)

c. Given that the digital audio device plays, calculate the prob. he had placed all four batteries in the same pocket.

Lets look at a. :

\( \text{Prob(all in one pocket)=0.25}) \)

\( \text{Prob(good bad in separate pockets)=0.75)} \)

\( \text{Prob(works first time)=Prob(works first time|all in one pocket)Prob(all in one pocket) +} \)
\( \phantom{xxxxxxxxx} \text{Prob(works first time|good bad in separate pockets)Prob(good bad in separate pockets)} \)

\( \text{Prob(works first time|good bad in separate pockets)=0.5 } \)

\( \text{Prob(works first time|all in one pocket)= 5/6} \)
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
3K
Replies
17
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K