Question

In: Math

4. I have reviewed the midterm grades, and I am trying to predict how well the...

4. I have reviewed the midterm grades, and I am trying to predict how well the class will do on the final exam. The frequency values are actual grades for the Summer II midterm:
Grade Expected Frequency (Observed)
Greater than A 5 7
A 6 9
B 8 4
C 3 4
D 1 0
F 2 1
a. What will be my degrees of freedom?
b. What is O-E (difference) for grades of B?
c. What is O-E^2 for grades of A?
d. What is (O-E)^2/E for grades of F?
e. What is O-E (difference) for grades of B?
f. What is the chi square (χ2) test statistic?
g. What is the p-value?
h. At the 5% significance level, what is your decision?
i. What is the reason for the decision?
j. What is the conclusion in full sentences?

Solutions

Expert Solution

Solution:

We have to test if distribution of midterm grades is fitted with expected grades of final examination.

Thus hypothesis of the study are:

H0:  The distribution of midterm grades is fitted with expected grades of final examination.

Vs

Ha:  The distribution of midterm grades does not fitted with expected grades of final examination.

We are given following table of expected and observed grades.

Grade E: Expected O: Frequency (Observed)
Greater than A 5 7
A 6 9
B 8 4
C 3 4
D 1 0
F 2 1

Part a. What will be my degrees of freedom?

Degrees of freedom = k - 1

Where k = Number of categories of grades = 6

Degrees of freedom = 6 - 1

Degrees of freedom = 5

Part b. What is O-E (difference) for grades of B?

O-E for B grade = 4 - 8

O-E for B grade = - 4

Part c. What is O-E^2 for grades of A?

(O-E)2 for A grade = ( 9 - 6 )2 = (3)2 = 9

Part d. What is (O-E)^2/E for grades of F?

(O-E)2 / E = (1-2)2 / 2 = (-1)2 / 2 = 1 / 2 = 0.5

Part e. What is O-E (difference) for grades of B?

O-E for B grade = 4 - 8

O-E for B grade = - 4

Part f. What is the chi square (χ2) test statistic?

Thus we need to make following table:

Grade E: Expected O: Frequency (Observed) (O - E) (O - E)2 (O - E)2 / E
Greater than A 5 7 2 4 0.8
A 6 9 3 9 1.5
B 8 4 -4 16 2
C 3 4 1 1 0.333
D 1 0 -1 1 1
F 2 1 -1 1 0.5

Part g. What is the p-value?

Look in Chi-square table for df = 5 row and find the interval in which fall, then find corresponding right tail area.

fall between 1.610 and 9.236, corresponding right tail area is between 0.100 and 0.900

thus p-value is between 0.100 and 0.900

That is: 0.100 < p-value < 0.900

To get exact p-value we use excel command:

=CHISQ.DIST.RT( x2 , df )

=CHISQ.DIST.RT( 6.133 , 5 )

=0.2935

Thus p-value = 0.2935

Part h. At the 5% significance level, what is your decision?

At the 5% significance level, we fail to reject null hypothesis H0.

Part i. What is the reason for the decision?

We fail to reject null hypothesis H0. since p-value > 0.05 significance level.

Part j. What is the conclusion in full sentences?

Since we failed to reject null hypothesis H0, The distribution of midterm grades is fitted with expected grades of final examination.  


Related Solutions

4. I have reviewed the midterm grades, and I am trying to predict how well the...
4. I have reviewed the midterm grades, and I am trying to predict how well the class will do on the final exam. The frequency values are actual grades for the Summer II midterm: Grade Expected Frequency (Observed) Greater than A 5 7 A 6 9 B 8 4 C 3 4 D 1 0 F 2 1 a. What will be my degrees of freedom? b. What is O-E (difference) for grades of B? c. What is O-E^2 for...
I am trying to implement a search function for a binary search tree. I am trying...
I am trying to implement a search function for a binary search tree. I am trying to get the output to print each element preceding the the target of the search. For example, in the code when I search for 19, the output should be "5-8-9-18-20-19" Please only modify the search function and also please walk me through what I did wrong. I am trying to figure this out. Here is my code: #include<iostream> using namespace std; class node {...
I have sequences of 128X128 images of faces saved in a folder. I am trying to...
I have sequences of 128X128 images of faces saved in a folder. I am trying to create a pytorch dataloader that will load the image sequences along with its timestamps and average heart rate value. The Dataloader to loads the data(e.g., 128 video frames X, 128 points-timesteps Y, average heart rate value H) as tensors. Then forward it to forward the model. I am new to pytorch and I am not sure how to create data loaders with pytorch and...
Hello, I have been trying to answer this question for the last hour and I am...
Hello, I have been trying to answer this question for the last hour and I am still struggling could someone help me? The deadline is in 1hour! Perform an analysis of variance on the following data set. Do this by answering the questions below. Group 1 Group 2 Group 3 82 87 97 91 90 99 93 91 104 94 99 105 94 101 106 95 115 109 99 118 110 101 114 103 117 105 121 106 121 106...
***PLEASE SHOW HOW TO SOLVE IN EXCEL*** NOT HANDWRITTEN 5) The letter grades on the midterm...
***PLEASE SHOW HOW TO SOLVE IN EXCEL*** NOT HANDWRITTEN 5) The letter grades on the midterm exam given in a large managerial statistics class are normally distributed with mean 75 and standard deviation 9. The instructor of this class wants to assign an A grade to the top 10% of the scores, a B grade to the next 10% of the scores, a C grade to the next 10% of the scores, a D grade to the next 10% of...
I have a one strand DNA sequence that I am trying to determine the base pairs...
I have a one strand DNA sequence that I am trying to determine the base pairs for. The gene is CYP1A2 and the primers and sequence are below. Below is the sequence of part of the CYP1A2 gene (you are given only 1 strand, written in the 5’ – 3’ direction). 5’TGGGCTAGGTGTAGGGGTCCTGAGTTCCGGGCTTTGCTACCCAGCTCTTGACTTCTGTTTCCCGATTTTA AATGAGCAGTTTGGACTAAGCCATTTTTAAGGAGAGCGATGGGGAGGGCTTCCCCCTTAGCACAAGGGCA GCCCTGGCCCTGGCTGAAGCCCAACCCCAACCTCCAAGACTGTGAGAGGATGGGGACTCATCCCTGGAGG AGGTGCCCCTCCTGGTATTGATAAAGAATGCCCTGGGGAGGGGGCATCACAGGCTATTTGAACCAGCCCT GGGACCTTGGCCACCTCAGTGTCACTGGGTAGGGGGAACTCCTGGTCCCTTGGGTATATGGAAGGTATCA GCAGAAAGCCAGCACTGGCAGGGACTCTTTGGTACAATACCCAGCATGCATGCTGTGCCAGGGGCTGACA AGGGTGCTGTCCTTGGCTTCCCCATTTTGGAGTGGTCACTTGCCTCTACTCCAGCCCCAGAAGTGGAAAC TGAGATGATGTGTGGAGGAGAGAGCCAGCGTTCATGTTGGGAATCTTGAGGCTCCTTTCCAGCTCTCAGA TTCTGTGATGCTCAAAGGGTGAGCTCTGTGGGCCCAGGACGCATGGTAGATGGAGCTTAGTCTTTCTGGT ATCCAGCTGGGAGCCAAGCACAGAACACGCATCAGTGTTTATCAAATGACTGAGGAAATGAATGAATGAA TGTCTCCATCTCAACCCTCAGCCTGGTCCCTCCTTTTTTCCCTGCAGTTGGTACAGATGGCATTGTCCCA GTCTGTTCCCTTCTCGGCCACAGAGCTTCTCCTGGCCTCTGCCATCTTCTGCCTGGTATTCTGGGTGCTC AAGGGTTTGAGGCCTCGGGTCCCCAAAGGCCTGAAAAGTCCACCAGAGCCATGGGGCTGGCCCTTGCTCG GGCATGTGCTGACCCTGGGGAAGAACCCGCACCTGGCACTGTCAAGGATGAGCCAGCGCTACGGGGACGT CCTGCAGATCCGCATTGGCTCCACGCCCGTGCTGGTGCTGAGCCGCCTGGACACCATCCGGCAGGCCCTG 3’ The sequences of the primers used to amplify part of the CYP1A2 gene...
I have a 5,200 square foot tenant space that I am trying to lease at one...
I have a 5,200 square foot tenant space that I am trying to lease at one of our centers. Three tenants have expressed an interest in leasing the space. Two of the tenants require some upfront money from us to move in, while the third tenant does not. This third tenant, however, will not pay as much in rent as the other two. Details on the projected rents from the tenants and the amounts we are to invest upfront are...
I am trying to make a Risk Management tool in Python. I have it partially started....
I am trying to make a Risk Management tool in Python. I have it partially started. The scenario is that the Project Manager needs to be able to log on and enter information ( the required information is located in the code). I then need to capture that data and store it in an array with the ability to call back and make changes if necessary. Could you please help me out and explain what was done? Current code: Start...
I am trying to write a program in Java: Pick 4 cards and display the cards...
I am trying to write a program in Java: Pick 4 cards and display the cards and their total value (Ace = 1, King = 13, Queen = 12, and Jack 11...etc. , BUT you should check that no card is a duplicate... there is only one "Ace of Spades" per deck for example. I need to utilize the displayMenu so the program continues to run for the user without breaking. My program is not running correctly. import java.util.Scanner; import...
Hi I am having the following problem. At the moment I am trying to create a...
Hi I am having the following problem. At the moment I am trying to create a bode plot for the following function. G(s)=(Ks+3)/((s+2)(s+3)) Note: Not K(s+2)! I then want to plot multiple bode plots for various values of K. Eg. 1,2,3, etc. I am having two separate issues. 1. How do I define the TF with a constant K in the location required (a multiple of s in the numerator) 2. How do I create multiple bode plots for values...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT