Chapter 7 quiz - 7-3 Quiz_ Python Functions Quiz

docx

School

Southern New Hampshire University *

*We aren’t endorsed by this school

Course

243

Subject

Economics

Date

Jan 9, 2024

Type

docx

Pages

5

Uploaded by EarlSteel9150

Report
7-3 Quiz: Python Functions Question 1 3 / 3 points The statsmodels ols() method is used on an exam scores dataset to fit a multiple regression model using Exam4 as the response variable. Exam1, Exam2, and Exam3 are used as predictor variables. The general form of this model is: ¥ = By + P Examl + Py Exam2 + p;Exam3 If the level of significance, alpha, is 0.10, based on the output shown, is Exam1 statistically significant in the multiple regression model shown above? Select one. A text version of this output is available. OLS Regression Results [ SELENLLH L PSS VELET F-statistic: Y NGRS\ alaH Time: H Log-Likelihood: No. Observations: AIC: [ G T TEY R BIC: el: Covariance Type: [0.025 46.2612 0.1742 0.1462 . 0.0575 . 1.085 0.886 Durbin-watson: Jarque-Bera (JB): Prob(JB):
Null Hypothesis Hy Alternative Hypothesis /- P1# 0 P-value = 0.1742 Since the P-value is greater than the level of significance, alpha, do not reject the null hypothesis. Conclude that the estimate for the Exam1 parameter is zero. Therefore, Exam1 is not statistically Hy: B =0 Alternative Hypothesis P-value = 0.1742 Since the P-value is greater than the level of significance, alpha, reject the null hypothesis and conclude that the estimate for the Exam1 parameter is non-zero. Therefore, Exam1 is statistically significant in the multiple regression model. Null Hypothesis Hy: By =0 Alternative Hypothesis 111 A1 # 0 P-value = 0.153 Since the P-value is greater than the level of significance, alpha, reject the null hypothesis. Conclude that the estimate for the Exam1 parameter is non-zero. Therefore, Exam1 is statistically significant in Hy: By =0 Alternative Hypothesis P-value = 0.153 Since the P-value is greater than the level of significance, alpha, do not reject the null hypothesis. Conclude that the estimate for the Exam1 parameter is zero. Therefore, Exam1 is not statistically significant in the multiple regression model..
Question 2 3/ 3 points What is the purpose of performing the overall F-test? Select one. It is used to estimate the sum of squared residuals. It is used to test if a specific predictor variable is significant in a regression model. o) Itis used to test whether at least one of the predictor variables is significant in a regression model. It is used to test two regression models to test whether additional predictor variables should be added in the model. Question 3 3/ 3 points A multiple regression model is = 811452005X, 07741, Which of the following values is the estimate for the X2 slope parameter? Select one. 2.005 8.114 1.000 ) 0.774 Question 4 3/ 3 points Amultiple regression model is ¥ = $:114+2.005%, +0.774%; Which of the following values is the estimate for the intercept parameter? Select one. 0.774 °)8.114 1.000 2.005
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Question 5 3/ 3 points The statsmodels ols() method is used on a cars dataset to fit a multiple regression model using Quality as the response variable. Speed and Angle are used as predictor variables. The general form of this model is: ¥ = o+ BySpeed+ Byangle If the level of significance, alpha, is 0.05, based on the output shown, what is the correct interpretation of the overall F-test? (Hint: Prob (F-statistic) is the P-value). Select one. A text version of this output is available.
Null Hypothesis #o- B1=B2=0 Alternative Hypothesis % Atlsastone g, # Ofori=1.2 P-value = 332.2 Since the P-value is greater than the level of significance, alpha, reject the null hypothesis. Conclude that at least one beta value is non-zero. Therefore, the model is statistically significant. Null Hypothesis % B =p2=0 Alternative Hypothesis #:° Atlesstone p; # 0 fori=1,2 P-value = 3.80e-13 Since the P-value is less than the level of significance, alpha, do not reject the null hypothesis. Conclude that all beta values are zero. Therefore, the model is not statistically significant. Null Hypothesis o By =B2=0 Alternative Hypothesis #i Atleastone p, # Ofori=1,2 P-value = 332.2 Since the P-value is greater than the level of significance, alpha, do not reject the null hypothesis. Conclude that all beta values are zero. Therefore, the model is not statistically significant. Null Hypothesis #o° B1=B2=0 Alternative Hypothesis #:° Atleastone , # O fori=1,2 P-value = 3.80e-13 Since the P-value is less than the level of significance, alpha, reject the null hypothesis. Conclude that at least one beta value is non-zero. Therefore, the model is statistically significant.