Business Statistics Course Final.pdf-summary

📚 Business Statistics Course Final.pdf-summary (1) (2).pdf

Brief overview

This guide summarizes key concepts in business statistics, focusing on data handling, analysis, and inference. Mastering these areas is crucial for informed business decision-making and interpreting quantitative information.

Key points

  • Overview of business statistics, data collection, and the DCOVA methodology.
  • Understanding data structures, visualization techniques, and descriptive statistics.
  • How to perform bivariate analysis and interpret correlation coefficients.
  • Introduction to statistical testing for significance using t-tests and chi-square tests.

1. Introduction to business statistics and data collection

1.1 Definition and role of statistics

  • Statistics: The science of collecting, organizing, analyzing, and interpreting data. It aids in making informed decisions.
  • In business, statistics helps identify market trends, improve operations, reduce risks, and evaluate performance.

    📝 Example: A company uses past sales data to forecast future sales. .

1.2 Origin of the term "Statistics"

  • The term "statistics" was introduced in English by John Sinclair in 1798.
  • It originates from the Latin word "status," meaning "state" or "condition," often related to government. 1.

1.3 Applications of statistics in business

  • Statistics is vital across various business functions.

    📝 Example: Businesses use data analysis for decision-making, performance evaluation, risk management, resource optimization, market understanding, quality improvement, and forecasting. .

1.4 Dual meaning of "Statistics"

  • "Statistics" can refer to:
    TermDefinitionApplication Areas
    Statistics (singular)A set of numbers presented in tables or graphs.Demographics, medicine, economics, physics.
    Statistics (plural/discipline)The study of numerous facts using mathematical treatment.Decision support, data analysis.
  • It's important to distinguish between the data itself ("statistics") and the field of study ("Statistics"). .

1.5 The DCOVA data analysis framework

  • The DCOVA method structures data analysis and conclusions:
    • Define variables of interest.
    • Collect data from appropriate sources.
    • Organize data into tables.
    • Visualize data using graphs.
    • Analyze tables and graphs to draw conclusions.

    🔑 Important: This methodological framework is essential for rigorous data analysis. 2.

1.6 Key terminology

TermDefinition
DataFacts and information collected to understand a phenomenon or solve a problem.
VariableA characteristic or attribute that can take on different values.
PopulationThe complete set of all elements being studied.
SampleA subset of a population.
ParameterA descriptive measure of a population.
StatisticA descriptive measure of a sample.
Descriptive statisticsMethods to organize, summarize, and present data.
Inferential statisticsMethods to make generalizations or predictions about a population from a sample.

📝 Example: Monthly sales are data. The type of product sold is a variable. . 🔑 Important: Business statistics combines theory and practice, using real data for better concept understanding. .

1.7 Population, sample, and data

  • Population: The entire group of individuals or elements you want to study.
  • Sample: A part of the population selected for analysis.
  • Sampling is used because it is less expensive and faster than a census, providing accurate results if the sample is representative. 3.

1.8 Descriptive vs. Inferential statistics

  • Descriptive statistics: Summarizes and describes a specific group's data. It includes data collection, presentation, and summarization.
  • Inferential statistics: Allows conclusions about a population based on sample data. It uses sample statistics to estimate unknown population parameters.

    📝 Example: Attendance rates and grades. Descriptive stats summarize trends. Inferential stats suggest attendance influences grades. . 📝 Example: Customer satisfaction and sales. Descriptive stats show trends. Inferential stats might conclude satisfaction impacts sales across all stores. 4.

1.9 Sources of data: Primary and secondary

  • Data quality determines analysis reliability.
    CriterionPrimary DataSecondary Data
    Collected byResearcher (directly)External sources
    ObjectiveSpecific to the studyCollected for other research
    CostHigh (time and money)Low (available)
    TimeLongShort
    AccuracyHigh (if well-collected)May need validation
  • Primary data: Collected directly by the researcher. Examples: surveys, interviews.
  • Secondary data: Already collected by others. Examples: government reports, online databases. .

1.10 Types of data

  • Data is classified as quantitative or qualitative.

1.10.1 Quantitative data subtypes

  • Discrete data: Finite or countable values, often integers, usually from counting.
    • Examples: Number of customers, number of children. .
  • Continuous data: Any value within a given interval, usually from measurement.
    • Examples: Age, weight, revenue. .

1.10.2 Qualitative data subtypes

  • Nominal data: Categories without an intrinsic order or hierarchy; used as labels.
    • Examples: Eye color, car type. .
  • Ordinal data: Categories with a meaningful order or hierarchy.
    • Examples: Satisfaction level (low, medium, high), pain rating. 5.

1.11 Sampling methods: Introduction

  • Sampling methods select a subset of a population for data collection.
  • A representative sample allows generalization of results from the sample to the population.

    📝 Example: Studying the height of university students (population) by surveying 100 randomly chosen students (sample). .

  • Selection bias occurs when a sample is not representative, leading to inaccurate results. .

1.12 Types of sampling methods

  • Sampling methods are divided into non-statistical and statistical.

    Type of methodDescription
    Non-statisticalBased on researcher's judgment or convenience; selection probabilities are not calculable.
    StatisticalElements are chosen based on known or calculable probabilities.

6.

1.12.1 Non-statistical methods

  • These methods rely on subjective choices.
  • Convenience sampling: Data collected in the most practical way; participants are easy to access.
  • Judgment sampling: Researcher selects individuals believed most likely to provide necessary information.

    🔑 Important: These methods are simple but carry a high risk of selection bias. .

1.12.2 Statistical (probabilistic) methods

  • These methods ensure each population element has a known chance of selection, reducing bias.

    🔑 Important: Randomness reduces bias but does not always guarantee perfect representation of all subgroups. .

  • Key statistical sampling methods:

    MethodDescription
    Simple randomEvery possible sample of a given size has an equal chance of selection; often uses random number generators.
    SystematicA random starting point is chosen, then individuals are selected at a fixed interval ( k=N/nk = N/n ).
    StratifiedPopulation divided into subgroups (strata). A simple random sample is drawn from each stratum.
    ClusterPopulation divided into representative "clusters." A random sample of clusters is selected; all elements in chosen clusters are included, or a subsample is drawn from them.

    🔑 Important: Random methods allow for statistical inferences about the population. .

1.13 Organizing raw data

  • After collection, raw data is often unorganized. Organization structures data for analysis.

    📝 Example: A raw list of blood types (A, B, O, AB) is hard to interpret. 7.

  • Raw data are the collected values in their original form, often an unorganized list.

    🔑 Important: It is difficult to interpret trends or patterns in unorganized raw data. .

  • A frequency distribution organizes data by showing how often each value or category occurs. It summarizes large data sets clearly.

    🔑 Important: Frequency distributions make data easier to understand and analyze. . 🔑 Important: Selecting an appropriate sampling method is crucial for reliable data. Organizing raw data, especially via frequency distributions, is the first step to extracting useful information. .

1.14 Frequency distributions for qualitative data

  • A frequency distribution organizes data into classes. For qualitative data, each category forms a class.

1.14.1 Construction steps

  1. Identify categories (classes): List all possible categories.

  2. Tally: Go through raw data and mark occurrences for each category.

  3. Calculate frequency (ff): Count the total occurrences for each class.

  4. Calculate percentage: For each class, (f/n)×100(f / n) \times 100, where nn is the total number of values.

  5. Calculate totals: Sum frequencies and percentages. Total frequency should be nn, total percentage should be 100%.

    Blood TypeFrequency (ff)Percentage (%)
    A520%
    B728%
    O936%
    AB416%
    Total25100%

. > 📝 Example: An online information trust survey uses categories A, M, H, S. A frequency distribution shows the breakdown of trust levels. .

| Confidence Level | Description | Frequency ($f$) | Percentage (%) |
| :--------------- | :----------------------------- | :-------------- | :------------- |
| A | Total confidence | 4 | 10% |
| M | Confidence in most | 28 | 70% |
| H | Confidence in about half | 6 | 15% |
| S | Confidence in a small part | 2 | 5% |

8.

1.15 Grouped frequency distributions for quantitative data

  • For quantitative data with many values, grouped classes (intervals) simplify analysis.

1.15.1 Determining classes

  1. Identify Min/Max: Find the smallest (LL) and largest (HH) values.

  2. Calculate Range (RR): R=H−LR = H - L.

  3. Choose number of classes: Typically 5 to 20 classes.

  4. Calculate class width: RR / (Number of classes). Always round up to the next whole number.

  5. Choose a starting point: The minimum value or a slightly lower convenient number.

  6. Determine class limits: Start with the chosen point and add the class width to define successive class intervals.

    🔑 Important: Rounding the class width up is crucial to include all data, even if it creates a slight surplus at the end. .

    ParameterExample 1 (Temperatures)Example 2 (Ages)
    Maximum Value (HH)134°F90
    Minimum Value (LL)100°F37
    Range (RR)3453
    Number of classes77
    Class width58

.

1.15.2 Constructing the grouped distribution

  • Class limits: The upper and lower bounds of each interval.
  • Real limits (Class boundaries): Used to avoid overlaps. For integer data, they are typically halfway between classes (e.g., 99.5-104.5).
  • Tally (ff): Mark each raw data point into its appropriate class.
  • Frequency (ff): The count of data points in each class.
  • Percentage (%): (f/n)×100(f / n) \times 100.
  • Cumulative frequency: Sum of frequencies up to and including the current class.
  • Cumulative percentage: Cumulative percentage of total frequency.

.

🔑 Important: Understanding sampling methods and organizing data into frequency distributions are foundational steps for any statistical analysis. 10.

2. Data structures and visualization

2.1 Data structures

Data structures organize information for analysis. Common types in finance include time series, cross-sectional, and panel data.

Each structure offers a unique perspective on financial phenomena.

  • Time series data: Tracks a single entity over time. The primary focus is on evolution and trends.
  • Cross-sectional data: Observes multiple entities at a single point in time. It emphasizes comparisons between entities.
  • Panel data: Combines time series and cross-sectional data. It allows analysis of both entity differences and their changes over time.

Data structures enable different views: time series for evolution, cross-sectional for comparison, and panel for detailed variation.

Data structurePrincipal organizationPrincipal focus
Time series dataOne entity over timeEvolution over time
Cross-sectional dataMultiple entities at one timeComparison between entities
Panel dataMultiple entities over timeIndividual and temporal variations

2.1.1 Data extraction and organization

Financial data can be accessed from sources like the World Bank. It then needs to be organized into the appropriate structure for analysis.

Financial indicatorObserved entity(ies)Observation period(s)Data structure type
Market cap, number of listed firms, GDPMorocco2010 - 2022Time series
Market cap, number of listed firms, GDPNorth African countriesYear 2022Cross-sectional
Market cap, number of listed firms, GDPNorth African countries2010 - 2023Panel

2.2 Data visualization

Data visualization transforms raw numbers into understandable graphs. This helps in identifying patterns, anomalies, and communicating complex results.

2.2.1 Importance of visualization

Effective visualization aids in quick trend identification and clearer communication. It makes complex data accessible and actionable.

LevelPrimary objectiveExpected impact
InformProvide dataEngage reflection
InfluencePersuade mindsMotivate action

2.2.2 Visualizing categorical data

Categorical data represents groups. Charts for this data compare frequencies or proportions across categories.

  • Bar chart: Uses rectangles to represent categories. Bar height shows frequency. Ideal for comparing qualitative data.

    Bar charts excel at comparing quantities across different categories.

  • Pie chart: A circle divided into sectors. Sector size shows proportion of the whole. Good for showing composition.

    Pie charts effectively illustrate how a total is divided into parts.

2.2.3 Visualizing numerical data

Numerical data involves quantitative values. Charts here show distribution, frequency, or trends over a range.

  • Histogram: Uses adjacent bars to show data frequency within intervals. Taller bars mean higher frequency. Visualizes continuous data distribution.
  • Frequency polygon: Connects points representing frequencies at the midpoints of classes. Provides a smoother view of data distribution.
  • Ogive: Displays cumulative frequencies. Shows the total observations up to a certain value. Useful for cumulative distribution analysis.
  • Pareto chart: Combines a bar chart and a cumulative curve. Bars show individual frequencies, the line shows cumulative total. Sorted by decreasing order to highlight key factors.

Pareto charts help identify the most significant causes by ranking them.

2.2.4 Visualizing two numerical variables

These graphs explore relationships between two sets of numerical data.

  • Time series plot: Plots data points over time. Time is on the x-axis, values on the y-axis. Excellent for trends and cycles.

    Time series plots are key for understanding data evolution.

  • Scatter plot: Uses points to show the relationship between two variables. Each point is a value pair. Helps detect correlations and clusters.

    Scatter plots visually reveal relationships between two variables.

🔑 Important: Choose the right chart based on your data type and the question you want to answer. Visualization significantly improves financial analysis by quickly revealing complex trends.

2.3 Measures of central tendency

These measures describe the typical or central point of a dataset, indicating where data tends to cluster.

2.3.1 Mean, median, and mode

MeasureDefinition/CalculationKey characteristics
MeanSum of values divided by the number of values (xˉ=∑i=1nxin\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n})Easy to calculate, uses all data, sensitive to outliers.
MedianMiddle value in an ordered datasetNot affected by outliers, uses only middle values.
ModeMost frequent valueNot affected by outliers, usable for numerical/categorical data, can be multiple.

🔑 Important: Use the mean for symmetric, outlier-free data. The median is robust to outliers. The mode identifies the most common value, especially for categories.

2.3.2 Choosing a measure

The choice depends on the data's distribution and the study's goal.

Data typeMeanMedianMode
QuantitativeGeneral use, outlier-proneGood for skewed data/outliersCan be used, not always significant
QualitativeOnly for binary dataNot applicable (no order)Identifies most frequent category

🔑 Important: Central tendency measures alone are insufficient; dispersion measures provide a complete picture.

2.4 Measures of dispersion

Dispersion measures how values spread out or vary within a dataset.

2.4.1 Range

  • Range: The difference between the largest and smallest values (Range=Xlargest−Xsmallest\text{Range} = X_{largest} - X_{smallest}).
  • Limitation: Highly sensitive to outliers and ignores data distribution between extremes.

2.4.2 Variance and standard deviation

These measures quantify how close data points are to the mean.

  • Sample variance (s2s^2): The average of squared differences from the sample mean. s2=∑i=1n(xi−xˉ)2n−1s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1}
  • Sample standard deviation (ss): The square root of the variance. It has the same units as the original data. s=∑i=1n(xi−xˉ)2n−1s = \sqrt{\frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n-1}}

    A smaller standard deviation means data is more clustered and stable.

2.4.3 Coefficient of variation (CV)

Measures relative dispersion. It's the ratio of standard deviation to the mean, often as a percentage.

  • Formula: CV=(σ/xˉ)×100%CV = (\sigma / \bar{x}) \times 100\%
  • Use: Compares variability across datasets with different scales.

2.4.4 Population measures

For entire populations, parameters use Greek letters: mean (μ\mu), variance (σ2\sigma^2), and standard deviation (σ\sigma).

  • Population mean (μ\mu): μ=∑i=1NxiN\mu = \frac{\sum_{i=1}^{N} x_i}{N}

    🔑 Important: Distinguish sample statistics (Latin letters like xˉ,s\bar{x}, s) from population parameters (Greek letters like μ,σ\mu, \sigma).

🔑 Important: Dispersion measures like range, variance, and standard deviation are vital for assessing data reliability and consistency.

2.5 Quartiles and boxplots

Quartiles divide ordered data into four equal segments (25% of observations each).

2.5.1 Calculating quartiles

  • Q1Q_1 (First Quartile): 25% of data below this value. Position: PQ1=n+14P_{Q1} = \frac{n+1}{4}.
  • Q2Q_2 (Second Quartile): The median (50% below). Position: PQ2=n+12P_{Q2} = \frac{n+1}{2}.
  • Q3Q_3 (Third Quartile): 75% of data below this value. Position: PQ3=3(n+1)4P_{Q3} = \frac{3(n+1)}{4}.

2.5.2 Interquartile Range (IQR)

  • IQR: Measures the spread of the middle 50% of data (IQR=Q3−Q1IQR = Q_3 - Q_1).
  • Advantage: Not influenced by outliers, making it a "resistant" measure.

2.5.3 Five-number summary

Provides a snapshot of data distribution: Minimum, Q1Q_1, Median (Q2Q_2), Q3Q_3, Maximum.

2.5.4 Boxplot (Diagramme en boîte)

A graphical representation of the five-number summary. It shows minimum, Q1Q_1, median, Q3Q_3, and maximum.

  • Interpretation: Box length shows IQR. Whisker length and median position indicate skewness.
    • Symmetric: Median in the center of the box, whiskers similar length.
    • Left-skewed: Median closer to Q3Q_3, longer left whisker.
    • Right-skewed: Median closer to Q1Q_1, longer right whisker.

🔑 Important: The boxplot's median position relative to the box indicates skewness: mean = median (symmetric), mean > median (right-skewed), mean < median (left-skewed).

🔑 Important: The five-number summary and boxplot offer a quick visual and quantitative description of data spread and shape, complementing central tendency measures.

3. Bivariate analysis and statistical testing

3.1 Visualizing and quantifying relationships between two variables

Bivariate analysis explores the relationship between two variables. This helps in understanding connections and potential causes.

A scatter plot is used to visualize the relationship between two quantitative variables. Each observation is a point on the plot, with one variable on the x-axis and the other on the y-axis.

This visual tool helps identify trends like positive or negative associations.

📝 Example: Plotting hours studied versus exam scores can show if more study time leads to higher scores.

Following visualization, quantitative measures refine the understanding of variable relationships. Key measures include covariance and correlation coefficients.

MeasureDescriptionAdvantages / Limitations
CovarianceMeasures how two variables vary together.Value depends on units, making comparison difficult. Only indicates direction.
Correlation coeff.Strength and direction of a linear relationship between two variables.Standardized (-1 to +1), easy to interpret. Unitless.

3.2 Covariance

Covariance measures the linear relationship between two quantitative variables, X and Y. The sample covariance formula is: cov(X,Y)=∑i=1n(Xi−Xˉ)(Yi−Yˉ)n−1\text{cov}(X,Y) = \frac{\sum_{i=1}^{n} (X_i - \bar{X})(Y_i - \bar{Y})}{n-1} Covariance indicates direction:

  • cov(X,Y) > 0: X and Y tend to vary in the same direction.
  • cov(X,Y) < 0: X and Y tend to vary in opposite directions.
  • cov(X,Y) = 0: X and Y are independent.

🔑 Important: Covariance shows direction but not the strength of the relationship, and its value is unit-dependent.

3.3 Correlation coefficient

The correlation coefficient (rr for sample, ρ\rho for population) quantifies the strength and direction of a linear relationship. It is unitless and ranges from -1 to +1.

The sample correlation coefficient is calculated as: r=cov(X,Y)sxsyr = \frac{\text{cov}(X,Y)}{s_x s_y} where sxs_x and sys_y are the standard deviations of X and Y, respectively.

🔑 Important: A value near +1 indicates a strong positive linear relation. A value near -1 indicates a strong negative linear relation. A value near 0 indicates a weak linear relation.

The interpretation of correlation values:

  • r = -1: Perfect negative linear relation.
  • r = -0.6: Moderate negative linear relation.
  • r = 0: No linear relation.
  • r = +0.3: Weak positive linear relation.
  • r = +1: Perfect positive linear relation.

📝 Example: A correlation of r=0.982r = 0.982 between car numbers and revenue suggests a very strong positive linear relationship.

The extended formula for calculating rr manually is: r=n∑(xy)−(∑x)(∑y)[n∑x2−(∑x)2][n∑y2−(∑y)2]r = \frac{n \sum(xy) - (\sum x)(\sum y)}{\sqrt{[n \sum x^2 - (\sum x)^2][n \sum y^2 - (\sum y)^2]}}

🔑 Important: Manual calculation involves summing variables, their squares, and products. Using software like Excel simplifies this process with functions like CORREL or the Data Analysis Tool.

🔑 Important: Bivariate analysis using the correlation coefficient is crucial for evaluating quantitative variable links and guiding strategic decisions.

3.4 Statistical testing for correlation

A correlation found in a sample might occur by chance. Statistical tests determine if the correlation is statistically significant in the population.

The objective is to ascertain if the observed correlation is non-random.

3.5 Hypothesis testing for correlation

  • Null Hypothesis (H0H_0): There is no real correlation in the population (r=0r=0).
  • Alternative Hypothesis (H1H_1): There is a real correlation in the population (r≠0r \neq 0).

The test follows five steps:

  1. State hypotheses.
  2. Find the critical value using tables (t-distribution) based on α\alpha and degrees of freedom (n−2n-2).
  3. Calculate the test statistic from sample data.
  4. Compare the test value to the critical value.
  5. Conclude whether to reject H0H_0.

The test statistic (tt) for correlation is calculated as: t=rn−21−r2t = r \sqrt{\frac{n-2}{1-r^2}} The degrees of freedom are df=n−2df = n-2.

🔑 Important: If the calculated tt-value exceeds the critical value, reject H0H_0. This means the observed correlation is statistically significant.

📝 Example: With r=0.982r=0.982 and n=6n=6, df=4df=4. For α=0.05\alpha=0.05, the critical tt-value is 2.776. The calculated tt-value is approximately 10.4. Since 10.4>2.77610.4 > 2.776, we reject H0H_0, concluding a significant correlation.

3.6 Chi-square test for qualitative variables

The Chi-square (χ2\chi^2) test analyzes relationships between two qualitative variables. It determines if they are independent or associated.

The objective is to see if observed frequencies differ significantly from expected frequencies under the assumption of independence. Data is organized in a contingency table, with rows and columns representing categories of each variable.

📝 Example: A 2x2 contingency table could examine the relationship between handedness (left/right) and gender (male/female) for 300 children.

3.7 Calculating expected frequencies

Expected frequencies (EijE_{ij}) are calculated assuming independence: Eij=(Total of row i)×(Total of column j)Total Sample SizeE_{ij} = \frac{(\text{Total of row i}) \times (\text{Total of column j})}{\text{Total Sample Size}}

🔑 Important: Expected frequencies represent what we'd see if the variables were perfectly independent.

3.8 The Chi-square statistic

The χ2\chi^2 statistic measures the divergence between observed (OijO_{ij}) and expected (EijE_{ij}) frequencies: χ2=∑i,j(Oij−Eij)2Eij\chi^2 = \sum_{i,j} \frac{(O_{ij} - E_{ij})^2}{E_{ij}}

🔑 Important: A larger χ2\chi^2 value indicates a greater difference between observed and expected frequencies, suggesting variable association.

3.9 Interpreting the Chi-square test

  • Hypotheses:
    • H0H_0: The two variables are independent.
    • H1H_1: The two variables are associated (dependent).
  • Critical Value: Found from a χ2\chi^2 table using α\alpha and degrees of freedom (df=(r−1)(c−1)df = (r-1)(c-1), where rr is rows, cc is columns).
  • Decision Rule: If the calculated χ2\chi^2 is greater than the critical value, reject H0H_0. This indicates a significant relationship.

🔑 Important: The Chi-square test is vital for understanding associations in categorical data.

🔑 Important: The Chi-square test of independence assesses relationships between two qualitative variables using contingency tables. Each cell must have an expected frequency of at least 1.

The calculation of expected frequencies (fef_e) for a cell is: fe=Total of the row×Total of the columnTotal Sample Size (n)f_e = \frac{\text{Total of the row} \times \text{Total of the column}}{\text{Total Sample Size (n)}}

The Chi-square statistic (XSTAT2X^2_{STAT}) is: XSTAT2=∑all cells(fo−fe)2feX^2_{STAT} = \sum_{\text{all cells}} \frac{(f_o - f_e)^2}{f_e} Degrees of freedom (dfdf) are (r−1)(c−1)(r-1)(c-1).

📝 Example: For gender (Male/Female) and handedness (Left/Right), df=1df=1. With α=0.05\alpha=0.05, the critical value is 3.841. If the calculated χ2\chi^2 is less than 3.841, we do not reject H0H_0, indicating no strong evidence of a relationship at α=0.05\alpha=0.05.

3.10 Case: Two proportions

For 2x2 tables, the Chi-square test is equivalent to comparing two proportions.

📝 Example: University acceptance rates for men and women. If men have a 55% acceptance rate and women 44%, the Chi-square test determines if this difference is statistically significant.

🔑 Important: The Z-test for proportions and the Chi-square test for 2x2 tables yield identical conclusions.

🔑 Important: Bivariate analysis using the Chi-square test is essential for identifying and quantifying relationships between qualitative variables, guiding data-driven decisions.

3.11 Introduction to bivariate analysis

  • Bivariate analysis: Examines relationships between two variables.
  • Univariate analysis: Describes a single variable.
  • Multivariate analysis: Studies relationships among three or more variables.
Analysis TypeFocusTechniques
UnivariateDescribing one variableMean, median, standard deviation, histograms
BivariateRelationship between two variablesScatter plots, covariance, correlation, t-test
MultivariateRelationship among 3+ variablesMultiple regression, 3D visualizations

3.12 Visualizing relationships

  • Scatter plot: Graphs pairs of numerical values (x, y).

    • Helps visualize relationships between independent (x) and dependent (y) variables.
    • Each point shows values for one observation.
  • Scatter plot interpretation:

    • Positive correlation: Points generally trend upwards from left to right.
    • Negative correlation: Points generally trend downwards from left to right.
    • No correlation: Points appear randomly scattered.

3.13 Measuring linear relationships

  • Covariance: Measures the strength and direction of a linear relationship.

    • Positive covariance: Variables move in the same direction.
    • Negative covariance: Variables move in opposite directions.
  • Correlation coefficient: Quantifies linear relationship strength and direction.

    • Ranges from -1 (strong negative) to +1 (strong positive).
    • 0 indicates no linear relationship.
Relationship TypeCorrelation Coefficient RangeDescription
Strong positive0.70.7 to 1.01.0Variables increase/decrease together strongly.
Moderate positive0.30.3 to 0.70.7Variables increase/decrease together moderately.
Weak positive0.00.0 to 0.30.3Slight tendency to increase/decrease together.
No correlation0.00.0No clear linear relationship.
Weak negative−0.3-0.3 to 0.00.0Slight tendency to move in opposite directions.
Moderate negative−0.7-0.7 to −0.3-0.3Variables move in opposite directions moderately.
Strong negative−1.0-1.0 to −0.7-0.7Variables move in opposite directions strongly.

The correlation coefficient is a standardized measure, making it easier to compare relationships across different datasets.

3.14 Statistical testing for correlation

  • Statistical tests assess if an observed correlation is likely due to chance or a real population relationship.
  • These tests help determine the significance of the correlation.

3.15 Testing correlation significance

  • Null hypothesis (H0H_0): The population correlation coefficient is zero. No linear relationship exists.

  • Alternative hypothesis (H1H_1): The population correlation coefficient is not zero. A linear relationship exists.

  • Significance level (α\alpha): The probability of rejecting H0H_0 when it is true (Type I error). Commonly set at 0.05.

  • Degrees of freedom (df): For correlation tests, usually n−2n-2, where nn is the number of observations.

  • Decision rule for correlation tests:

    • If the calculated test statistic (e.g., t-statistic) is more extreme than the critical value, reject H0H_0.
    • Alternatively, if the p-value is less than α\alpha, reject H0H_0.

A significant correlation implies that the observed linear relationship in the sample is unlikely to have occurred by random chance alone.

3.16 Chi-square test for qualitative variables

  • The chi-square (χ2\chi^2) test analyzes relationships between two qualitative (categorical) variables.
    • It determines if an observed association is statistically significant.

3.17 Contingency tables and expected frequencies

  • Contingency table: Organizes observed frequencies of two categorical variables.

    • Rows represent categories of one variable, columns represent categories of the other.
  • Observed frequency (fof_o): The actual count in a cell of the contingency table.

  • Expected frequency (fef_e): The count expected in a cell if the variables were independent.

    • Calculated as: fe=(Row Total)×(Column Total)Grand Totalf_e = \frac{(\text{Row Total}) \times (\text{Column Total})}{\text{Grand Total}}

3.18 Performing the chi-square test

  • Null hypothesis (H0H_0): The two categorical variables are independent.

  • Alternative hypothesis (H1H_1): The two categorical variables are dependent.

  • The chi-square statistic (χSTAT2\chi^2_{STAT}) measures the difference between observed and expected frequencies.

    • Formula: χSTAT2=∑(fo−fe)2fe\chi^2_{STAT} = \sum \frac{(f_o - f_e)^2}{f_e}
  • Degrees of freedom (df) for χ2\chi^2 test: (r−1)(c−1)(r-1)(c-1), where rr is the number of rows and cc is the number of columns.

  • Decision rule for χ2\chi^2 tests:

    • Compare χSTAT2\chi^2_{STAT} to a critical χ2\chi^2 value from a table based on α\alpha and df.
    • If χSTAT2\chi^2_{STAT} > χα2\chi^2_{\alpha}, reject H0H_0.

The chi-square test is crucial for understanding associations in categorical data, common in fields like social sciences and market research.

🔑 Important: Bivariate analysis helps uncover relationships, while statistical testing validates whether these relationships are significant or likely due to chance.

📝 Example: A researcher uses a chi-square test to see if there is a significant relationship between gender (male/female) and preference for a new product (yes/no). The contingency table would show counts for each combination, and the test would determine if the observed preferences differ significantly from what would be expected if gender and preference were unrelated.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also