Statistics Clip 4
Knowledge Clip 4: Relationship Between Two Variables
Introduction
Date: 9/7/2022
Professor: Prof. Dr. Tammo H.A. Bijmolt
Literature for this Topic: Refer to paragraphs 2.3, 2.4, and 3.5.
Examination of Relationships Between Two Variables
Key Questions:
Are males and females (gender) different in how much they spend on furniture?
Is income related to age?
Is firm profit related to firm size?
Is education level related to higher returns on stock investments?
Other similar bi-variate relationships can also be explored.
Transition from Descriptive Statistics: This section builds on descriptive statistics that focus on one variable at a time to now examine relationships between pairs of variables.
Methods to Examine Bi-variate Relationships
Methods:
Graphical: Visual representations, such as charts and plots.
Numerical: Statistical measures and calculations.
Selection Criteria: The choice of method depends on the measurement level of both variables involved in the analysis.
Relationship Between Two Categorical Variables
Graphical Representation:
Use clustered or stacked bar charts for visual comparison.
Statistical Representation:
Utilize Cross Tabulation tables to display the relationship.
Conduct a Chi-square test to statistically analyze the relationship.
Example in SPSS:
Navigate to: Analyze > Descriptive Statistics > Crosstabs.
Crosstabs in SPSS
Cell Display Options:
Counts
Percentages (Row, Column, Total)
Create APA style table
Statistics Options:
Observed and Expected values.
Chi-square results including:
Confirmed Counts (Observed & Expected)
Effect size measures where applicable.
Residuals: Unstandardized, Standardized, Adjusted standardized.
Additional statistical methods such as Lambda, Kappa, and risk statistics (e.g., McNemar).
Example Outcome: Gender and Furniture Purchases
Analysis Setup:
Categories include types of furniture: Wardrobe, Table and Chairs, Office Chair, Couch, Armchair, Bureau, etc.
Sample Crosstab Results:
Gender breakdown for furniture purchased:
Wardrobe:
Male: Count = 170, Expected = 164.2
Female: Count = 151, Expected = 156.8
Table and Chairs: Proportions should be analyzed per gender.
Chi-square Test Outcome:
If the two categorical variables (gender and furniture types) are independent, the observed frequencies would align with expected frequencies.
Chi-square Test Explanation
Chi-square Statistic: Compares observed and expected frequencies to determine dependency between the two categorical variables.
Example Calculation:
Chi-square value = 10.215
Degrees of freedom = 6
p-value = 0.116, indicating no significant relationship (p > 0.05).
Limitations: Expected counts in each cell should exceed 5 to maintain stability in results.
Recommendation: If any cell has an expected count below 5 (e.g., Armchair and Bed), categories might be combined for accurate testing.
Additional Data Analysis: Online vs Offline Channels
Research Question: Difference in furniture purchases across online and offline channels.
Chi-square Result:
Chi-square value = 17.662
Degrees of freedom = 6
p-value = 0.007, indicating a significant relationship (p < 0.05).
Note: Adjust the analysis for low expected counts by possibly combining categories as before.
Relationship Between One Categorical Variable and One Numerical Variable
Graphical Representation:
Bar charts to display averages (not frequencies) by categories of the numerical variable.
Statistical Analysis:
Assess means using a t-test (for two groups) or F-test (for multiple groups).
Example: Relationship between age (numerical) and expenditure (categorical).
Relationship Between Two Numerical Variables
Graphical Representation:
Use scatter plots to visualize correlations between variables.
Statistical Analysis:
Measure and test the relationship using correlation coefficients.
Example question: Is there a correlation between Age and Expenditures?
Interpretation of Correlation
Correlation Coefficient Range: Ranges from -1 to +1.
0 indicates no linear relationship.
Negative values indicate a negative relationship; positive values indicate a positive relationship.
Example in SPSS:
Navigate to: Analyze > Correlate > Bivariate.
Analyzing Correlation Results
Sample Analysis:
Correlation coefficient = +0.057, suggesting a slight positive relationship but not significant (p = 0.098), though marginally significant at the 0.10 level.
Visual Analysis: Supported by a scatter plot showing Age versus Expenditures.
Conclusion
Importance of method selection depending on variable types for analyzing data relationships.
The necessity of understanding statistical significance and limitations in interpreting results.