Paired Data, Correlation, and Linear Regression Analysis using the TI-84

Fundamentals of Paired Data

  • Definition of Paired Data: Paired data consists of two quantitative numerical values collected from a single observation, subject, or entity.

    • Though two numbers or two variables (xx and yy) are observed, they represent a single complex data value or point on a graph.

    • Mathematically, paired data points are expressed as ordered pairs (x,y)(x, y), analogous to complex numbers where two components define a single location or entity.

    • The two numerical values in an ordered pair are intrinsically linked; they stick together and cannot be separated or analyzed independently without losing their observational context.

  • Examples of Variable Pairs:

    • Brain size vs. Intelligence: Investigations into whether smaller or larger brain sizes correspond to equal intelligence across individuals.

    • Blood type vs. Heart disease: Categorical/quantitative pairings looking at whether specific blood types affect drug metabolism (e.g., azole compounds) or cardiovascular outcomes.

    • Study hours vs. GPA: Collecting weekly study hours (e.g., 20 hours20\,\text{hours} per week) alongside grade point average (e.g., 3.7 GPA3.7\,\text{GPA}) via anonymous surveys.

  • Input and Output Dynamics:

    • In standard algebra, ordered pairs are often viewed strictly as input (xx) and output (yy).

    • In statistics, paired variables may be completely independent of one another, with no inherent cause-and-effect relationship or underlying functional connection.

Concepts of Statistical Correlation

  • Definition of Correlation: A correlation exists between two variables when the values of one variable are associated with the values of the second variable in a discernible pattern.

  • Linear Correlation:

    • Linear correlation occurs when the pattern formed by paired data can be approximated effectively by a straight line.

    • Linear models successfully approximate approximately 85%85\% to 90%90\% of real-world relationships, making linear correlation a foundational tool in statistical analysis.

  • Scatter Plots:

    • A scatter plot is a visual representation of paired data where each ordered pair (x,y)(x, y) is plotted as an individual point on a coordinate grid.

    • Scatter plots allow for immediate visual assessment of potential patterns, trends, and line-of-best-fit trajectories.

    • Scatter plot axes do not always need to begin at a baseline of zero; non-zero baselines are frequently used to focus tightly on the domain and range of the collected data.

  • Direction of Correlation:

    • Positive Correlation: Occurs when an increase in the independent variable xx corresponds to an increase in the dependent variable yy. The scatter plot points exhibit an overall upward slope from left to right.

      • Example: Hours of study per week vs. GPA. For an ordinary student without exceptional memory, increasing study time (e.g., trying 15 hours15\,\text{hours} instead of 10 hours10\,\text{hours}) generally yields an improvement in academic performance.

    • Negative Correlation: Occurs when an increase in one variable corresponds to a decrease in the second variable. The scatter plot points exhibit an overall downward slope from left to right.

      • Example: Daily cigarette consumption vs. general health score (measured on a scale of 11 to 1010), where higher consumption leads to lower health scores.

    • Zero Correlation: Occurs when data points are completely randomly scattered with no discernible linear trajectory or trend.

      • Example: Heights of U.S. Presidents vs. Heights of their main political opponents. A scatter plot of this data displays random scattering where drawing a single directional line is impossible.

  • Correlation vs. Causation Distinction:

    • A strong correlation between two variables does not imply that changes in one variable cause changes in the other.

    • Example: Spending 40 hours40\,\text{hours} in a single study marathon before an exam does not automatically guarantee success; correlation reflects an overall associative relationship rather than direct, unconditional causation.

  • Mathematical Language in Statistics:

    • Approximately 99.9%99.9\% of the underlying mathematical computations in basic statistics rely on elementary algebra (e.g., Math 103 / Math 82 algebraic principles such as variation and coefficients of variation).

    • The primary challenge in statistics lies in mastering the specialized terminology and conceptual vocabulary rather than complex arithmetic.

Visualizing and Quantifying Correlation

  • Seal Head Width vs. Body Weight Case Study:

    • Research Goal: Photogrammetrically estimate the physical weight of seals from aerial satellite or overhead photos to avoid manually capturing and weighing them.

    • Method: Overhead camera photographs measure seal head width, paired with physical body weight measurements taken from captured seals.

    • Sample Data: A dataset of 66 individual seals where each seal yields one paired observation (x,y)=(head width,body weight)(x, y) = (\text{head width}, \text{body weight}).

    • Comparison: A human baby with a head width of approximately 15 cm15\,\text{cm} weighs around 12 lbs12\,\text{lbs}, whereas an adult head width is roughly 55 times larger, corresponding to significantly higher overall body mass.

    • Scatter Plot Analysis: Plotting head width versus weight demonstrates a positive linear trend; as head width increases, physical body weight generally increases.

  • The Linear Correlation Coefficient (rr):

    • The linear correlation coefficient rr measures the strength and direction of a linear relationship between two quantitative variables.

    • Value Range: The value of rr must strictly fall between −1-1 and 11 inclusive:         −1≤r≤1-1 \le r \le 1

    • Interpretation of rr Values:

      • r=1r = 1: Perfect positive linear correlation; all data points fall exactly on a line with a positive slope.

      • r=−1r = -1: Perfect negative linear correlation; all data points fall exactly on a line with a negative slope.

      • r=0r = 0: Absolute absence of linear correlation.

      • Values of rr close to 00 (e.g., between −0.2-0.2 and 0.20.2) suggest weak or non-existent linear correlation.

      • Values of rr approaching 11 or −1-1 (e.g., r=0.75r = 0.75 or r=−0.78r = -0.78) indicate increasingly strong positive or negative linear relationships.

  • Hypothesis Testing Preview:

    • In formal statistical inference, sample correlation values rr are compared against specific critical values to determine whether a population linear correlation truly exists.

Linear Regression and TI-84 Calculator Workflow

  • Regression Line:

    • The regression line (or line of best fit) is the unique straight line that best summarizes the central trend of scatter plot data.

    • In any real-world scatter plot, data points will lie slightly above the line (overestimates) or below the line (underestimates).

    • The closer all data points cluster to the regression line, the higher the degree of linearity in the dataset.

  • TI-84 Setup & Data Entry Steps:

    • Step 1: Enabling DiagnosticOn (Mandatory Step):

      1. Press [SECOND] then [CATALOG] (key 0).

      2. Scroll down to the letter D section.

      3. Highlight DiagnosticOn and press [ENTER] twice until Done appears on the screen.

      4. Note: If DiagnosticOn is not activated, the calculator will only display regression line coefficients (aa and bb) and will omit rr and r^2$.\n * *Step 2: Entering List Data*:\n 1. Press `[STAT]` and select `1:Edit...`.\n 2. To clear old data: Scroll up to highlight the list header (`L1` or `L2`), press `[CLEAR]`, and press `[DOWN ARROW]`.\n 3. Enter independent x−valuesintolist‘L1‘anddependent-values into list `L1` and dependenty-values into list `L2`.\n 4. *Verification*: Ensure both `L1` and `L2` contain an identical number of data entries. Discrepancies in list length trigger a dimension mismatch error.\n * *Step 3: Calculating Linear Regression (LinReg)*:\n 1. Press `[STAT]`, navigate right to `CALC`.\n 2. Select `4:LinReg(ax+b)` (or `8:LinReg(a+bx)`).\n 3. Confirm `Xlist` is `L1` and `Ylist` is `L2`.\n 4. Select `Calculate` and press `[ENTER]`.\n 5. Read the generated parameters: slope a,y−intercept, y-interceptb,coefficientofdetermination, coefficient of determinationr^2,andlinearcorrelationcoefficient, and linear correlation coefficientr$.

    • Step 4: Generating the Scatter Plot:

      1. Press [SECOND] + [Y=] (STAT PLOTS), select 1:Plot1, and turn it On.

      2. Set Type to Scatter Plot (first icon), Xlist to L1, and Ylist to L2.

      3. Press [ZOOM] and select 9:ZoomStat to automatically frame the plotted data points.

  • Earthquake Magnitude vs. Depth Case Study:

    • Dataset (Textbook Page 83): Paired earthquake data measuring magnitude (xx) versus depth (yy).

    • Sample Data Points (xx-values): 2.452.45, 0.70.7, 6.06.0, 7.07.0, 5.45.4, 0.50.5, 0.70.7, 7.07.0, 8.18.1, 7.0$.\n * *Calculation Result*: Running `LinReg(ax+b)` yields a correlation coefficient of approximately r \approx 0.2$.

    • Interpretation: An rr value of ≈0.2\approx 0.2 indicates a very weak positive correlation between earthquake magnitude and focal depth.

Practical Strategies and Study Advice

  • Data Entry Collaboration:

    • Working in pairs during data entry reduces human entry errors and time by approximately 90%90\% (one person reads the values while the second enters them into the calculator).

  • Academic Support Resources:

    • Tutors at the Math and Physics Learning Center are fully equipped to assist with statistics concepts, vocabulary, and TI-84 programming workflows.