Skip to content

Regression Models (Data Science Specialization)

Course Assignments

Quiz 1:Regression Models (Data Science Specialization) Answers 2025 :

Question 1Which value of μ minimizes ∑i=1nwi(xi−μ)2\sum_{i=1}^n w_i (x_i-\mu)^2∑i=1n​wi​(xi​−μ)2? ✅ 0.1471❌ 0.300❌ 1.077❌ 0.0025 Explanation: The weighted least-squares minimizer is the weighted mean: μ=∑wixi/∑wi=1.03/7≈0.1471.\mu = \sum w_i x_i / \sum w_i = 1.03/7 \approx 0.1471.μ=∑wi​xi​/∑wi​=1.03/7≈0.1471. Question 2Regression through the origin (slope = sum(x*y)/sum(x^2)) — give the slope. ✅ 0.8263❌ -0.04462❌ 0.59915❌ -1.713 Explanation: For regression… <a href="https://codeshala.io/platform/coursera/course/regression-models-data-science-specialization/assignment/quiz-1regression-models-data-science-specialization-answers-2025/" rel="bookmark"><span class="screen-reader-text">Quiz 1:Regression Models (Data Science Specialization) Answers 2025 :</span></a>

Quiz 2:Regression Models (Data Science Specialization) Answers 2025 :

Question 1Which of the following is stored in the ‘cache’ during forward propagation for later use in backward propagation? ✅ Z[l]❌ b[l]❌ W[l] Explanation: The cache stores intermediate values computed during forward prop that are needed for backprop — typically Z[l] and A[l] (and sometimes W[l]/b[l] are kept in parameters, not the cache). Z[l] is… <a href="https://codeshala.io/platform/coursera/course/regression-models-data-science-specialization/assignment/quiz-2regression-models-data-science-specialization-answers-2025/" rel="bookmark"><span class="screen-reader-text">Quiz 2:Regression Models (Data Science Specialization) Answers 2025 :</span></a>

Quiz 3:Regression Models (Data Science Specialization) Answers 2025

Question 1Consider the mtcars data set. Fit mpg ~ factor(cyl) + wt. Give the adjusted estimate for the expected change in mpg comparing 8 cylinders to 4. ✅ -6.071❌ -3.206❌ -4.256❌ 33.991 Explanation: This is the coefficient for the factor level difference (8 cyl vs 4 cyl) in the regression that adjusts for weight. The… <a href="https://codeshala.io/platform/coursera/course/regression-models-data-science-specialization/assignment/quiz-3regression-models-data-science-specialization-answers-2025/" rel="bookmark"><span class="screen-reader-text">Quiz 3:Regression Models (Data Science Specialization) Answers 2025</span></a>

Quiz 4:Regression Models (Data Science Specialization) Answers 2025

1. Question 1 Space Shuttle data — Logistic regression for use ~ windOdds ratio for autolander use comparing head (numerator) vs tail (denominator): ✅ 1.327❌ 0.969❌ 0.031❌ -0.031 Explanation:A logistic regression on the shuttle dataset (MASS library) gives an estimated odds ratio ≈ 1.327, meaning autolander use is about 32.7% more likely with head winds… <a href="https://codeshala.io/platform/coursera/course/regression-models-data-science-specialization/assignment/quiz-4regression-models-data-science-specialization-answers-2025/" rel="bookmark"><span class="screen-reader-text">Quiz 4:Regression Models (Data Science Specialization) Answers 2025</span></a>