Skip to main content

Stats 1 week 9

Random Variables and Their Applications

📚

Random Variables and Their Applications

What is a Random Variable?

A random variable is a variable whose possible values are numerical outcomes of a random phenomenon. There are two main types of random variables:

  • Discrete Random Variables: These can take on a countable number of distinct values. Examples include the number of heads in a series of coin flips or the number of students in a class.
  • Continuous Random Variables: These can take on any value within a given range. Examples include the height of students in a class or the time it takes to run a marathon.

Uses of Random Variables in Daily Life

Random variables are used in various fields to model uncertainty and make predictions. Here are some examples:

  • Finance: Modeling stock prices and returns on investments.
  • Engineering: Assessing the reliability of systems and components.
  • Medicine: Evaluating the effectiveness of treatments and drugs.
  • Retail: Predicting the number of customers or sales in a given period.

Difference Between Discrete and Continuous Random Variables

The main difference between discrete and continuous random variables is the type of values they can take:

  • Discrete Random Variables: Can take specific, countable values (e.g., 0, 1, 2, 3).
  • Continuous Random Variables: Can take any value within a range (e.g., 1.5, 2.3, 3.7).

Discrete Random Variables

A discrete random variable is one that can take on a finite or countably infinite number of values. Examples include the number of defective items in a batch or the number of goals scored in a match.

Probability Mass Function (PMF)

The probability mass function (PMF) of a discrete random variable gives the probability that the variable takes on a specific value. The PMF must satisfy two conditions:

  • All probabilities are non-negative.
  • The sum of all probabilities is 1.
Skewed Distributions Histogram

Skewed Distributions Histogram

Symmetric Distribution

Positively Skewed Distribution

Negatively Skewed Distribution

In case of symmetric(no skew) mode=median=mean.

In case of positive skewed mode<median<mean

In case of negatively skewed mode>median>mean

Cumulative Distribution Function (CDF)

The cumulative distribution function (CDF) of a random variable gives the probability that the variable takes on a value less than or equal to a specific value. The CDF is different from the PMF in that it accumulates probabilities up to a certain point.

Example of PMF and CDF

Consider a discrete random variable X that represents the number of heads in two coin flips. The PMF and CDF can be represented as follows:

X PMF (P(X=x)) CDF (P(X≤x))
0 0.25 0.25
1 0.50 0.75
2 0.25 1.00

Comments

Popular post

IITM Notes

Course Overview “These handwritten notes encompass topics in data science and civil services. The beauty of knowledge is that you don’t need to belong to any specific group; simply maintain your curiosity, and knowledge will find its way to you. I hope these notes are helpful. If they are, please consider leaving a comment below and follow my blog for updates.” Mathematics 1 👉 Select Week Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11 Revision Statistics 1 👉 Select Week Week 1 Week 2 Week 3 Week 4 Week 5 Week 6 Week 7 Week 8 Week 9 Week 10 Week 11

Maths 1 week 1 Summary

Number System and Set Theory 📚 Number System and Set Theory This week, our teacher covered the basics of the number system. We were instructed to consider 0 as part of the natural numbers, as it will be treated as such in future subjects like Python. However, in exams, it will be explicitly stated whether 0 should be considered a natural number. The key topics from this week include set theory and the relationship between two sets. In set theory, we focused on three Venn diagram problems. In the context of relations, we discussed the concepts of reflexive, symmetric, transitive, and equivalence relations. Detailed Explanation 1.Union of Two Sets The union of two sets A and B is the set of elements that are in either A , B , or both. It is denoted as A ∪ B . 2.Intersection of Two Sets The intersection of two sets A and B is the set of elements that are in both A and B . It is denoted as A ∩ B . 3.Subt

Community page

Welcome To our IITM BS Students Community This community is a student commune where IIT Madras Bachelor of Science students are studying. Our community is managed by 15 community admins who oversee our WhatsApp community, Discord, and Telegram profiles. With more than 1000+ active members, we study together, share memes, watch movies, play games, and have fun. Our goal is to bring all online IITM students together to excel in exams while having fun. Community Admins Agampreet LinkedIn Ansh Ashwin Ambatwar Arti Dattu Dolly Elango Koushik Shrijanani Saksham Shivamani Shivam Instagram LinkedIn Join Our Community Subscribe to our YouTube page Join our meme team on