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)
marginscontplot problem.Dear All, I have a dataset with two variables (simplified). The basic statistics Code: . sum indep…
How to create a formlacode year var2 top5 1100 201712 5 1 1100 201712 5 2 1100 201712 5 3 1100 201712 4.9 4 1100 201712 4.…
Clean syntax in STATAhi, please help me! I found command that is not recognized in STATA14 but is used in Chaney2012 pape…
Can you combine data vertically?I am looking at data on methods of recycling for towns in the UK for five years, however my data on …
Estimating Productivity adnI am trying to find impact of (Dividends) on (Firm Sales) controlling for the firm characteristics i…
Subscribe to:
Post Comments (Atom)
0 Response to Identifying significant difference between two categorical variables (need help regarding the statistical test)
Post a Comment