MATH 1300 Week 7 Assignment: Final Project

  • MATH 1300: Final Project

Final Project

Student Name

William Penn University

MATH1300

Professor Name

Submission Date

Final Project

Statistical analysis can help in the effective identification of the relationship among different factors. A data set for the traffic stops by the officers has been collected (UFL, 2016). Two main variables have been used to formulate and answer the research questions. These are the driver’s race and the officer’s race, which are both non-dichotomous variables (UFL, 2016). Five tests, including ANOVA, Independent Sample T-Test, Paired Sample T-test, Regression, and Chi-Square, have been used to analyze the interrelation among these variables. IBM SPSS has been used to generate the test results for each problem. The research questions appropriate for each test have been provided before the test and its interpretations in this project.

ANOVA

Is there any difference between the group means of races between traffic officers and drivers stopped by them?

H0: There is no significant difference in the group means of driver race and officer race (µ1=µ2).

H1: There is a significant difference in the group means of driver race and officer race (µ1≠µ2).

Test Table

 Sum of SquaresDfMean SquareFSig.
Between Groups274.865468.71631.154.000
Within Groups143167.995649092.206  
Total143442.86064913   

The p=.000 < .05 (95% Confidence Interval) indicates the rejection of the null hypothesis. Hence, the alternate hypothesis is true, stating significant differences in the group means of driver race and officer race (µ1≠µ2).

Chi-Square

Is there any significant relationship between the race of traffic officers and the race of drivers stopped by them?

H0: There is no significant relationship in the group means of driver race and officer race.

H1: There is a significant relationship in the group means of driver race and officer race.

Test Table

 ValueDfAsymp. Sig. (2-sided)
Pearson Chi-Square198.501a16.000
Likelihood Ratio202.30916.000
Linear-by-Linear Association.0711.790
N of Valid Cases64914  

The χ2 (16) =198.501, p=.000 < .05 indicates that the test is statistically significant. Therefore, the null hypothesis has been rejected according to the Pearson chi-square test. Hence, there is a significant relationship between the race of traffic officers and the race of drivers stopped by them.

Regression

Does the race of traffic officers affect their decision to stop drivers of different races?

H0: There is no significant impact of traffic officers’ race on their decision to stop drivers of different races.

H1: There is a significant impact of the traffic officer’s race on their decision to stop drivers of different races.

Test Table

ModelRR SquareAdjusted R-SquareStd. Error of the Estimate
1.001a.000.0001.487

The value of the regression coefficient found in the analysis (R=.001) indicates a minimum possible impact. The R-squared value of .000 indicates no effect size. Significance of the regression model is given as:

ModelSum of SquaresDfMean SquareFSig.
1Regression.1571.157.071.790b
Residual143442.703649122.210  
Total143442.86064913   

The p=.790 > .05 (95% Confidence Interval) indicates that the regression model is not significant, which highlights the acceptance of null hypothesis. Hence, there is no significant impact of traffic officer’s race on their decision to stop the divers of different races.

Paired Sample T-Test

Is there any difference between the group means of races between traffic officers and drivers stopped by them?

H0: The true difference in the group means of driver race and officer race is zero (µ1=µ2).

H1: The true difference in the group means of driver race and officer race is not zero (µ1≠µ2).

Test Table

 Paired Differences
MeanStd. DeviationStd. Error Mean95% Confidence Interval of the Difference
LowerUpper
Pair 1OffRace – DrvRace1.1701.779.0071.1561.184
 TdfSig. (2-tailed)
Pair 1OffRace – DrvRace167.59064913.000 
 

The results of the paired sample t-test can be reported as t (64913) = 167.590, p = .000. The p-value is less than .05 (confidence interval 95%), indicating the rejection of the null hypothesis. Hence, the true difference in the means of officer race and driver race is not zero.

Independent Sample T-Test

Are there any differences in the drivers based on their races stopped during duty by African American and White officers?

H0: The means of the two populations are the same (µ1=µ2).

H1: The means of the two populations are not the same (µ1≠µ2).

References

UFL. (2016). Datasets. ufl.edu. https://users.stat.ufl.edu/~winner/datasets.html

Appendix

ONEWAY DrvRace BY OffRace

/MISSING ANALYSIS.

Oneway

Notes
Output Created11-MAY-2024 01:36:36
Comments 
InputActive DatasetDataSet3
Filter<none>
Weight<none>
Split File<none>
N of Rows in Working Data File65535
Missing Value HandlingDefinition of MissingUser-defined missing values are treated as missing.
Cases UsedStatistics for each analysis are based on cases with no missing data for any variable in the analysis.
SyntaxONEWAY DrvRace BY OffRace/MISSING ANALYSIS.
ResourcesProcessor Time00:00:00.16
Elapsed Time00:00:00.16

[DataSet3]

ANOVA
DrvRace
 Sum of SquaresdfMean SquareFSig.
Between Groups274.865468.71631.154.000
Within Groups143167.995649092.206  
Total143442.86064913   

CROSSTABS

/TABLES=DrvRace BY OffRace

/FORMAT=AVALUE TABLES

/STATISTICS=CHISQ

/CELLS=COUNT

/COUNT ROUND CELL.

Crosstabs

Notes
Output Created11-MAY-2024 01:37:33
Comments 
InputActive DatasetDataSet3
Filter<none>
Weight<none>
Split File<none>
N of Rows in Working Data File65535
Missing Value HandlingDefinition of MissingUser-defined missing values are treated as missing.
Cases UsedStatistics for each table are based on all the cases with valid data in the specified range(s) for all variables in each table.
SyntaxCROSSTABS/TABLES=DrvRace BY OffRace/FORMAT=AVALUE TABLES/STATISTICS=CHISQ/CELLS=COUNT/COUNT ROUND CELL.
ResourcesProcessor Time00:00:00.05
Elapsed Time00:00:00.05
Dimensions Requested2
Cells Available174762

[DataSet3]

Case Processing Summary
 Cases
ValidMissingTotal
NPercentNPercentNPercent
DrvRace * OffRace6491499.1%6210.9%65535100.0%
DrvRace * OffRace Crosstabulation
Count
 OffRaceTotal
12345
DrvRace1073174428851174
21511628644313342563235188
3011523149
4101154105213121899
555166842719331967726604
Total21634851131323634753764914
Chi-Square Tests
 ValuedfAsymp. Sig. (2-sided)
Pearson Chi-Square198.501a16.000
Likelihood Ratio202.30916.000
Linear-by-Linear Association.0711.790
N of Valid Cases64914  
a. 4 cells (16.0%) have expected count less than 5. The minimum expected count is .16.

REGRESSION

/MISSING LISTWISE

/STATISTICS COEFF OUTS R ANOVA

/CRITERIA=PIN(.05) POUT(.10)

/NOORIGIN

/DEPENDENT DrvRace

/METHOD=ENTER OffRace.

Regression

Notes
Output Created11-MAY-2024 01:39:45
Comments 
InputActive DatasetDataSet3
Filter<none>
Weight<none>
Split File<none>
N of Rows in Working Data File65535
Missing Value HandlingDefinition of MissingUser-defined missing values are treated as missing.
Cases UsedStatistics are based on cases with no missing values for any variable used.
SyntaxREGRESSION/MISSING LISTWISE/STATISTICS COEFF OUTS R ANOVA/CRITERIA=PIN(.05) POUT(.10)/NOORIGIN/DEPENDENT DrvRace/METHOD=ENTER OffRace.
ResourcesProcessor Time00:00:00.06
Elapsed Time00:00:00.10
Memory Required1540 bytes
Additional Memory Required for Residual Plots0 bytes

[DataSet3]

Variables Entered/Removeda
ModelVariables EnteredVariables RemovedMethod
1OffRaceb.Enter
a. Dependent Variable: DrvRace
b. All requested variables entered.
Model Summary
ModelRR SquareAdjusted R SquareStd. Error of the Estimate
1.001a.000.0001.487
a. Predictors: (Constant), OffRace
ANOVAa
ModelSum of SquaresdfMean SquareFSig.
1Regression.1571.157.071.790b
Residual143442.703649122.210  
Total143442.86064913   
a. Dependent Variable: DrvRace
b. Predictors: (Constant), OffRace
Coefficientsa
ModelUnstandardized CoefficientsStandardized CoefficientstSig.
BStd. ErrorBeta
1(Constant)3.264.027 120.344.000
OffRace.002.006.001.267.790
a. Dependent Variable: DrvRace

DATASET CLOSE DataSet2.

T-TEST PAIRS=OffRace WITH DrvRace (PAIRED)

/CRITERIA=CI (.9500)

/MISSING=ANALYSIS.

T-Test

Notes
Output Created11-MAY-2024 01:44:03
Comments 
InputActive DatasetDataSet3
Filter<none>
Weight<none>
Split File<none>
N of Rows in Working Data File65535
Missing Value HandlingDefinition of MissingUser defined missing values are treated as missing.
Cases UsedStatistics for each analysis are based on the cases with no missing or out-of-range data for any variable in the analysis.
SyntaxT-TEST PAIRS=OffRace WITH DrvRace (PAIRED)/CRITERIA=CI(.9500)/MISSING=ANALYSIS.
ResourcesProcessor Time00:00:00.05
Elapsed Time00:00:00.05

[DataSet3]

Paired Samples Statistics
 MeanNStd. DeviationStd. Error Mean
Pair 1OffRace4.4464914.978.004
DrvRace3.27649141.487.006
Paired Samples Correlations
 NCorrelationSig.
Pair 1OffRace & DrvRace64914.001.790
Paired Samples Test
 Paired Differences
MeanStd. DeviationStd. Error Mean95% Confidence Interval of the Difference
LowerUpper
Pair 1OffRace – DrvRace1.1701.779.0071.1561.184
Paired Samples Test 
 tdfSig. (2-tailed)
Pair 1OffRace – DrvRace167.59064913.000 
 

T-TEST GROUPS=OffRace(3 5)

/MISSING=ANALYSIS

/VARIABLES=DrvRace

/CRITERIA=CI (.95).

T-Test

Notes
Output Created11-MAY-2024 01:52:09
Comments 
InputActive DatasetDataSet3
Filter<none>
Weight<none>
Split File<none>
N of Rows in Working Data File65535
Missing Value HandlingDefinition of MissingUser defined missing values are treated as missing.
Cases UsedStatistics for each analysis are based on the cases with no missing or out-of-range data for any variable in the analysis.
SyntaxT-TEST GROUPS=OffRace(3 5)/MISSING=ANALYSIS/VARIABLES=DrvRace/CRITERIA=CI(.95).
ResourcesProcessor Time00:00:00.11
Elapsed Time00:00:00.11
Group Statistics
 OffRaceNMeanStd. DeviationStd. Error Mean
DrvRace3113133.191.463.014
5475373.281.490.007
Independent Samples Test 
 Levene’s Test for Equality of Variancest-test for Equality of Means 
FSig.tdf
DrvRaceEqual variances assumed179.412.000-5.66758848 
Equal variances not assumed  -5.72917329.792 
Independent Samples Test
 t-test for Equality of Means
Sig. (2-tailed)Mean DifferenceStd. Error Difference95% Confidence Interval of the Difference
Lower
DrvRaceEqual variances assumed.000-.088.016-.118
Equal variances not assumed.000-.088.015-.118
Independent Samples Test
 t-test for Equality of Means
95% Confidence Interval of the Difference
Upper
DrvRaceEqual variances assumed-.058
Equal variances not assumed-.058


    Privacy Policy & SMS Terms and Conditions

    Verification is necessary to avoid bots.
    Please Fill The Following to Resume Reading
    Please Fill The Following to Resume Reading


      Privacy Policy & SMS Terms and Conditions

      Verification is necessary to avoid bots.
      Scroll to Top