ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalSTAT2115Discrete Continuous Ra…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    STAT2115

    Introduction to Statistics

    Progress0 / 24 done
    Topics24
    1Scope of Statistics
    2Descriptive and Inferential Statistics3Population, Sample, Parameter, and Statistic4Types of Data and Scales of Measurement5Frequency Distribution and Graphical Representation6Bar Chart, Pie Chart, and Histogram7Frequency Polygon, Frequency Curve, and Cumulative Frequency Polygon8Measures of Central Tendency9Quantiles10Absolute and Relative Measures of Dispersion11Moments, Skewness and Kurtosis12Basic Concepts of Probability
    13Multiplication Principle, Permutation and Combination14Probability Spaces and Laws of Probability15Conditional Probability and Bayes' Theorem16Discrete and Continuous Random Variables
    17Binomial, Poisson, and Hypergeometric18Uniform, Exponential, and Normal
    19Sample Design and Sampling Frame20Sampling and Non-Sampling Errors21Sampling Distributions for Mean and Proportion22Sampling Distributions for Difference of Means and Difference of Proportions23Overview of Hypothesis Testing24Overview of Regression Analysis
    4 min read
    Topic 16 of 24
    Topic Study Note Illustration
    16

    Discrete and Continuous Random Variables

    A random variable is a variable whose values are outcomes of a random experiment .

    1. Random Variable (RV)

    A random variable is a variable whose values are outcomes of a random experiment.

    • Usually denoted by X,Y,ZX, Y, ZX,Y,Z
    • It assigns a numerical value to each outcome in a sample space.
    X:Sample Space→RX: \text{Sample Space} \to \mathbb{R}X:Sample Space→R

    Example:

    • Toss a coin: X=1X = 1X=1 if Head, X=0X = 0X=0 if Tail
    • Roll a die: X=number on top faceX = \text{number on top face}X=number on top face

    2. Types of Random Variables

    A. Discrete Random Variable (DRV)

    Definition: A random variable is discrete if it can take a finite or countably infinite number of values.

    Properties:

    • Takes specific values (integers or counts)
    • Probability for each value can be listed
    • Probability Sum = 1

    Probability Mass Function (PMF):

    P(X=xi)=piP(X = x_i) = p_iP(X=xi​)=pi​

    Example:

    • Number of heads in 3 coin tosses → X=0,1,2,3X = 0,1,2,3X=0,1,2,3
    • Number of defective items in a batch

    Graph: Usually bar graph with heights = probabilities.


    B. Continuous Random Variable (CRV)

    Definition: A random variable is continuous if it can take any value in an interval of real numbers.

    Properties:

    • Probability of a single exact value = 0
    • Probabilities are given over intervals
    • Total area under the Probability Density Function (PDF) = 1

    Probability Density Function (PDF):

    f(x)≥0,∫−∞∞f(x)dx=1f(x) \ge 0, \quad \int_{-\infty}^{\infty} f(x) dx = 1f(x)≥0,∫−∞∞​f(x)dx=1 P(a≤X≤b)=∫abf(x)dxP(a \le X \le b) = \int_a^b f(x) dxP(a≤X≤b)=∫ab​f(x)dx

    Example:

    • Height of students → any value in 140cm,200cm140 cm, 200 cm140cm,200cm
    • Time required to run 100 m → any value ≥ 0

    Graph: Smooth curve representing density.


    3. Comparison Table

    Feature Discrete RV Continuous RV
    Values Countable (0,1,2…) Any real number in an interval
    Probability P(X=xi)P(X=x_i)P(X=xi​) P(a≤X≤b)=∫f(x)dxP(a \le X \le b) = \int f(x)dxP(a≤X≤b)=∫f(x)dx
    Function PMF PDF
    Graph Bar chart Smooth curve
    Example No. of students in class Height, weight, time

    4. Expected Value and Variance

    • Discrete RV:

      E(X)=∑xiP(X=xi),Var(X)=∑(xi−E(X))2P(X=xi)E(X) = \sum x_i P(X=x_i), \quad Var(X) = \sum (x_i - E(X))^2 P(X=x_i)E(X)=∑xi​P(X=xi​),Var(X)=∑(xi​−E(X))2P(X=xi​)
    • Continuous RV:

      E(X)=∫−∞∞xf(x)dx,Var(X)=∫−∞∞(x−E(X))2f(x)dxE(X) = \int_{-\infty}^{\infty} x f(x) dx, \quad Var(X) = \int_{-\infty}^{\infty} (x - E(X))^2 f(x) dxE(X)=∫−∞∞​xf(x)dx,Var(X)=∫−∞∞​(x−E(X))2f(x)dx

    Key Points to Remember

    1. Discrete → Countable values, probability for each value.
    2. Continuous → Uncountable values, probability over intervals.
    3. Always check whether the variable takes specific values or any value in a range.
    ← Previous topic 15
    Conditional Probability and Bayes' Theorem
    Next topic 17 →
    Probability Distributions: Binomial, Poisson, and Hypergeometric

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    4mremaining
    757words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Introduction to Statistics