# NPTEL Data Analytics with Python Assignment 8 Answers 2022

Are you looking for the Answers to NPTEL Data Analytics with Python Assignment 8? This article will help you with the answer to the National Programme on Technology Enhanced Learning (NPTEL) Course “NPTEL Data Analytics with Python Assignment 8 ”. So read the complete article carefully.

## What is Data Analytics with Python?

Data Analytics with Python is a fun-filled whirlwind tour of 30 hrs, covering everything you need to know to fall in love with the most sought-after skill of the 21st century. This course includes examples of analytics in a wide variety of industries, and we hope that students will learn how you can use analytics in their careers and life. One of the most important aspects of this course is that you, the student, are getting hands-on experience creating analytics models; we, the course team, urge you to participate in the discussion forums and to use all the tools available to you while you are in the course!

## CRITERIA TO GET A CERTIFICATE

Average assignment score = 25% of the average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF THE AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

Below you can find the answers for NPTEL Data Analytics with Python Assignment 8

## NPTEL Data Analytics with Python Assignment 8 Answers 2022:-

Q1. For categorical data with ‘n’ categories, the number of dummy variables will be________

a. n
b. n – 1
c. n + 1
d. 2n

Q2. In the estimation of regression parameters

• The likelihood function is a function of only 𝜎
• The values of 𝛽0..𝛽n and 𝜎 should be such that, they maximize the likelihood function.
• Both a. and b.
• None of these

Answer: c. Both a. and b.

Q3. In logistic regression, the null hypothesis tested is:

• H0: β = 0
• H0: β ≠ 0
• H0: μ = 0
• H0: μ ≠ 0

Answer: a. H0: β = 0

For Online programming test help and final exam preparation material Click Me

Q4. In logistic regression,

• The graph doesn’t follow S shape curve
• The dependent variable is categorical
• The estimated value of the dependent variable is not probability
• None of these

Answer: b. The dependent variable is categorical

Q5. State true or false: G statistic is used to check the individual significance of the independent variables

• True
• False

Answer: b. The dependent variable is categorical

Q6. Choose the correct statement

• In logistic regression, the dependent variable must be continuous data
• In logistic regression, the dependent variable must be categorical data
• In logistic regression, both dependent and independent variables must be categorical data
• None of these

Answer:- c. In logistic regression, both dependent and independent variables must be categorical data

Q7. State True or False: The Method of Least Squares can be applied to models with any probability distribution.

• True
• False

Q8. Suppose you have been given a fair coin and you want to find out the odds of getting heads. Which of the following option is true for such a case?

• Odds will be 0
• Odds will be 0.5
• Odds will be 1
• None of these

Answer: c. Odds will be 1

Q9. Large values of the log-likelihood statistic indicate:

• That there are a greater number of explained vs. unexplained observations.
• That the statistical model fits the data well.
• That as the predictor variable increases, the likelihood of the outcome occurring decreases.
• That the statistical model is a poor fit of the data

Q10. The logit function(given as l(x)) is the log of odds function. What could be the range of logit function in the domain x=[0,1]?

• (– ∞ , ∞)
• (0,1)
• (0 , ∞)
• (- ∞, 0 )

Answer: a. (– ∞ , ∞)