Solve the following probability questions to determine the using MATLAB Statistics and Machine Learning Toolbox. Q1) For the following random variable distribution: 1) Exponential distribution of random variable X with mean=2. 2) Binomial distribution of random variable Y with number of trails n=7 and probability of success p=0.2 a) Generate the probability distributions. b) Plot each distribution. c) Find the mean and variance for both distributions.
Added by Consuelo M.
Close
Step 1
1:14; % Calculate the probability density function (PDF) of the exponential distribution pdf_x = (1/mean_x) * exp(-x/mean_x); % Plot the PDF of the exponential distribution figure; plot(x, pdf_x); xlabel('Random Variable X'); ylabel('PDF'); title('The Exponential Show more…
Show all steps
Your feedback will help us improve your experience
Sri K and 80 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
1. Given the probability density function, f_x (x) = A exp [-Bx], x >= 0 = 0, x < 0 a. determine A in terms of B, reducing f_x (x) to a function of B and x only b. Derive the maximum likelihood estimator of B given N independent samples of x c. Test your result from part b, using B = 4 and 1000 random samples of f_x (x), generated using the random function in MATLAB
Sri K.
Task 3: Simple Reliability Problem Suppose we have a pile of capacity R and applied load S, and assume that R and S are independent. The means and standard deviations are: Mean (MN): R: 20 S: 8 Standard deviation (MN): R: 4 S: 2 Probability of failure pF is defined as pF = P(R - S < 0) ------ Eq.1 or equivalently pF = P(R/S < 1) ------ Eq.2 Using Monte Carlo Simulation, estimate pF for 3 cases. For each case, the distribution type for R and S are specified in the following table: Case 1: R - Normal distribution, S - Normal distribution Case 2: R - Lognormal distribution, S - Lognormal distribution Case 3: R - Normal distribution, S - Lognormal distribution How does the choice of distribution type affect pF? Optional: For Case 1 and Case 2, it is possible to calculate pF theoretically. Hint: for Case 1, use Eq.1. For Case 2, use Eq.2. Compare with the simulation results. This task is optional but will be very helpful for your exam preparation!
Akash M.
Problem 3 Use the probability distribution for the discrete random variable X to calculate the following: (a) fx(3). (b) Fx(3). (c) P(X > 0). (d) E(X). Show work. (e) Var(X) and Std(X). Show work and interpret the meaning of your answers. (f) Sketch appropriate plots for both the Pmf and Cdf separately. Label each axis.
Hoan N.
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD