NPTEL Data Analytics with Python Week 8 Assignment Answers 2025

NPTEL Data Analytics with Python Week 8 Assignment Answers 2025

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

  • n
  • n-1
  • n+1
  • 2n
Answer :- For Answers Click Here 

2. In estimation of regression parameters

  • The likelihood function is a function of only 𝜎
  • The values of 𝛽0,….,𝛽n and 𝜎 should be such that, they maximizes the likelihood function.
  • Both (a) and (b)
  • All of the above
Answer :- 

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

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

4. In logistic regression,

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

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

  • True
  • False
Answer :- 

6. The maximum likelihood estimate for binomial distribution is p = ___________

  • 0.1
  • 0.2
  • 0.3
  • None of the above
Answer :- For Answers Click Here 

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

  • True
  • False
Answer :- 

8. 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 :- 

9. 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.
Answer :- 

10. 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 :- For Answers Click Here