assignment of inferntial statistics

Upload: azher-abbas

Post on 03-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/29/2019 Assignment of Inferntial Statistics

    1/17

    Assignment

    One Sample And Two SampleTest of Hypothesis on SPSS

    Submitted by:Hafiz Azher Abbas

    (MCH12011)

    Submitted to:

    Professor Saifullah Gill Sab

    University of the Punjab

    Gujranwala Campus

  • 7/29/2019 Assignment of Inferntial Statistics

    2/17

    Q# 3Step#1

    Ho : = 3 (the mean current ratio for entire sample of firm)

    Ho : 3

    Step#2

    Level of significance is 5% or .05

    Tests of Normality

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    Current ratio .314 91 .000 .386 91 .000

    a. Lilliefors Significance Correction

    Data is normal and parametric test can be applied as its significance is .000.

    On .5 level of significance.

    One-Sample Test

    Test Value = 3

    t df Sig. (2-tailed)

    Mean

    Difference

    95% Confidence Interval of theDifference

    Lower Upper

    Current ratio .194 90 .847 .12681 -1.1725 1.4262

    The result is .847shows , we do not reject NULL HYPOTHESIS and the mean value for entire

    sample of firm is equal to 3.

  • 7/29/2019 Assignment of Inferntial Statistics

    3/17

    Q= 4Step#1

    Ho: = 3

    Ho: 3

    Step#2

    Level of significance is 5% or .05

    Tests of Normality

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    Current ratio .208 35 .001 .728 35 .000

    a. Lilliefors Significance Correction

    Data is normal and parametric test can be applied as its significance is .001.

    On .5 level of significance.

    One-Sample Statistics

    N Mean Std. Deviation Std. Error Mean

    SIC Code 35 2086.00 .000a

    .000

    T test cannot be computed because the standard deviation is 0.

  • 7/29/2019 Assignment of Inferntial Statistics

    4/17

    Q= 5Step#1

    Ho : = 3

    H1 : 3

    Step#2

    Level of significance is 5% or .05

    One-Sample Statistics

    N Mean Std. Deviation Std. Error Mean

    SIC Code 27 2082.00 .000a

    .000

    T TEST cannot be computed because the standard deviation is 0.

  • 7/29/2019 Assignment of Inferntial Statistics

    5/17

    Q= 6Step#1

    Ho : = (Blood pressure reading is within 90 t0 140)

    Ho : (Blood pressure reading is not within 90 t0 140)

    Step#2

    Level of significance is 5% or .05

    Tests of Normality

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    systolic bp rest .038 181 .200*

    .979 181 .007

    diastolic bp rest .037 181 .200*

    .996 181 .950

    Data is normal of systolic PB rest and can apply the parametric test

    because its significance result is .007.

    One-Sample Test

    Test Value = 50

    95% Confidence Interval of the

    Difference

    t df Sig. (2-tailed) Mean Difference Lower Upper

    systolic bp rest 87.657 180 .000 69.04420 67.4900 70.5984

    diastolic bp rest 30.060 180 .000 17.38881 16.2474 18.5303

    We apply the one sample t test. The result is .000. This value fall is rejection

    region. So we do reject NULL HYPOTHESIS and Blood pressure reading is not

    within 90 t0 140.

  • 7/29/2019 Assignment of Inferntial Statistics

    6/17

    Q= 7Step#1

    Ho : = 72 (normal resting heart rate is 72)

    Ho : 72 (normal resting heart rate is not 72)

    Step#2

    Level of significance is 10% or .10

    Tests of Normality

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    heart rate mental arithmetic .062 179 .094 .984 179 .036

    Data is normal of resting heart rate and can apply the parametric test because its

    significance result is 0.094 and our significance level is 0.10.

    One-Sample Test

    Test Value = 72

    t df Sig. (2-tailed)

    Mean

    Difference

    95% Confidence Interval of

    the Difference

    Lower Upper

    systolic bp mental

    arithmetic

    53.505 177 .000 55.97378 53.9093 58.0383

    We apply the one sample t test. The result is .000. This value fall is rejection

    region. So we reject NULL HYPOTHESIS and normal resting heart rate is not 72.Two Sample Test of Hypothesis

    Student.

  • 7/29/2019 Assignment of Inferntial Statistics

    7/17

    Case Processing Summary

    Gender

    Cases

    Valid Missing Total

    N Percent N Percent N Percent

    Hours worked per week at

    paid job

    F 96 100.0% 0 .0% 96 100.0%

    M 122 99.2% 1 .8% 123 100.0%

    Descriptives

    Gender Statistic Std. Error

    Hours worked per week at

    paid job

    F Mean 9.4375 .99078

    95% Confidence Interval for

    Mean

    Lower Bound 7.4706

    Upper Bound 11.4044

    5% Trimmed Mean 8.6690

    Median 8.0000

    Variance 94.238

    Std. Deviation 9.70763

    Minimum .00

    Maximum 45.00

    Range 45.00

    Interquartile Range 15.00

    Skewness .980 .246

    Kurtosis .713 .488

    M Mean 7.7295 1.03646

    95% Confidence Interval for

    Mean

    Lower Bound 5.6776

    Upper Bound 9.7815

    5% Trimmed Mean 6.2368

    Median .0000

    Variance 131.058

    Std. Deviation 11.44808

    Minimum .00

  • 7/29/2019 Assignment of Inferntial Statistics

    8/17

    Maximum 60.00

    Range 60.00

    Interquartile Range 12.88

    Skewness 1.866 .219

    Kurtosis 3.911 .435

    Tests of Normality

    Gender

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    Hours worked per week at

    paid job

    F .189 96 .000 .870 96 .000

    M .291 122 .000 .722 122 .000

    a. Lilliefors Significance Correction

    Data is normal because p-value is .000 and we accept alternative hypothesis.

    H0 : m f

    H1 : m = f

    is 5%Test statistic

    Group Statistics

    Gender N Mean Std. Deviation Std. Error Mean

    Hours worked per week at

    paid job

    F 96 9.4375 9.70763 .99078

    M 122 7.7295 11.44808 1.03646

    endent Samples Test

    Levene's Test for Equality of Variances t-test for Equality of M

  • 7/29/2019 Assignment of Inferntial Statistics

    9/17

    F Sig. t df Sig. (2-tailed)

    Mean

    Difference Std. Error Diffe

    worked per

    t paid job

    Equal

    variances

    assumed

    1.119 .291 1.16

    8

    216 .244 1.70799

    Equal

    variances not

    assumed

    1.19

    1

    214.763 .235 1.70799

    Decision:

    As p-value is .244 with 5% significant level so we do not reject null hypothesis.

    College:

    1.

    Test of normality:

    Case Processing Summary

    Public/Pri

    vate

    School

    Cases

    Valid Missing Total

    N Percent N Percent N Percent

    Avg Combined SAT Public 251 53.4% 219 46.6% 470 100.0%

    Private 528 63.5% 304 36.5% 832 100.0%

    Descriptives

    Public/Private School Statistic Std. Error

    Avg Combined SAT Public Mean 945.27 6.782

    95% Confidence Interval for

    Mean

    Lower Bound 931.91

    Upper Bound 958.63

    5% Trimmed Mean 943.72

    Median 946.00

    Variance 11545.942

    Std. Deviation 107.452

  • 7/29/2019 Assignment of Inferntial Statistics

    10/17

    Minimum 660

    Maximum 1240

    Range 580

    Interquartile Range 137

    Skewness .231 .154

    Kurtosis .085 .306

    Private Mean 978.77 5.625

    95% Confidence Interval for

    Mean

    Lower Bound 967.72

    Upper Bound 989.82

    5% Trimmed Mean 974.00

    Median 965.00

    Variance 16705.345

    Std. Deviation 129.249

    Minimum 600

    Maximum 1410

    Range 810

    Interquartile Range 158

    Skewness .546 .106

    Kurtosis .658 .212

    Tests of Normality

    Public/Pri

    vate

    School

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    Avg Combined SAT Public .043 251 .200*

    .991 251 .125

    Private .055 528 .001 .978 528 .000

    a. Lilliefors Significance Correction

    *. This is a lower bound of the true significance.

    For pvt schools data is normal.

    H0 : p pvt

  • 7/29/2019 Assignment of Inferntial Statistics

    11/17

    H1 : p = pvt

    is 5%

    Test statistic

    Group Statistics

    Public/Pri

    vate

    School N Mean Std. Deviation Std. Error Mean

    Avg Combined SAT Public 251 945.27 107.452 6.782

    Private 528 978.77 129.249 5.625

    Independent Samples Test

    Levene's Test for Equality of

    Variances t-test

    F Sig. t df Sig. (2-ta

    Avg Combined SAT Equal

    variance

    s

    assume

    d

    7.131 .008 -3.562 777

    Equal

    variance

    s not

    assume

    d

    -3.802 581.641

    We accept alternative hypothesis.

    2.

    Test of normality:

    Tests of Normality

    Public/Pri Kolmogorov-Smirnova

    Shapiro-Wilk

  • 7/29/2019 Assignment of Inferntial Statistics

    12/17

    vate

    School Statistic df Sig. Statistic df Sig.

    % of new students from top

    10% of HS class

    Public .164 340 .000 .794 340 .000

    Private .135 727 .000 .873 727 .000

    a. Lilliefors Significance Correction

    H0 : p pvt

    H1 : p = pvt

    is 5%

    Test statistic

    Group Statistics

    Public/Pri

    vate

    School N Mean Std. Deviation Std. Error Mean

    % of new students from top

    10% of HS class

    Public 340 21.75 17.937 .973

    Private 727 27.51 18.210 .675

    Independent Samples Test

    Levene's Test

    for Equality of

    Variances t-tes

    F Sig. t df Sig. (2-tailed)

    % of new students from top 10%

    of HS class

    Equal

    variances

    assumed

    1.513 .219 -4.834 1065 .000

  • 7/29/2019 Assignment of Inferntial Statistics

    13/17

    Independent Samples Test

    Levene's Test

    for Equality of

    Variances t-tes

    F Sig. t df Sig. (2-tailed)

    % of new students from top 10%

    of HS class

    Equal

    variances

    assumed

    1.513 .219 -4.834 1065 .000

    Equal

    variances

    not

    assumed

    -4.861 671.70

    7

    .000

    We accept alternative hypothesis.

    3.

    Test of normality:

    Tests of Normality

    Public/Pri

    vate

    School

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    Number of full-time

    undergraduates

    Public .131 467 .000 .866 467 .000

    Private .221 832 .000 .573 832 .000

    a. Lilliefors Significance Correction

    Data is normal because p-value is .000

    H0 : p pvt

    H1 : p = pvt

    is 5%

    Test statistic

    Group Statistics

  • 7/29/2019 Assignment of Inferntial Statistics

    14/17

    Public/Pri

    vate

    School N Mean Std. Deviation Std. Error Mean

    Number of full-time

    undergraduates

    Public 467 7203.69 5602.181 259.238

    Private 832 1721.93 1961.644 68.008

    Independent Samples Test

    Levene's Test for Equality of

    Variances

    F Sig. t df Si

    Number of full-time

    undergraduates

    Equal variances assumed 483.571 .000 25.575 1297

    Equal variances not

    assumed

    20.454 530.938

    We accept alternative hypothesis.

    4.

    Test of normality:

    Tests of Normality

    Public/Pri

    vate

    School

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    In-state tuition Public .090 447 .000 .791 447 .000

    Private .059 825 .000 .984 825 .000

    a. Lilliefors Significance Correction

    Data is normal because p-value is .000

    H0 : p pvt

    H1 : p = pvt

  • 7/29/2019 Assignment of Inferntial Statistics

    15/17

    is 5%Test statistic

    Group Statistics

    Public/Pri

    vate

    School N Mean Std. Deviation Std. Error Mean

    In-state tuition Public 447 2208.26 1041.720 49.272

    Private 825 10979.68 4057.325 141.258

    Independent Samples Test

    Levene's Test for Equality of

    Variances

    F Sig. t df

    Sig. (2-

    tailed)

    In-state tuition Equal variances assumed 428.333 .000 -44.905 1270 .000 -87

    Equal variances not

    assumed

    -58.631 1009.106 .000 -87

    We accept alternative hypothesis.

    5.

    Test of normality:

    Tests of Normality

    Public/Pri

    vateSchool

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    % of students graduating in 4

    yrs

    Public .037 434 .168 .993 434 .039

    Private .029 770 .165 .990 770 .000

    a. Lilliefors Significance Correction

  • 7/29/2019 Assignment of Inferntial Statistics

    16/17

    Data is non normal so we cannot apply parametric test.

    GSS94:

    Test of normality:

    Tests of Normality

    RESPOND

    ENTS SEX

    Kolmogorov-Smirnova

    Shapiro-Wilk

    Statistic df Sig. Statistic df Sig.

    HOURS PER DAY

    WATCHING TV

    MALE .190 810 .000 .834 810 .000

    FEMALE .180 1155 .000 .819 1155 .000

    a. Lilliefors Significance Correction

    Data is normal because p-value is .000

    H0 : m w

    H1 : m = w

    is 5%

    Test statistic

    Group Statistics

    RESPOND

    ENTS SEX N Mean Std. Deviation Std. Error Mean

    HOURS PER DAY

    WATCHING TV

    MALE 810 2.71 1.810 .064

    FEMALE 1155 2.90 2.179 .064

    Independent Samples Test

    Levene's Test for Equality of

    Variances

  • 7/29/2019 Assignment of Inferntial Statistics

    17/17

    F Sig. t df S

    HOURS PER DAY

    WATCHING TV

    Equal variances assumed 11.989 .001 -2.103 1963 .03

    Equal variances not

    assumed

    -2.172 1907.484 .03

    We accept alternative hypothesis because p-value is less than the significant level.