Question
Question 2 - Mean and Variance of Binary Variables Imagine that you want to know a little more about the nationality of the students in
Question 2 - Mean and Variance of Binary Variables Imagine that you want to know a little more about the nationality of the students in your class. You observe a binary variable equal to 1 if the student has Canadian nationality and 0 otherwise. To answer this question, you can use the following notation: NC is the number of students with Canadian nationality, NA is the number of students without Canadian nationality and N is the total number of students in the class (NC + NA=N). a) Using the population mean formula, show that when you compute the average of the binary variable described above, you will get the proportion (NC/N) of students who are Canadian citizens (in the classroom). (0.3 points) b) Using the population variance formula, show that the variance of the binary variable described above is equal to (NC x NA)/N2. (0.7 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started