Question

Happiness and Being in a Relationship Let X, Y be two Bernoulli random variables and let p = P(X = 1) (the probability that X

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let:

\small \begin{align*} X_i &= \begin{cases} 1 & \text{ if ith individual is happy} \\ 0 & \text{ if ith individual is not happy} \end{cases} \\ Y_i &= \begin{cases} 1 & \text{ if ith individual is in a relationship} \\ 0 & \text{ if ith individual is not in a relationship} \end{cases} \end{align*}

Then,

\small \begin{align*} \textbf{Sample proportion of } & \\ \textbf{people that are happy, } \boldsymbol{\hat{p}} &= \frac{1}{n} \sum_{i=1}^{n} {X_i} \ \ \ \ \ \text{[where n is the sample size]} \\ &= \frac{\text{No. of people that are happy}}{\text{Total no. of people}} \\ \text{[Using the} &\text{ definition of } X_i] \\ &= \frac{205+179}{205+179+301+315} \\ &= \frac{384}{1000} \\&= \bf 0.384 \ \ \ \ \ [ANSWER] \end{align*}.

Also,

\small \begin{align*} \textbf{Sample proportion of people} & \\ \textbf{ that are in a relationship, } \boldsymbol{\hat{q}} &= \frac{1}{n} \sum_{i=1}^{n} {Y_i} \ \ \ \ \ \text{[where n is the sample size]} \\ &= \frac{\text{No. of people that are in a relationship}}{\text{Total no. of people}} \\ \text{[Using the} &\text{ definition of } Y_i] \\ &= \frac{205+301}{205+179+301+315} \\ &= \frac{506}{1000} \\&= \bf 0.506 \ \ \ \ \ [ANSWER] \end{align*}

Moreover,

\small \begin{align*} \textbf{Sample proportion of people that are} & \\ \textbf{both happy and in a relationship, } \boldsymbol{\hat{r}} &= \frac{1}{n} \sum_{i=1}^{n} {X_iY_i} \ \ \ \ \ \text{[where n is the sample size]} \\ &= \frac{\text{No. of people that are both happy and in a relationship}}{\text{Total no. of people}} \\ \text{[Using the definition of } &X_i \text{ and }Y_i] \\ &= \frac{205}{205+179+301+315} \\ &= \frac{205}{1000} \\&= \bf 0.205 \ \ \ \ \ [ANSWER] \end{align*}

For any queries, feel free to comment and ask.

If the solution was helpful to you, don't forget to upvote it by clicking on the 'thumbs up' button.

Add a comment
Know the answer?
Add Answer to:
Happiness and Being in a Relationship Let X, Y be two Bernoulli random variables and let...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT