Question: Use the scipy.stats package of Python to compute the following: (a) Let X ? N(1,4). Compute P(?1 ? X ? 2). (b) Let X ?
- Use the scipy.stats package of Python to compute the following:
- (a) Let X ? N(1,4). Compute P(?1 ? X ? 2).
- (b) Let X ? N(2,1). Compute x such that P(X ? x) = 0.9.
- (c) Let X ? Bin(10, 0.3). Compute P({X = 1} ? {X = 8}). Example:
from scipy.stats import norm p = norm.cdf(2.0) # probability q = norm.ppf(0.97725) # quantile

2. Use the scipy . stats package of Python to compute the following: (a) Let X ~ N(1, 4). Compute P(-1 x) = 0.9. (c) Let X ~ Bin (10, 0.3). Compute P( {X = 1} U {X = 8}). Example: from scipy . stats import norm p = norm . cdf (2.0) # probability q = norm . ppf (0. 97725) # quantile
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
