1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
RSB [31]
3 years ago
14

Suppose we want to select between two prediction models M1 and M2. We have performed 10-fold cross validation on each. The error

rates obtained for M1 are 30.5, 32.2, 20.7, 20.6,31.0, 41.0, 27.7, 26.0, 21.5, 26.0. The error rates for M1 are 22.4, 14.5, 22.4, 19.6,20.7, 20.4, 22.1, 19.4, 16.2, 35.0.
Is one model significantly better than the other considering a significance level of 1%.?
Computers and Technology
1 answer:
Ksivusya [100]3 years ago
6 0

Answer:

Since the calculated t value does not fall in the critical region we accept H0 and  conclude that  one model is not significantly better than the other at 1% level of significance.

Explanation:

When the observations from two samples are paired either naturally or by design , we find the difference between two observations of each pair. Treating the differences as a random sample from a normal population with mean μd =μ1-μ2 and unknown standard deviation σd we perform one sample t- test on them. This is called paired difference t- test.

M1               M2           Difference            d²

                                  d= (M1-M2)

30.5,         22.4,         8.1                       65.61          

32.2,       14.5,           17.7                      313.29

20.7,       22.4,          -1.7                       8.3521

20.6,       19.6,             1.0                        1

31.0,       20.7,             10.3                     106.09

41.0,      20.4,             20.6                    424.36

27.7,      22.1,              5.6                      31.36

26.0,      19.4,            6.6                         43.56

21.5,       16.2,            5.3                         28.09                    

<u>26.0.       35.0.            -9.0                      81.0          </u>

<u>∑ 329.2     213.1           64.5                    1102.7121</u>

<u />

<u>Now </u>

d` = ∑di/n = 64.5/10= 6.45

sd² = ∑(di-d`)²/n-1= 1/n-1 [ ∑di²- (∑di)²/n]

     =1/9[ 1102.7121 - (64.5)²/10 ]

       =[1102.7121 - 416.025/9]

       = 79.298

sd= 8.734

We state our null and alternate hypotheses as

H0 : μd= 0   and Ha: μd≠0

The significance level is set at ∝ = 0.01

The test statistic under H0  is

t= d`/ sd/√n

which has a t distribution with n-1 degrees of freedom.

The critical region is  t ≥ t (0.005,9)= 3.250

Calculating t

t= 6.45 / 8.734/ √10

t = 6.45 / 8.734/3.162

t= 6.45 / 2.7621

t= 2.335

Since the calculated t value does not fall in the critical region we accept H0 and  conclude that  one model is not significantly better than the other at 1% level of significance.

You might be interested in
_____ are pictures that you can click on to tell your computer what to do.
KatRina [158]

Answer:icons

Explanation:The reason it is icons is because icons can become pictures

4 0
3 years ago
Hazel has just finished adding pictures to her holiday newsletter. She decides to crop an image. What is cropping an image?
NeTakaya
Cropping an image is resizing it to different ratios to suit your needs.

4 0
3 years ago
Which statement is true? Group of answer choices Variables cannot be assigned and declared in the same statement Variable names
mote1985 [20]

Complete Question:

Which statement is true? Group of answer choices

A. Variables cannot be assigned and declared in the same statement

B.  Variable names must contain at least one dollar sign

C. Variable names can be no more than 8 characters long

D.  It is incorrect to initialize a string variable with a number

Answer:

D. It is incorrect to initialize a string variable with a number

Explanation:

  1. Options A-C are not correct
  2. Variables can be declared and assigned values on same statement like this int a =5;
  3. Variable names must not contain the dollar sign as this declaration int num =0; is legal without a dollar sign
  4. Variable names are not restricted to 8 characters long they can be longer
  5. In option D if you declare a variable of a particular type, you must assign a value of that type for example int s ="John" is wrong
3 0
3 years ago
Write a C translation of the NASM program below, sticking to the assembly code as much as possible. Use single-letter variable n
vichka [17]

Answer:

See explaination

Explanation:

mov ebp, esp

and esp, 0FFFFFFF0H

sub esp, 16

mov dword [esp], ?_001

call puts

mov eax, 0

leave

ret

End

The C translation is always expected to be shorter than the assembly language code.

6 0
3 years ago
Which of the following statements is/are true? (Points : 2) A. Objects communicate through message passing.
damaskus [11]

Answer:

In the given question option A and C are true.

Explanation:

In object-oriented programming languages (oops).We use the class object concept. As we know the class is a collection of data member and member function and class provide a blueprint for an object. it is a real-time entity. An object is created from a class. So the option "B" is not true, because first, we create the class we create an object of that class. Option"D" is not true because we implement class by the object, not by interface.

Only option "A and c is true".

7 0
4 years ago
Other questions:
  • 100 students were asked to fill out a form with three survey questions, as follows: H: Honor Roll C: Club membership (Robotics C
    7·1 answer
  • To move one screen to the left press ____.
    9·1 answer
  • What is a short example of public domain?
    8·1 answer
  • PLEASE HELP
    15·2 answers
  • Universal Containers is creating a custom Visualforce page to allow users to edit contact records. The developer has used an ape
    6·1 answer
  • What is essence of computer systems and networks?​
    9·1 answer
  • Which statement about digital certificates is​ FALSE? A. The CA verifies a digital certificate​ user's identity online. B. Digit
    7·1 answer
  • G The method of mapping where each memory locationis mapped to exactly one location in the cache is
    9·1 answer
  • What would be the most professional choice of words for your response:
    6·1 answer
  • each data mining technique has its advantages and limitations. which data mining technique mimics the neural structure of the br
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!