Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

### 1 A discrete random variable $X$ has possible values 0, 1, 2, 3, 4, 5, 6, 7, 8 with the following partial probability distribution.

image text in transcribed
image text in transcribed
### 1 A discrete random variable $X$ has possible values 0, 1, 2, 3, 4, 5, 6, 7, 8 with the following partial probability distribution. The missing probabilities $\\prob(x=7)$ and $\\prob(x=8)$ are equal to each other. \"'{r, echo = FALSE} set.seed(26221021) 0:8 rnorm(7,5,2.1) sort(round(p / sum(p) * 0.84, 2}) 1 = tibble(x = x, p = c{p, rep(NA,2))) II ll ll 'U'D'UX p1_tab 2 p1 %>% mutate(x : str_c(x)) %>% pivot_wider(names_from : X, values_from : p) %>% mutate(x : "P(X:x)", .before : '0') p1_tab %>% kable() %>% kable_styling(position : "center", full_width : FALSE) ### 1A Put the values 'x = 0:8' and 'p =' the tabled probabilities into a data frame with columns 'x' and 'p'. Write code to calculate the missing values for $\\prob(X:7) : \\prob(X : 8)$ and replace the missing values with these calculated values into your data frame. Verify that the sum of all probabilities is 1. \"{r}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Engineering Mathematics

Authors: Dennis G Zill, Warren S Wright

5th Edition

1449679781, 9781449679781

More Books

Students also viewed these Mathematics questions

Question

cDescribe the two basic types of pension plans.

Answered: 1 week ago