# Data Analytics with Python | NPTEL | Week 8 Assignment Solutions

This set of MCQ(multiple choice questions) will help you with the answers of Data Analytics with Python NPTEL Week 8 Assignment Solutions.

### Course layout

Week 1: Basics of Python Spyder
Week 2 :
Introduction to probability
Week 3 : Sampling and sampling distributions

Week 4 : Hypothesis testing

Week 5 : Two sample testing and introduction to ANOVA

Week 6 : Two way ANOVA and linear regression

Week 7 : Linear regression and multiple regression

Week 8 : Concepts of MLE and Logistic regression

Week 9 : ROC and Regression Analysis Model Building
Week 10 : c2 Test and introduction to cluster analysis
Week 11 : Clustering analysis

Week 12 : Classification and Regression Trees (CART)

NOTE: You can check your answer immediately by clicking show answer button. Moreover, this set of “Data Analytics with Python NPTEL Week 8 Assignment Solution” contains 10 questions.

Now, start attempting the quiz.

### Data Analytics with Python NPTEL Week 8 Assignment Solutions

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

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

Answer: c) Both a and b

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

a) H0: β = 0
b) H0: β ≠ 0
c) H0: μ = 0
d) H0: μ ≠ 0

Answer: a) H0: β = 0

Q4. In logistic regression,

a) The graph doesn’t follow S shape curve
b) The dependent variable is categorical
c) The estimated value of the dependent variable is not probability
d) None of these

Answer: b) The dependent variable is categorical

Data Analytics with Python NPTEL Week 8 Assignment Solutions

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

a) True
b) False

Q6. Choose the correct statement

a) In logistic regression, the dependent variable must be continuous data
b) In logistic regression, the dependent variable must be categorical data
c) In logistic regression, both dependent and independent variables must be categorical data
d) 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.

a) True
b) False

Data Analytics with Python NPTEL Week 8 Assignment Solutions

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?

a) Odds will be 0
b) Odds will be 0.5
c) Odds will be 1
d) None of these

Answer: c) Odds will be 1

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

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

Answer: b) That the statistical model fits the data well.

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]?

a) (– ∞ , ∞)
b) (0,1)
c) (0 , ∞)
d) (- ∞, 0 )

Answer: a) (– ∞ , ∞)

Data Analytics with Python NPTEL Week 8 Assignment Solutions

<< Prev- Data Analytics with Python Week 7 Assignment Solutions

>> Next-Data Analytics with Python Week 9 Assignment Solutions

`DISCLAIMER: Use these answers only for the reference purpose. Quizermania doesn't claim these answers to be 100% correct. So, make sure you submit your assignments on the basis of your knowledge.`

For discussion about any question, join the below comment section. And get the solution of your query. Also, try to share your thoughts about the topics covered in this particular quiz.