Posted on: 26th Nov 2025

Project on Probability and Statistics using MATLAB Assignment | NUS

Mini-project on Probability and Statistics using MATLAB

Deadline: 30 Nov 2025 (folder close at 11:59pm, submit earlier to avoid last minute technical issues).

Please submit online through Canvas. Deadline is strict. We are very busy during this period and don’t have time to track late submissions and impose penalties, so late submission will not be graded.

Only one file per student should be submitted. Please include samples of your MATLAB codes in the Appendix (samples only, no need to include for every case!).

This project is individual work, and plagiarism is strictly prohibited. Some general discussion is ok, such as how to use MATLAB, but do not show your report or codes to your friends.

Page limit: 5 pages including figures and tables, but excluding Appendix for the codes (please don’t spend excessive time on this project, and we don’t want thick reports!). Cover page and table of contents discouraged, but if you want to include, it will count towards the 5 page limit.

You are encouraged to discuss your results, rather than simulate lots of cases. Quality over quantity. Weightage of project: 20%

Need Help Completing Your NUS MATLAB Probability Project?

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 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 coefficient 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 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:

Mean

(MN)

Standard deviation (MN)
R 22 5
S 8 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.

R S
Case 1 Normal distribution Normal distribution
Case 2 Lognormal distribution Lognormal distribution
Case 3 Normal distribution Lognormal distribution

How does the choice of distribution type affects 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!

Task 4 More “complex” reliability problem

A cantilever beam is subjected to a point load as shown below. The displacement at the tip is

PA2

=(3L A− )

6EI

The cross-section is a circular hollow cylinder with diameter D and thickness T. The second moment of area, I is

4                                       4

I   =      D −(D−2 )T 

64

The random variables are P, A, L, E, D, T. Assume that they are all statistically independent, and normally distributed, with a coefficient of variation of 0.06. The mean values are provided in the following table. Assume that failure occurs if the displacement  > 0.03m. Using Monte Carlo Simulation, determine the probability of failure.

P (N) A (m) L (m) E (N/m2) D (m) T (m)
1800 4 8 2 1011 0.2 0.01

Bons tasks (really not necessary, for students with a lot of time and are bored)

Change distribution types and coefficient of variation for some variables.

Try and make some variables correlated (only for advanced MATLAB users, need to find out yourself how to generate correlated variables!

Struggling With MATLAB Simulations and Statistical Analysis?

Get Help By Expert

Many NUS students struggle to finish MATLAB mini-projects on time or aren’t sure how to present simulations and code clearly. Don’t worry My Assignment Help offers reliable Probability & Statistics assignments tailored to NUS standards. Check our MATLAB project sample to judge the quality and format we deliver. Get a customized, plagiarism-free and 100% human-written nus assignments that includes clear results, discussion and code appendix. Order now for expert sg assignment help and higher marks.

Tags:-
Answer
Introduction to Data Communications Assignment Case Study Individual Report | Singapore Management University
No Need To Pay Extra
  • Turnitin Report

    $10.00
  • Proofreading and Editing

    $9.00
    Per Page
  • Consultation with Expert

    $35.00
    Per Hour
  • Live Session 1-on-1

    $40.00
    Per 30 min.
  • Quality Check

    $25.00
  • Total
    Free

New Special Offer

Get 30% Off

Hire an Assignment Helper and Earn A+ Grade

UP TO 15 % DISCOUNT

Get Your Assignment Completed At Lower Prices

Plagiarism Free Solutions
100% Original Work
24*7 Online Assistance
Native PhD Experts
Hire a Writer Now

Facing Issues with Assignments? Talk to Our Experts Now! Download Our App Now!