Estimating & Plotting PDF & CDF of Random Variable X in MATLAB

Click For Summary
SUMMARY

The discussion focuses on estimating and plotting the Probability Density Function (PDF) and Cumulative Distribution Function (CDF) of a random variable X using MATLAB. Users are instructed to load a dataset from a file named projectfile.mat using the command load projectfile.mat samples. The key tasks include estimating the PDF and CDF of the random variable X and creating corresponding plots. The conversation emphasizes the importance of demonstrating initial efforts before seeking assistance.

PREREQUISITES
  • Familiarity with MATLAB programming environment
  • Understanding of random variables and their statistical properties
  • Knowledge of Probability Density Function (PDF) and Cumulative Distribution Function (CDF)
  • Ability to create plots in MATLAB using functions like plot and histogram
NEXT STEPS
  • Learn how to use MATLAB's load function for data import
  • Research methods for estimating PDF using MATLAB functions like ksdensity
  • Explore techniques for estimating CDF in MATLAB, such as using ecdf
  • Study MATLAB plotting functions to visualize statistical data effectively
USEFUL FOR

This discussion is beneficial for students, data analysts, and researchers who are working with statistical data analysis in MATLAB, particularly those focusing on probability distributions and their visual representations.

man*
Messages
1
Reaction score
0
halw
could anyone help me in writing this project in MATLAB ??


A random variable X is observed at certain experiment. 100,000 samples of this random
variable are stored in a vector called samples.
1. Use MATLAB to read the samples of this random variable. To read these samples
you should download the file projectfile.mat from the WebCT in your computer and
your first statement in the MATLAB file is going to be:
load projectfile.mat samples
….
Once you read the vector samples try to do the following:
2. Estimate the pdf of X and plot the estimated pdf.
3. Estimate the cdf of X and plot the estimated cdf.
 
Physics news on Phys.org
Thread moved from EE to Homework Help.

Welcome to the PF, man*. You need to show us your own work before we can offer tutorial help. How would you go about starting this problem?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
16K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
2
Views
2K