0% found this document useful (0 votes)
28 views37 pages

SFM Hypothesis Assignment

1) The document presents the results of one sample z-test and two sample t-test on sample data related to height, weight, and salary. 2) For the height data, the one sample z-test finds a significant difference between the sample mean and population mean, indicating the samples differ. 3) For weight, the two sample t-test finds no significant difference between average male and female weights, so it accepts the null hypothesis of no difference. 4) For salary, the one sample z-test is used but the results are not presented, only the steps of the test.

Uploaded by

Sanya Bansal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views37 pages

SFM Hypothesis Assignment

1) The document presents the results of one sample z-test and two sample t-test on sample data related to height, weight, and salary. 2) For the height data, the one sample z-test finds a significant difference between the sample mean and population mean, indicating the samples differ. 3) For weight, the two sample t-test finds no significant difference between average male and female weights, so it accepts the null hypothesis of no difference. 4) For salary, the one sample z-test is used but the results are not presented, only the steps of the test.

Uploaded by

Sanya Bansal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 37

Sample Gender ONE SAMPLE TEST

162 2 National Average Height (in cm) = 169 cm


161 2
158 2 Mean 164.35 Step 1 Form your Null and Alternate Hypothes
169 2 SD 9.22 X = 169
163 1 X<>169
170 1
172 1 Step 2 Test
164 2 Variable
168 1 Mean Test
171 1 N = 40
178 1
155 2 Step 3 Set level of significance (Alpha) (5%, 1%, 10
154 1 Default is 5% i.e. 0.05
168 2
166 2 Step 4 Decision Rule
166 2 Z tab =+- 1.96
167 2
158 2 Step 5 Collect the sample data
163 1 Mu = Population mean = 169
154 1 X = Sample Mean = 164.35
173 1 n = 40
174 2 SD = 9.22
140 1
178 2 Step 6 Analyze the data
152 1 Z calculatedNumerator (164.35-169)
162 2 Denominator SD/SQRT(40)
172 1
177 1
178 2 Zcal>Ztab
140 1 Alternate Hypothesis is accepted
163 2
164 2 Step 7 There is a significant difference between th
171 1
179 1
159 1
157 1
168 2
158 2
163 1
159 2

TWO SAMPLE TEST


Male (X1)Female (X2) X1 = Male
163 162 X2 = Female
170 161
172 158 Variance X1 Variance X2
168 169 132.69 41.15
171 164
178 155 N1 = 20
154 168 N2 = 20
163 166 Assuming both N1 and N2 are equal to 20, we will use two sample Z tes
154 166
173 167 X1-X2
140 158 Z Cal -0.4
152 174 Z Tab -1.96
172 178 Z Cal is within the range, so we will accept Null Hypothesis
177 162 There is no significant difference between average heights
140 178 of males and females.
171 163
179 164
159 158
157 168
163 159
ONE SAMPLE TEST

Null and Alternate Hypothesis


(H0) There is no significant difference between the national average height and sample taken
(H1) There is a significant difference between the national average height and sample taken

nificance (Alpha) (5%, 1%, 10%)

on mean = 169
an = 164.35

(164.35-169) -4.65 -3.19


SD/SQRT(40) 1.46

3.19>1.96
thesis is accepted

ificant difference between the national average height and sample taken.
z-Test: Two Sample for Means

Male Female
Mean 163.84 165.05
Known Variance 132.69 41.15
we will use two sample Z test. Observations 19.00 19
Hypothesized Mean Difference 0.00
z Calculated -0.40
P(Z<=z) one-tail 0.34
z Critical one-tail 1.64
ccept Null Hypothesis P(Z<=z) two-tail 0.69
ween average heights z Critical two-tail (Tabulated) 1.96
P Value 0.69 > 0.05 (Accept Null Hypothesis)
mple taken
Null Hypothesis)
Sample Gender
70 2
70 2 National average Weight = 65kg
72 1
72 2 Mean 67.2
74 1 SD 5.98
75 1
66 1
65 2
65 1
64 1
63 1
62 2
66 1
68 2
55 2
59 2
60 2
67 2
70 1
66 1
65 1
67 2
70 1
72 2
74 1
76 2
78 1
79 1
80 2
60 1
59 2
59 2
60 1
60 1
65 1
66 1
68 2
68 2
67 1
66 2
TWO SAMPLE TEST

MALE FEMALE X1= Male


72 70 X2=Female
74 70
75 72 X1=X2 H0= There is no significant difference betwe
66 65 X1<>X2H1= There is significant difference between
65 62
64 68 N1 21
63 55 N2 19
66 59 Since N2<20, we will assume T-Test Two Sample Ass
70 60 Alpha=0.05
66 67 X1 67.65
65 67 X2 66.28
70 72
74 76 As per mean, Weights of Males
78 80 are more than Weights of Females
79 59
60 59 V1 32.87
60 68 V2 42.21
60 68
65 66 Females are more inconsistant than Males
66 incase of Weight
67
We will accept Null Hypothesis
X2 is significantly low than X1
ONE SAMPLE TEST

Step 1 form your null & alternate hypothesis


X=65 (H0)
X=<>65 (H1)

Step 2 Test
Variable
Mean Test
N= 40

Step 3 Set level of significance (Alpha) (5%, 1%, 10%)


Default is 5 % i.e. 0.05

Step 4 Decision Rule


Z tab =+- 1.96

Step 5 Collect the sample data


Mu= Population mean= 65
X= Sample mean= 67.2
n= 40
SD = 5.98

Step 6 Analyze the data


Z calculated Numerator = (65-67.2)
Denominator = SD/SQRT(40)

Zcal > Ztab


Alternate hypothesis is accepted
Step 7 There is a significant difference between the nat

E TEST

ignificant difference between average weight of male and female


ificant difference between average weight of male and female

me T-Test Two Sample Assuming Equal Variances

t-Test: Two-Sample Assuming Equal Variances

Females MALE (X1) FEMALE (X2)


Mean 67.65 66.28
Variance 32.87 42.21
Observations 20.00 18.00
Pooled Variance 37.28
stant than Males Hypothesized Mean Difference 0.00
df 36.00
t Stat Calculated 0.69
P(T<=t) one-tail 0.25
t Critical one-tail 1.69
P(T<=t) two-tail 0.49
t Critical two-tail (Tabulated) 2.03
P value 0.49>0.05 (Accept Null Hypothesis)
lternate hypothesis
There is no significant difference between the national average weight and sample taken
There is a significant difference between the national average weight and sample taken

ance (Alpha) (5%, 1%, 10%)

-2.2 -2.33
/SQRT(40) 0.94552

2.33>1.96
sis is accepted
ant difference between the national average weight and sample taken

MALE (X2)
cept Null Hypothesis)
sample taken
ample taken
SAMPLE GENDER ONE TEST SAMPLE
17000 2 National Average Salary (Per Month) Rs 20000
25000 2
18000 1 MEAN 19375
17000 2 SD 5137.53 Step 1 Form your Null
18000 1
18000 1
19000 1
19000 2 Step 2
20000 1
19000 1
14000 1
14000 2
15000 1 Step 3
15000 1
16000 2
16000 2 Step 4
18000 2
18000 2
24000 1 Step 5
28000 1
30000 1
15000 2
14000 1
13000 2
12000 1 Step 6
15000 2 Z calculated
27000 1
16000 1
22000 2
20000 1
25000 2
30000 2
28000 2 Step 7
30000 2
25000 1
15000 1
15000 2
17000 2
18000 1
20000 2

TWO SAMPLE TEST


MALE (X1)FEMALE (X2)
18000 17000
18000 25000 X1 = Male
18000 17000 X2 = Female
19000 19000
20000 14000 Variance X1 Variance X2
19000 16000 25671052.63158 28473684.211
14000 16000
15000 18000 N1 = 20
15000 18000 N2 = 20
24000 15000 Assuming both N1 and N2 are equal to 20, we will use two samp
28000 13000
30000 15000 X1-X2
14000 22000 Z Cal -0.19
12000 25000 Z Tab -1.96
27000 30000 Z Cal is within the range, so we will accept Nu
16000 28000 There is no significant difference betwee
20000 30000 of males and females.
25000 15000
15000 17000
18000 20000
ep 1 Form your Null and Alternate Hypothesis
X = 20000 (H0) There is no significant difference between the national average salary and sam
X<>20000 (H1) There is a significant difference between the national average salary and samp

Test
Variable
Mean Test
N = 40

Set level of significance (Alpha) (5%, 1%, 10%)


Default is 5% i.e. 0.05

Decision Rule
Z tab =+- 1.96

Collect the sample data


Mu = Population mean = 20000
X = Sample Mean = 19375
n = 40
SD = 5137.53

Analyze the data


Numerator (19375 - 20000) -625 -0.77
Denominator SD/SQRT(40) 812.31

Zcal<Ztab 0.77<1.96
Null Hypothesis is accepted

There is no significant difference between the national average salary (in month) and sample taken.

LE TEST
z-Test: Two Sample for Means

MALE
Mean 19315.79
Known Variance 25671052.60
Observations 19.00
Hypothesized Mean Difference 0.00
to 20, we will use two sample Z test. z Calculated -0.19
P(Z<=z) one-tail 0.43
z Critical one-tail 1.64
P(Z<=z) two-tail 0.85
z Critical two-tail (Tabulated) 1.96
e range, so we will accept Null Hypothesis P Value 0.85>0.05
ificant difference between average salary
ional average salary and sample taken
onal average salary and sample taken
FEMALE
19631.58
28473684.2
19

(Accept Null Hypothesis)


SAMPLE GENDER ONE SAMPLE TEST
1400 2 National Average Household Expenditure (Per Month)
1300 2
1200 1 MEAN 1355
1100 2 SD 402.52
800 1
900 1 Step 1 Form your Null and Alternate Hy
1000 1
1100 2
1100 1
1800 1 Step 2
1500 1
1600 2
1700 1
1700 2
1900 2 Step 3
1900 2
2000 2
2000 2 Step 4
1500 1
1500 1
800 1 Step 5
900 2
900 1
1000 2
1400 1
1400 2
1500 1 Step 6
1500 1 Z calculated
900 2
900 1
1600 2
1800 2
1800 1
2000 1
2000 2 Step 7
1100 1
1100 2
800 2
800 1
1000 2

TWO SAMPLE TEST


MALE (X1FEMALE (X2)
1200 1400 X1 Male
800 1300 X2 Female
900 1100
1000 1100 Variance X1 Variance X2
1100 1600 145552.6316 176710.5263
1800 1700
1500 1900 N1 = 20
1700 1900 N2 = 20
1500 2000 Assuming both N1 and N2 are equal to 20, we will use two sample Z test.
1500 2000
800 900 X1-X2
900 1000 Z Cal -1.05
1400 1400 Z Tab -1.96
1500 900 Z Cal is within the range, so we will accept Null Hypothesis
1500 1600 There is no significant difference between average household
900 1800 of males and females.
1800 2000
2000 1100
1100 800
800 1000
MPLE TEST
Rs 1446

Form your Null and Alternate Hypothesis


X = 1446 (H0) There is no significant difference between the national average household expenditu
X<>1446 (H1) There is a significant difference between the national average household expenditur

Test
Variable
Mean Test
N = 40

Set level of significance (Alpha) (5%, 1%, 10%)


Default is 5% i.e. 0.05

Decision Rule
Z tab =+- 1.96

Collect the sample data


Mu = Population mean = 1446
X = Sample Mean = 1355
n = 40
SD = 402.52

Analyze the data


Numerator (1355-1446) -91 -1.43
Denominator SD/SQRT(40) 63.64

Zcal<Ztab 1.43<1.96
Null Hypothesis is accepted

There is no significant difference between the national average height and sample taken.

MPLE TEST
z-Test: Two Sample for Means

MALE FEMALE
Mean 1289.47 1426.32
Known Variance 145552.63 176710.50
Observations 19.00 19
we will use two sample Z test. Hypothesized Mean Difference 0.00
z Calculated -1.05
P(Z<=z) one-tail 0.15
z Critical one-tail 1.64
P(Z<=z) two-tail 0.29
o we will accept Null Hypothesis z Critical two-tail (Tabulated) 1.96
erence between average household expenditure P value 0.29>0.05 Accept Null Hypothesis
verage household expenditure and sample taken
erage household expenditure and sample taken
SAMPLE GENDER ONE SAMPLE TEST
35000 2
34000 2 National Average Medical Expenditure Rs 38822
30000 1 MEAN 36750
33000 2 SD 5925.82
40000 1 Step 1 Form your Null and Alternate H
42000 1 X = 38822
38000 1 X<>38822
32000 2
31000 1 Step 2 Test
31000 1 Variable
30000 1 Mean Test
30000 2 N = 40
35000 1
30000 2 Step 3 Set level of significance (Alpha) (5%
30000 2 Default is 5% i.e. 0.05
40000 2
40000 2 Step 4 Decision Rule
42000 2 Z tab =+- 1.96
42000 1
44000 1 Step 5 Collect the sample data
44000 1 Mu = Population mean = 38822
45000 2 X = Sample Mean = 36750
45000 1 n = 40
40000 2 SD = 5925.82
35000 1
35000 2 Step 6 Analyze the data
30000 1 Z calculated Numerator
30000 1 Denominator
40000 2
28000 1
28000 2 Zcal>Ztab
35000 2 Alternate Hypothesis is accepted
32000 1
32000 1 Step 7 There is a significant difference b
40000 1
40000 2
45000 2
48000 2
42000 1
47000 2

TWO SAMPLE TEST


MALE (X1FEMALE (X2)
30000 35000 X1 = Male
40000 34000 X2 = Female
42000 33000
38000 32000 Variance X1 Variance X2
31000 30000 33944736.84 37102631.58
31000 30000
30000 30000 N1 = 20
35000 40000 N2 = 20
42000 40000 Assuming both N1 and N2 are equal to 20, we will use two sample Z test.
44000 42000
44000 45000 X1-X2
45000 40000 Z Cal -0.6
35000 35000 Z Tab -1.96
30000 40000 Z Cal is within the range, so we will accept Null Hypothesis
30000 28000 There is no significant difference between average medical expenditure
28000 35000 of males and females.
32000 40000
32000 45000
40000 48000
42000 47000
PLE TEST

orm your Null and Alternate Hypothesis


(H0) There is no significant difference between the national average medical expenditure and sample t
(H1) There is a significant difference between the national average medical expenditure and sample tak

t level of significance (Alpha) (5%, 1%, 10%)


efault is 5% i.e. 0.05

ecision Rule
ab =+- 1.96

ollect the sample data


u = Population mean = 38822
= Sample Mean = 36750

D = 5925.82

nalyze the data


(36750-38822) -2072 -2.21
SD/SQRT(40) 936.95

2.21>1.96
ternate Hypothesis is accepted

here is a significant difference between the national average height and sample taken.

WO SAMPLE TEST
z-Test: Two Sample for Means

MALE FEMALE
Mean 36368.4 37578.947
Known Variance 33944736.8 37102632
Observations 19.0 19
two sample Z test. Hypothesized Mean Difference 0.0
z Calculated -0.6
P(Z<=z) one-tail 0.3
z Critical one-tail 1.6
P(Z<=z) two-tail 0.5
pt Null Hypothesis z Critical two-tail (Tabulated) 2.0
en average medical expenditure P Value 0.5>0.05 Accept Null Hypothesis
ical expenditure and sample taken
cal expenditure and sample taken
SAMPLE GENDER ONE SAMPLE TEST
1500 2 National Average Fuel Expenditure (Per Month) Rs 8400
1000 2 MEAN 4297.5
5000 1 SD 1980.87
4200 2
6900 1 Step 1 Form your Null and Alternate H
2500 1 X = 8400
7000 2 X<>8400
6000 2
3100 1 Step 2 Test
3000 1 Variable
5800 1 Mean Test
4000 2 N = 40
1800 1
2000 2 Step 3 Set level of significance (Alpha
7000 2 Default is 5% i.e. 0.05
4800 2
3000 2 Step 4 Decision Rule
2600 2 Z tab =+- 1.96
6000 1
6300 1 Step 5 Collect the sample data
2100 1 Mu = Population mean = 8400
2200 2 X = Sample Mean = 4297.5
5400 1 n = 40
1100 2 SD = 1980.87
1900 1
4000 2 Step 6 Analyze the data
7000 1 Z calculated Numerator
7800 1 Denominator
5300 2
2400 1
5500 2 Zcal>Ztab
5600 2 Alternate Hypothesis is accept
6700 1
2000 1 Step 7 There is a significant differenc
7000 1
6400 1
4100 2
3500 2
3800 1
4600 2
TWO SAMPLE TEST
MALE (X1) FEMALE (X2)
5000 1500 X1 = Male
6900 1000 X2 = Female
2500 4200
3100 7000 Variance X1 Variance X2
3000 6000 4452079 3347894.74
5800 4000
1800 2000 N1 = 20
6000 7000 N2 = 20
6300 4800 Assuming both N1 and N2 are equal to 20, we will use two sample
2100 3000
5400 2600 X1-X2
1900 2200 Z Cal 0.85
7000 1100 Z Tab -1.96
7800 4000 Z Cal is within the range, so we will accept Null Hypothe
2400 5300 There is no significant difference between average fuel
6700 5500 of males and females.
2000 5600
7000 4100
6400 3500
3800 4600
m your Null and Alternate Hypothesis
(H0) There is no significant difference between the national average fuel expenditure and sample taken
(H1) There is a significant difference between the national average fuel expenditure and sample taken

level of significance (Alpha) (5%, 1%, 10%)


ault is 5% i.e. 0.05

ect the sample data


= Population mean = 8400
Sample Mean = 4297.5

lyze the data


(4297.5-8400) -4102.5 -13.10
SD/SQRT(40) 313.20

13.10>1.96
ernate Hypothesis is accepted

re is a significant difference between the national average height and sample taken.
z-Test: Two Sample for Means

Male Female
Mean 4626.32 4078.95
20, we will use two sample Z test. Known Variance 4452079.00 3347894.7
Observations 19.00 19
Hypothesized Mean Difference 0.00
z Calculated 0.85
P(Z<=z) one-tail 0.20
we will accept Null Hypothesis z Critical one-tail 1.64
ence between average fuel expenditure P(Z<=z) two-tail 0.39
z Critical two-tail (Tabulated) 1.96
P Value 0.39>0.05 Accept Null Hypothesis
expenditure and sample taken
xpenditure and sample taken

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy