PadhaikoAll subjects

Past exam question: 2081 Chaitra (Regular), Q5(a)

Foundation of Data Science · 4 marks

Open in the Padhaiko app

Topic: Data Transformation, Encoding & Normalization

Question

Here is the 10 random sample data of graduate student age from Sociology and Political Science program class.

Data#12345
Age (Women)3529322336
Age (Men)2825292423

(Show your all calculations and consider all 10 data as a single sample.)

Calculate normalized ages of 2-students (Data #1, both Women and Men) using z-score and min-max of Zero-to-one.

Solution

Aggregate Sample Statistics (Mean, Variance, and Extremes): Combining all student ages into a single sample ():

  1. Sample Mean ():
  1. Sum of Squared Deviations ():
  1. Sample Standard Deviation (): Using Bessel's correction for sample standard deviation ():

(Note: using the uncorrected population formula ).

  1. Sample Minimum and Maximum:

Normalization of Student Data #1 (Women, Age = 35): For the female student in column Data #1, :

(If computed with population : ).

Normalization of Student Data #1 (Men, Age = 28): For the male student in column Data #1, :

(If computed with population : ).

Answer:

All past exam questions for Foundation of Data Science