๐Ÿ’ก

Essential Question

How can we discover relationships between variables?

๐ŸŽฏ What You'll Learn

  • โœ… Input experimental data and visualize relationships
  • โœ… Understand different types of mathematical relationships
  • โœ… Calculate correlation metrics (Rยฒ values)
  • โœ… Find the best-fit model for your data
  • โœ… Interpret results scientifically

This app guides you through discovering hidden patterns in data. Whether studying physics, biology, or economics, you'll learn how to find mathematical relationships that explain real-world phenomena. Ready to explore? Let's get started! ๐Ÿš€

๐Ÿ“˜ Scientific Background

๐Ÿ“ˆ What are Variables? โ–ผ

Independent Variable (X): The variable you control or change. For example, temperature, time, or concentration.

Dependent Variable (Y): The variable you measure or observe. It depends on the independent variable. For example, reaction rate or plant height.

๐Ÿ”— Correlation vs Causation โ–ผ

Correlation: Two variables move together in a predictable pattern.
Causation: One variable directly causes changes in another.

๐Ÿ’ก Important: Just because variables correlate doesn't mean one causes the other! Always think critically about the science.

๐ŸŒŠ Types of Relationships โ–ผ

๐Ÿ“Š Linear: y = mx + b (straight line)
๐Ÿงฉ Quadratic: y = axยฒ + bx + c (parabola)
๐Ÿ“ˆ Exponential: y = ae^(bx) (rapid growth)
๐ŸŒฒ Logarithmic: y = aยทln(x) + b (slow growth)

๐Ÿ“Š Rยฒ (Coefficient of Determination) โ–ผ

Rยฒ tells you how well a model fits your data (0 to 1):
โ€ข Rยฒ = 1: Perfect fit
โ€ข Rยฒ = 0.8-0.99: Excellent fit โญ
โ€ข Rยฒ = 0.5-0.79: Good fit โœ…
โ€ข Rยฒ < 0.5: Poor fit โš ๏ธ

๐Ÿ“Š Data Input

๐Ÿ“ Set Up Column Headers

Rename your two variables here, then click Apply Headers to use those titles in the data table and graph.

๐Ÿ“ฆ Demo Data

Use a sample dataset if you want to explore the analyzer first. Demo datasets now include realistic noise so they behave more like measured data.

๐Ÿ“ CSV Import and Template

Use these file tools to bring in a two-column CSV dataset or download a starter template for data collection.

If the first row contains text labels, the app will use them automatically as the X and Y headers.

# X (Independent) Y (Dependent) Action

๐Ÿ’ก Tip: Start with sample data to see how the analyzer works, then try your own measurements in the table below.

๐Ÿ“ˆ Visualization

๐Ÿค– Analysis

Model comparison updates automatically once at least 4 valid data points are available.

๐Ÿ“ Mathematical Framework

Pearson Correlation Coefficient:

r = ฮฃ((x - xฬ„)(y - ศณ)) / โˆš[ฮฃ(x - xฬ„)ยฒ ร— ฮฃ(y - ศณ)ยฒ]

Coefficient of Determination:

Rยฒ = 1 - (SS_res / SS_tot)

Model Forms:

  • Linear: y = mx + b
  • Quadratic: y = axยฒ + bx + c
  • Exponential: y = aยทe^(bx)
  • Logarithmic: y = aยทln(x) + b

๐Ÿงพ Results & Interpretation

Switch between the four trendline options to review each equation, fit quality, and model-specific interpretation.

๐ŸŽ“ Reflection Questions

๐Ÿง

Think

Which model best represents your data and why? What does the shape tell you about the relationship?

๐Ÿ’ฌ

Discuss

How does the Rยฒ value help in choosing the best trendline? What would a low Rยฒ suggest?

โœ๏ธ

Answer

Can you predict what would happen if you extended this relationship beyond your data range?