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
  • Bookmark this page Setup: All problems on this page will follow the definitions here: Let X,...

    Bookmark this page Setup: All problems on this page will follow the definitions here: Let X, Y be two Bernoulli random variables and let P a r = = = P(X = 1) (the probability that X = 1) P(Y = 1) (the probability that Y = 1) P(X = 1, Y = 1) (the probability that both X = 1 and Y = 1). Let (X1,Y1), ... ,(Xn, Yn) be a sample of n i.i.d. copies of (X, Y)....

  • 4. (3 points) Let X,.., X be an i.i.d. Bernoulli random variables with parameter p. Is it reasona...

    4. (3 points) Let X,.., X be an i.i.d. Bernoulli random variables with parameter p. Is it reasonable to use the exponential distribution to describe the prior distribution of p? Answer 'yes' or 'no ad exain 4. (3 points) Let X,.., X be an i.i.d. Bernoulli random variables with parameter p. Is it reasonable to use the exponential distribution to describe the prior distribution of p? Answer 'yes' or 'no ad exain

  • Let X and Y be two independent Bernoulli( 1/2 ) random variables. Define random variables U...

    Let X and Y be two independent Bernoulli( 1/2 ) random variables. Define random variables U and V by U = X + Y and V = | (X - Y) | (abs. value)): (a) Find the joint probability mass function of (U, V ). Hints: note that U and V are taking integer values in {0, 1, 2} and {0, 1},  respectively. (b) Determine the covariance Cov(U, V ): (c) Find Var(U), Var(V ) and determine the correlation coeffcient p(U,...

  • Let Y1, Y2, . . . , Yn be independent random variables with Exponential distribution with...

    Let Y1, Y2, . . . , Yn be independent random variables with Exponential distribution with mean β. Let Y(n) = max(Y1,Y2,...,Yn) and Y(1) = min(Y1,Y2,...,Yn). Find the probability P(Y(1) > y1,Y(n) < yn).

  • 1) [6 pts] Let Y be a Bernoulli random variable with success probability Pr (Y 1...

    1) [6 pts] Let Y be a Bernoulli random variable with success probability Pr (Y 1 )p, and let Y, Yn be iid draws from this distribution. Let p be the fraction of successes (1's) in this sample. (a) Show that p Y. (b) Show that p is an unbiased estimator of p. (c) (1-p)/n Show that var (p)-p

  • Suppose that the random variables X,..Xn are i.i.d. random variables, each uniform on the interval [0,...

    Suppose that the random variables X,..Xn are i.i.d. random variables, each uniform on the interval [0, 1]. Let Y1 = min(X1, ,X, and Yn = mar(X1,-..,X,H a. Show that Fri (y) = P(Ks y)-1-(1-Fri (y))". b. Show that and Fh(y) = P(, y) = (1-Fy(y))". c. Using the results from (a) and (b) and the fact that Fy (y)-y by property of uniform distribution on [0, 11, find EMI and EIYn]

  • 2. Let X be a Bernoulli random variable with probability of X -1 being a. a)...

    2. Let X be a Bernoulli random variable with probability of X -1 being a. a) Write down the probability mass function p(X) of X in terms of a. Mark the range of a (b) Find the mean value mx(a) EX] of X, as a function of a (c) Find the variance σ剤a) IX-mx)2) of X, as a function of a. (d) Consider another random variable Y as a function of X: Y = g(X) =-log p(X) where the binary...

  • 1. Let X1, ..., Xn, Y1, ..., Yn be mutually independent random variables, and Z =...

    1. Let X1, ..., Xn, Y1, ..., Yn be mutually independent random variables, and Z = + Li-i XiYi. Suppose for each i E {1,...,n}, X; ~ Bernoulli(p), Y; ~ Binomial(n,p). What is Var[Z]?

  • Let Y1, Y2, . .. , Yn be independent and identically distributed random variables such that...

    Let Y1, Y2, . .. , Yn be independent and identically distributed random variables such that for 0 < p < 1, P(Yi = 1) = p and P(H = 0) = q = 1-p. (Such random variables are called Bernoulli random variables.) a Find the moment-generating function for the Bernoulli random variable Y b Find the moment-generating function for W = Yit Ye+ … + . c What is the distribution of W? 1.

  • Suppose Y1, Y2, ..., Yn are such that Y; ~ Bernoulli(p) and let X = 2h+Yi....

    Suppose Y1, Y2, ..., Yn are such that Y; ~ Bernoulli(p) and let X = 2h+Yi. (a) [1 point] Use the distribution of X to show that the method of moments estimator of p is ÔMM = Lizzi. (Work that is unclear or that cannot be followed from step to step will not recieve full credit.) (b) [2 points] Show that the method of moments estimator PMM is a consistent estimator of p. Please show your work to support your...

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