Question

In: Statistics and Probability

Student,HW,Ex,Ex.Other 1,0.85,0.87,0.71 2,0.96,0.89,0.58 3,0.97,0.87,0.94 4,0.96,0.93,0.88 5,0.93,0.81,0.82 6,0.97,0.75,0.91 7,0.92,0.95,0.77 8,0.35,0.40,0.64 9,0.90,0.91,0.95 10,0.73,0.69,0.1 11,0.00,0.00,0.99 12,0.97,0.89,0.99 13,0.69,0.95,0.96 14,0.83,

Student,HW,Ex,Ex.Other
1,0.85,0.87,0.71
2,0.96,0.89,0.58
3,0.97,0.87,0.94
4,0.96,0.93,0.88
5,0.93,0.81,0.82
6,0.97,0.75,0.91
7,0.92,0.95,0.77
8,0.35,0.40,0.64
9,0.90,0.91,0.95
10,0.73,0.69,0.1
11,0.00,0.00,0.99
12,0.97,0.89,0.99
13,0.69,0.95,0.96
14,0.83,0.73,0.96
15,0.96,0.85,0.92
16,0.00,0.58,0.95
17,0.93,0.90,0.96
18,0.83,0.97,0.92
19,0.93,0.61,0.79
20,0.98,0.80,0.85
21,0.99,0.95,0.89
22,0.83,0.75,0.82
23,0.97,0.92,0.74
24,0.72,0.85,0.77
25,0.99,0.94,0.81
26,0.97,0.91,0.64
,,,
,,,
,,,
given the following values.

Please conduct a t test for the two ex grades.

#### a
Please check the conditions for a t test and state your assumptions.

#### b
What is the test statistic?

#### c
What is the p value?

#### d
Interpret the results in context.

#### e
Create a 95% Confidence Interval and explain the results.

#### f
Please explain why you did not complete a paired t test.

Solutions

Expert Solution

a.

From above QQ plot, we see that almost all difference between two ex grades are closed to reference line hence difference (=Ex1-Ex2) is normally distributed.

b. The test statistic= -0.41493

c. p-value= 0.6817

d. Since p-value>0.05, we conclude that there is insignificant difference between means of two ex grades.
e. 95% Confidence Interval: (-0.13532743, 0.08994282)=(-0.1353, 0.0899).

We are 95% confident that the mean difference between two ex grades lies in (-0.1353, 0.0899).

f. Since we consider two ex grades from same student, hence these observations are paired observations and the differences of these paired observations come from normal distribution, so we use paired t test.
R code:

X=matrix(c(0.87,0.71,
0.89,0.58,
0.87,0.94,
0.93,0.88,
0.81,0.82,
0.75,0.91,
0.95,0.77,
0.40,0.64,
0.91,0.95,
0.69,0.1,
0.00,0.99,
0.89,0.99,
0.95,0.96,
0.73,0.96,
0.85,0.92,
0.58,0.95,
0.90,0.96,
0.97,0.92,
0.61,0.79,
0.80,0.85,
0.95,0.89,
0.75,0.82,
0.92,0.74,
0.85,0.77,
0.94,0.81,
0.91,0.64),nrow=26,ncol=2,byrow=TRUE)
Ex1=X[,1];Ex2=X[,2]
qqnorm(Ex1-Ex2, pch = 1, frame = FALSE)
qqline(Ex1-Ex2, col = "steelblue", lwd = 2)
t.test(Ex1,Ex2,alternative ="two.sided",mu = 0, paired =TRUE,
conf.level = 0.95)

Output:

Paired t-test

data: Ex1 and Ex2
t = -0.41493, df = 25, p-value = 0.6817
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.13532743 0.08994282
sample estimates:
mean of the differences
-0.02269231


Related Solutions

C++ HW Aim of the assignment is to write classes. Create a class called Student. This...
C++ HW Aim of the assignment is to write classes. Create a class called Student. This class should contain information of a single student. last name, first name, credits, gpa, date of birth, matriculation date, ** you need accessor and mutator functions. You need a constructor that initializes a student by accepting all parameters. You need a default constructor that initializes everything to default values. write the entire program.
HW 17 A student decides to test a college administrator's claim that more than 40% of...
HW 17 A student decides to test a college administrator's claim that more than 40% of students have part-time jobs. She collects data, and finds that 66 out of 141 students surveyed had part-time jobs. Test the claim that more than 40% have part-time jobs at the 0.05 significance level. *What is the null hypothesis?                            [ Select ]                       ["H0: p=0.4", "HA: p=0.4", "H0: p>0.4", "H0:...
Econ 235 HW # 2 student name & number: _____________________ Please read the following case study...
Econ 235 HW # 2 student name & number: _____________________ Please read the following case study and answer the questions below. Concerned about her current customer base, manager Andersen started to think of factors that might affect the attractiveness of an auditing firm. Of course, the provided service quality and the fees charged by the auditor seem two important factors. Next, she decides that reputation of the auditing firm also needs to be included in the framework as an independent...
HW 8-1a   1.)   Referring to the UML class diagram, create a program that utilizes the Student...
HW 8-1a   1.)   Referring to the UML class diagram, create a program that utilizes the Student class. - id : Integer - units : Integer - name : String + Student ( ) : + Student (id : Int, name : String, units : Int) : + ~Student( ) : + setID(id : Integer) : void + setName(name: String) : void + setUnits(units : Integer ) : void + displayRecord() : void 2.)   Include 3 files: -   Source.cpp -   Student.h...
Week 2 Ch.3-4 Graded Assignment EX.03.09 EX.03.10.ALGO EX.03.14 EX.03.17 EX.03.20 EX.03.21 CEX.04.10.ALGO EX.04.13.ALGO EX.04.15 EX.04.21.ALGO EX.04.24...
Week 2 Ch.3-4 Graded Assignment EX.03.09 EX.03.10.ALGO EX.03.14 EX.03.17 EX.03.20 EX.03.21 CEX.04.10.ALGO EX.04.13.ALGO EX.04.15 EX.04.21.ALGO EX.04.24 Hide or show questions Progress:11/11 items eBook Calculator Duration-Based Costing Gee Manufacturing produces two models of camshafts used in the production of automobile engines: Regular and High Performance. Gee currently uses an ABC system to assign costs to the two products. For the coming year, the company has the following overhead activities, costs, and activity drivers: Activity Expected Cost Activity Driver Activity Capacity Setups...
Chapter 5 Homework Assignment (part 2) PE.05-03.ALGO PE.05-04.ALGO EX.05-04 EX.05-11 EX.05-12 EX.05-14.ALGO EX.05-15.ALGO EX.05-16.ALGO EX.05-17.ALGO EX.05-18.ALGO...
Chapter 5 Homework Assignment (part 2) PE.05-03.ALGO PE.05-04.ALGO EX.05-04 EX.05-11 EX.05-12 EX.05-14.ALGO EX.05-15.ALGO EX.05-16.ALGO EX.05-17.ALGO EX.05-18.ALGO Hide or show questions Progress:7/10 items eBook Show Me How Calculator Print Item Posting a Purchases Journal The purchases journal for Newmark Exterior Cleaners Inc. follows. The accounts payable account has a March 1, 20Y2, balance of $605 for an amount owed to Nicely Co. No payments were made on creditor invoices during March. PURCHASES JOURNAL Page 16 Date Account Credited Post. Ref. Accts.  ...
Solve for Ex and Ey using these two formulas: 1.2-Ex(0.6)+2Ey = 0 and 2Ey-Ex(0.6) = 1.2...
Solve for Ex and Ey using these two formulas: 1.2-Ex(0.6)+2Ey = 0 and 2Ey-Ex(0.6) = 1.2 Please show all the steps. NOTE: The correct answer for Ex should be 4.25 and Ey should be 1.875. I want to see how they derive the two values.
Following are the 12/31/17 unadjusted and adjustedtrial balances for HW Co. HW Co. Unadjusted and Adjusted...
Following are the 12/31/17 unadjusted and adjustedtrial balances for HW Co. HW Co. Unadjusted and Adjusted Trial Balances December 31, 2017 Unadjusted Adjusted DR CR DR CR Cash   $16,000 $16,000 Accounts Receivable   44,000 51,800 Allowance for Doubtful Accounts   125 1,680 Supplies   17,500 6,800 Prepaid Insurance   6,700 5,100 Equipment   185,000 185,000 Accumulated Depreciation—Equipment   $58,000 $69,700 Accounts Payable 11,000 11,000 Interest Payable     300 Salaries and Wages Payable -   2,600 Notes Payable 10,000 10,000 Unearned Service Revenue 12,000 9,200 Common Stock 20,000...
Following are the 12/31/17 unadjusted and adjusted trial balances for HW Co. HW Co. Unadjusted and...
Following are the 12/31/17 unadjusted and adjusted trial balances for HW Co. HW Co. Unadjusted and Adjusted Trial Balances December 31, 2017 Unadjusted Adjusted DR CR DR CR Cash   $16,000 $16,000 Accounts Receivable   44,000 51,800 Allowance for Doubtful Accounts   125 1,680 Supplies   17,500 6,800 Prepaid Insurance   6,700 5,100 Equipment   185,000 185,000 Accumulated Depreciation—Equipment   $58,000 $69,700 Accounts Payable 11,000 11,000 Interest Payable     300 Salaries and Wages Payable -   2,600 Notes Payable 10,000 10,000 Unearned Service Revenue 12,000 9,200 Common Stock...
HW Measuring Total Output & Income                                    &nbsp
HW Measuring Total Output & Income                                     A                                              B           GDP ($millions)                       1000000          1050400          250000            288000 population (millions)                20                    20.2                 50                    60 GDP/pop ($thousands)          50,000__          52,000__          5,000 __          4,800 __ Economy A is a developed economy while B is a developing economy. Both are observed above at two points in time.                                                                1)Which economy is bigger? A 2)Which economy grew? (both, neither, A, B) Both 3)Which economy added more output?  4)Which economy had greater percentage growth? 5)Which has more people? B 6)Which population grew? (both, neither, A, B) Both grew but B grew more (50...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT