University | National University of Singapore (NUS) |
Subject | CE2407A: Uncertainty Analysis for Engineers |
Probability and Statistics using Matlab
Task 1 Normal distribution
Suppose that a random variable X follows a normal distribution with mean µX and standard deviation X, which you can choose. Generate N samples of X. From the samples, construct a histogram (normalized to a PDF), calculate the sample mean, standard deviation, and skewness, and calculate the empirical CDF FX(x) = P(X<x) for selected values of x. Compare these with the theoretical results. Try using different parameters, e.g. different µX, X, N, number of bins for histogram, etc (not necessarily all of these), and discuss the results (do not simply repeat the parameters presented in the slides!)
Task 2 Lognormal distribution
Next, suppose that X follows a lognormal distribution with a given mean and standard deviation. Repeat the above. In addition, you can compare the histogram with the theoretical lognormal pdf as well as the normal pdf, and discuss the difference. Try with different coefficients of variation (c.o.v.). What happens when c.o.v. is quite small (e.g. 0.05) and relatively large?
Bonus task (not compulsory)
Feel free to explore other distributions, e.g. uniform distribution, exponential distribution, Rayleigh distribution, t-distribution, chi-squared distribution. However, you will need to find out the Matlab functions yourself! (but should be quite easy. Hint: google). Generate samples from your desired distribution. From these samples, construct the normalized histogram, and compare it with the theoretical pdf similar to Tasks 1 and 2.
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:
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.
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!
Buy Custom Answer of This Assessment & Raise Your Grades
If you searching for a native report writer then, singaporeassignmenthelp.com. is the best place for you. We have a team of professional writers who can provide you report writing service in which you get top-quality Uncertainty Analysis for Engineers Report according to your university guideline at an affordable price.
Looking for Plagiarism free Answers for your college/ university Assignments.
- Liam’s Employment Status & Contractual Obligations at Eclipse Marketing : SUSS
- PSB6014CL Individual Written Report Coventry University January 2025 : Project Management
- BUS352 Group-based Assignment January 2025 Semester SUSS :Operations Analytics
- BUS356 Group-based Assignment January 2025 Semester : Business Negotiation
- TZU CHI SCHOOL Term 3 Argumentative Essay Assessment 2024-25 : Historical Accuracy of ‘The Boy in the Striped Pajamas’
- PSB6012CL Course Work :Business Research Methods Key Approaches and Applications
- Article : Cell Biology and Molecular Regulation Rb–E2F Activity and Proliferation Commitment
- Workplace Law Assignment: Employment Status and Contractual Obligations
- Management Foundation Studies: Individual Assignment 2 Accounting & Business Finance SIM Global Education
- HRM335 Tutor-Marked Assignment (TMA01) January 2025 SUSS : Leadership Development