Calculate the following with R. You should use R's ready-made distribution functions d/p/q/r -binom and -norm. (a) The random variable X follows the binomial distribution with parameters n = 60 and p = 13 . Calculate P(X ≤ 10),P(X > 30) and P(X

College Algebra
7th Edition
ISBN:9781305115545
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:James Stewart, Lothar Redlin, Saleem Watson
Chapter9: Counting And Probability
Section9.3: Binomial Probability
Problem 2E: If a binomial experiment has probability p success, then the probability of failure is...
icon
Related questions
Question

Hi, How do I code the following on R Studio:

Calculate the following with R. You should use R's ready-made distribution functions d/p/q/r -binom and -norm.


(a) The random variable X follows the binomial distribution with parameters n = 60 and p = 13 . Calculate P(X ≤ 10),P(X > 30) and P(X = 19∪X = 20∪X = 21), and store the results in variables a1, a2 and a3.
(b) Continuation of previous paragraph. Store in the variable a4 a number for which P(X ≤ a4) = 0.034 applies.
(c) The random variable Y follows a normal distribution with parameters μ = 1 and σ = 2. Calculate P(Y ≤ 0), P(Y > 2) and P(Y = 1), and store the results in the variables b1, b2 and b3.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Bare Bones Programming Language
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage