Python for Data Science: Laboratory Programs in Python: Descriptive Analytics: Statistical description of data without libraries
Mathematically the Probability Density Function (PDF) of normal distribution is

where:
x = Value in the dataset
μ = Mean (average)
σ = Standard deviation (Spread of data)
e = Euler's number (≈ 2.718)
Ex 1.
A random variable X follows a normal distribution with mean of 10 and a standard deviation of 2. Find the value of the Probability Density Function (PDF) at x = 12.
Solution: The formula for finding PDF is

Given that:
(μ = 10, σ = 2, x = 12):

Simplify the exponent:

[(12‒10)2 ] / 2.22 = 4/8 = 0.5
The formula now becomes
f(12) = [ 1 / 2√2π ] e ‒0.5
√2π ≈ 2.5066,
e‒0.5 ≈ 0.6065.
f(12) = [1 / 2×2.5066 ] . 0.6065
= 0.6065 / 5.0132 ≈ 0.1210
Hence, the value of the PDF at x = 12 is approximately 0.1210
z = (X ‒μ) / σ
where
X = Individual value
μ = Mean
σ = Standard deviation
Ex 2.
Consider Mean = 70, Standard deviation = 10, and student's score is 85. Calculate Z score and interpret your answer.
Solution :
The z score can be calculated as
z = (X ‒μ) / σ = (85‒70) / 10
z = 1.5
Interpretation: The student scored is standard deviation above mean. That means this student has scored better than most of the students.
Ex 3.
Consider mean height = 165 cm, σ = 5 cm, X = 155 cm. Calculate z score and interpreter your result.
Solution :
z = (155‒165) / 5 = ‒2
Interpretation: The height is 2 standard deviations below mean. So the height of student is short as compared to average.
Python for Data Science: Laboratory Programs in Python : Tag: Computer Programming, Python, Data Science : Laboratory Programs in Python - Statistical description of data without libraries
Computer Programming Python Laboratory
CS25C02 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Python for Data Science
AD25201 2nd Semester AIDS Dept, 4th Semester CSE, CSE(CY) Departments | 2025 Regulation | 2nd, 4th Semester 2025 Regulation
Python for Data Science - Laboratory
AD25201 2nd Semester AIDS Dept | 2025 Regulation | 2nd Semester 2025 Regulation
Foundations of Data Science using Python
IT25201 2nd Semester IT Dept | 2025 Regulation | 2nd Semester 2025 Regulation
English Essentials I
EN25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
தமிழர் மரபு - Heritage of Tamils
UC25H01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Calculus
MA25C01 Maths 1 M1 - 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Physics I
PH25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Applied Chemistry I
CY25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Makerspace
ME25C04 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Computer Programming C
CS25C01 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Computer Programming Python
CS25C02 1st Semester | 2025 Regulation | 1st Semester 2025 Regulation
Fundamentals of Electrical and Electronics Engineering
EE25C03 1st Semester EEE Depart | 2025 Regulation | 1st Semester 2025 Regulation
Introduction to Mechanical Engineering
ME25C03 1st Semester Mechanical Dept | 2025 Regulation | 1st Semester 2025 Regulation
Introduction to Civil Engineering
CE25C01 1st Semester Civil, Agri Departments | 2025 Regulation | 1st Semester 2025 Regulation
Essentials of Computing
CS25C03 1st Semester - AIDS, CSE, CSE(CY), IT Department | 2025 Regulation | 1st Semester 2025 Regulation
Applied Physics I Laboratory
PH25C01 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Applied Chemistry I Laboratory
CY25C01 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Computer Programming C Laboratory
CS25C01 1st Semester EEE, ECE, CSE, CSE(CY), AIDS, IT practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Computer Programming Python Laboratory
CS25C02 1st Semester practical Laboratory Manual | 2025 Regulation | 1st Semester Laboratory 2025 Regulation
Engineering Drawing
ME25C01 EEE, Mech, Agri, EEE Depts | 2025 Regulation | 1st, 2nd Semester 2025 Regulation
Basic Electronics and Electrical Engineering
EE25C04 1st Semester ECE Dept | 2025 Regulation | 1st Semester 2025 Regulation
Essentials of Computing - Laboratory
CS25C03 1st Semester AIDS, CSE, CSE(CY), IT Depts | practical Laboratory Manual | 2025 Regulation | 1st Semester 2025 Regulation