Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this question, you will use the paired t-test to compare the performance of two models. You will compare the above LogisticRegression model and Polynomial3Model

In this question, you will use the paired t-test to compare the performance of two models. You will compare the above LogisticRegression model and Polynomial3Model model, both using RMSProp. You will run this comparison using A4.jl. You hypothesize that Polynomial3Model is better than LogisticRegression, and so want to run a one-tailed test to see if that is true. (a) [5 marks] WRITTEN: Define the null hypothesis and the alternative hypothesis. Use 1 to be the true expected squared error for LogisticRegression and 2 the true expected squared error for Polynomial3Model. (b) [10 marks] Now let's run the paired t-test. (Note: we should actually check for violated assumptions. We did this for you and saw that that both errors appear approximately normal distributed and have similar variance. Thus, it is acceptable to use the paired t-test). To run this test, you need to compute the p-value. Implement the tDistPValue function, which returns the p-value for the one-tailed paired t-test. (c) [5 marks] WRITTEN: Report the p-value. Would you be able to reject the null hypothesis with a significance threshold of 0.05

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Calculus Early Transcendentals

Authors: William L. Briggs, Lyle Cochran, Bernard Gillett

2nd edition

321954428, 321954424, 978-0321947345

More Books

Students also viewed these Mathematics questions