You are on page 1of 6

LAB ACTIVITY 2 NORAISYAH BT MAT NOR MP111084

PROBLEM 1 The weight changes for 29 girls undergoing the cognitive behavioral treatments Question 1: using the data, test for no treatment effect versus a positive mean weight change?

Weight changes after undergoing the cognitive behavioral treatments


25 20 15
weight changes

10 5 0 2 Treatment Effect -5 -10 -15


person

6 4 8

10 12

14 16

18 20

22 24

26 28

PROBLEM 2 Question 1 perform a paired t-test Answer : Pizza B with Pizza A

Question 2 what value of the t-statistic is calculated, what degrees of freedom for the test, what pvalue is reported for this data? Answer Q2 Value of paired samples t-test of this data is 3.80 degrees of freedom of this data is 9 p-value of this data is 0.01

Question 3 do people seem to prefer one type of pepperoni pizza over another? If so, which seem to be most liked? Answer : Pizza A 8.86 Pizza B 12.66 ***the lower mean score of Pizza A indicates that Pizza A more glamour because the remaining of pizza weight is lower which indicates the pizza A is mostly eating by people.

PROBLEM 3 Question 1 >What version of the t-test did you use? What was the result? Answer : Independent Samples Test

Question 2 >From this evidence, does it appear that memory ability decreases with age? Answer : Yes, there are appear that memory ability decreases with age. Question 3>Display a graphical comparison of this data. Answer :
comparison memory ability and age among students of graduate 40
35 30
memory ability

25 20 15 10 5 0 1 2 3 4 5 6 7 8 9 10 11 12 13
students of graduate

PROBLEM 4 Question 1 >1Find the correlation between height and self esteem. Answer :

f(x) = -0.0235338346x + 5.5788721805 R = 0.1067704048

Question 2 > Plot a scatter plot. Answer :


relationship between self esteem and height
5 4.5 4 3.5
self esteem

3 2.5 2 1.5 1 0.5 0 65 70 75


height

f(x) = -0.02x + 5.58 R = 0.11

80

85

90

If Reza's height is 68.5cm and Norfazli's height is 65.5cm, how much higher would we expect Reza's self-esteem score compared to Norfazli's. Answer :
height reza norfazli self esteem reza norfazli

68.5 65.5

3.97 4.04

PROBLEM 5 Question 1 >Find out how many agree with the new reform according to gender. Answer : Agree>male : 3 >female : 10 Question 2>Create a contingency table Answer :

m ale fem ale

agree 3 10

not agree 3 16

Question 3>Is there an association between gender and agreement of teaching mathematics and science in Bahasa Malaysia by 2012. Answer :

Yes, is there have association between gender and agreement of teaching mathematics and science in Bahasa Malaysia by 2012.

You might also like