# Data Analytics With Python Week 10 Answers

Q1. Sampling distribution for the goodness of fit test is the

a. Poisson distribution
b. t distribution
c. normal distribution
d. chi-square distribution

Q2. The goodness of fit test is always conducted as a

• lower-tail test
• upper-tail test
• middle test
• None of these

Q3. State True or False: Statement: Null hypothesis for the chi-square test of independence assumes that all the proportions are equal.

• True
• False

Q4. Statistical test conducted to determine whether to reject or not reject a hypothesized probability distribution for a population is known as a ________

• contingency test
• probability test
• goodness of fit test
• None of these

Q5. What is the minimum no. of variables/ features required to perform clustering?

• 3

Q6. State True or False: The chi-square test of independence is used to analyze the frequencies of two variables with multiple categories and determine whether they are independent

• True
• False

Q7. State True or False: Minkowski distance is a generalization of both Euclidean and Manhattan metrics

• True
• False

Q8. In order to perform the chi-square test to check independence in python using scipy, we import _________

• chi2_test
• chi_square_independence
• chi2_contingency
• None of these

Q9. Let x1 = (1,2) and x2 = (3,5) be the co-ordinates for two objects. The Euclidean and Manhattan distance between these two objects is __________ respectively

• 4.2 and 3
• 3.15 and 2
• 3.61 and 5
• None of these