Hi! Everyone, while reading an article I came across the following lines where the author used some hypothesis testing to identify whether a significant different exist between the categorical variables. The lines are as follows:
"We found a significant gender difference in the crossing behaviours of the pedestrians arriving to the crosswalk during a red-light phase, such that male pedestrians crossed on a red light more frequently than female pedestrians, (χ2(1, N= 563) = 17.17, p< 0.001). Age failed to yield significant differences in crossing behaviours, (χ2(2, N = 1392) = 1.02, p = NS), and was subsequently removed from further analyses."
Initially, based on the reported statistics I thought that the author has performed a chi-squared test of independence, but I am still in doubt that whether with independence test, we could locate the differences (as independence test used to identify association).
Can anyone spot what statistics the author has used?
Note: Gender (includes male/female), Crossing behaviour (crossed in red-light or waited for green) and age (0-20, 20-40, 40-60 and 60+), all are categorical variables.
Thanks in advance.
Related Posts with Identifying significant difference between two categorical variables (need help regarding the statistical test)
testing mixed model assumptionsHi everyone, I'm using mixed models the first time and I've got problems checking the model assumpt…
Converting string to date without any missing valuesHello, I have been trying to convert a string variable first_date into a date format with multiple …
Generate variable: optimisation based on constraint defined by other variablesDear Stata users, I'm running Stata 15.1, and would like to generate a variable the values of which…
putdocx table - formatting numerical dataI am using putdocx table. Can I get columns formatted differently, some columns with numbers with 1 …
Is collinearity a problem here?Dear Statalist users, I am trying to fit a linear regression model (Stata 15.0) with 5 different exp…
Subscribe to:
Post Comments (Atom)
0 Response to Identifying significant difference between two categorical variables (need help regarding the statistical test)
Post a Comment