Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos...

59
Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise noted

Transcript of Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos...

Page 1: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Chapter 8BOT3015L

Data analysis and interpretation

Presentation created by Jean Burns

All photos from Raven et al. Biology of Plants except when otherwise noted

Page 2: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Today

•Types of data

•Discrete, Continuous

•Independent, dependent

•Types of statistics

•Descriptive, Inferential

•Creating graphs in excel

•Doing a t-test

•Lab: create graphs and do statistics for the gas exchange experiment

Page 3: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Today

•Types of data

•Discrete, Continuous

•Independent, dependent

•Types of statistics

•Descriptive, Inferential

•Creating graphs in excel

•Doing a t-test

•Lab: create graphs and do statistics for the gas exchange experiment

Page 4: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Types of data

1. Discrete: Having categories (i.e. flowers present/flowers absent, large/medium/small)

Page 5: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Seed heteromorphism: a discrete character.

Not hetermorphicHetermorphic

Page 6: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Types of data

1. Discrete: Having categories (i.e. flowers present/flowers absent, large/medium/small)

2. Continuous: Having infinite possible values (i.e. age, growth rate)

Page 7: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Seed size: a continuous character

Commelina benghalensis seed size variation

Page 8: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Types of data

1. Independent: Manipulated or selected with the hypothesis that it is causally linked to the dependent variable. Cause.

2. Dependent: Measured as a response to the dependent variable. Effect.

Page 9: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Independent and dependent variables

Independent: Treatment (CO2 concentration)

Dependent: Stomatal aperture

Assumption: Changes in CO2 concentration will alter stomatal aperture.

Page 10: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Today

•Types of data

•Discrete, Continuous

•Independent, dependent

•Types of statistics

•Descriptive, Inferential

•Creating graphs in excel

•Doing a t-test

•Lab: create graphs and do statistics for the gas exchange experiment

Page 11: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Types of statistics

1. Descriptive: Summarize a set of data.

2. Inferential: Draw conclusions from a data set.

Page 12: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Types of statistics

1. Descriptive: Summarize a set of data.

2. Inferential: Draw conclusions from a data set.

Page 13: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Mean: a type of descriptive statistic

Arithmetic mean

http://www.steve.gb.com/science/statistics.html

Page 14: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Mean: a type of descriptive statisticMeasure of the central tendency of a data set.

Fre

quen

cy

Value

Mean = 2.9

Page 15: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Standard deviation: a type of descriptive statistic

Standard deviation

http://www.steve.gb.com/science/statistics.html

Page 16: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Standard deviation: a type of descriptive statistic.

Measure of spread of variability in a data set.

Fre

quen

cy

Value

Standard deviation = 0.25

Page 17: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Standard deviation: a type of descriptive statistic.

Measure of spread of variability in a data set.

Fre

quen

cy

Value

Standard deviation = 0.58 Standard deviation = 0.41

Value

Page 18: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Types of statistics

1. Descriptive: Summarize a set of data.

2. Inferential: Draw conclusions from a data set.

Page 19: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

t-test: a type of inferential statistic

Used on continuous response variable, when you have discrete treatments (independent variables).

Last week: Stomatal aperture response to lower CO2 concentration.

Page 20: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

What internal and external factors likely affect stomatal aperture?

What are the effects of CO2 on stomatal aperture?

Why do we want to know? How is this important?

About 1700 gallons of water are required to grow food for one adult in the US per day!

(From 1993 National Geographic)

Page 21: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Experimental Design

The question: What are the effects of CO2 on stomatal aperture?

Ambient CO2 x lowered CO2

CO2 + NaOH => NaHCO3 (sodium bicarbonate)

Page 22: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Hypothesis testing

Ho: Both treatments yield the same

stomatal aperture.

HA1: NaOH treatment results in narrower stomatal

aperture.

HA2: NaOH treatment results in

larger stomatal aperture.

Page 23: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Hypothesis testing

Ho: Both treatments yield the same

stomatal aperture.

HA1: Water treatment results in larger

stomatal aperture.

HA2: NaOH treatment results in larger

stomatal aperture.

A t-test will distinguish

between Ho and HA, then you

must look at the direction of the difference to interpret the

results.

Page 24: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

We will use a t-test to interpret the gas exchange experiment

http://www.steve.gb.com/science/statistics.html

Page 25: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Question: is there a difference in the means between two treatments?

Large overlap = not different.http://www.steve.gb.com/science/statistics.html

Page 26: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Question: is there a difference in the means between two treatments?

Large overlap = not different.http://www.steve.gb.com/science/statistics.html

small

larget < ~2

Page 27: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Question: is there a difference in the means between two treatments?

Large overlap = not different.http://www.steve.gb.com/science/statistics.html

Page 28: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Question: is there a difference in the means between two treatments?

Little overlap = different.http://www.steve.gb.com/science/statistics.html

larger

larget > ~2

Page 29: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Question: is there a difference in the means between two treatments?

Little overlap = different.http://www.steve.gb.com/science/statistics.html

Page 30: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Question: is there a difference in the means between two treatments?

Little overlap = different.http://www.steve.gb.com/science/statistics.html

large

smallt > ~2

Page 31: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

What if the answer is not so obvious?

This is why we need statistics.

Page 32: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Degrees of freedom

• DF = n1 + n2 - 2

DF = number of independent categories in a statistical test.

For example, in a t-test, we are estimating 2 parameters the mean and the variance. Thus we subtract 2 from the degrees of freedom, because 2 elements are no longer independent.

DF is a measure of a test’s power. Larger sample sizes (and DF) result in more power to detect differences between the means.

Page 33: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

t-value distribution

http://www.psychstat.missouristate.edu/introbook/sbk25m.htm

t-value

freq

uenc

y

1. Get tcrit from a table of t-values, for P = 0.05 and the correct DF.2. If tobserved > tcrit, then the test is significant.3. If P < 0.05, the means are different.

Page 34: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Factors influencing a difference between means

• Distance between means

• Variance in each sample (Standard Deviation, SD)

• T-value (means and SD)

• Number of samples (DF)

• Level of error we are willing to accept to consider two means different (P-value).

Page 35: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Today

•Types of data

•Discrete, Continuous

•Independent, dependent

•Types of statistics

•Descriptive, Inferential

•Creating graphs in excel

•Doing a t-test

•Lab: create graphs and do statistics for the gas exchange experiment

Page 36: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Creating graphs in excel1. Open excel (Start/Applications/Microsoft Excel)2. Enter the data in table format

Page 37: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Creating graphs in excel1. Open excel (Start/Applications/Microsoft Excel)2. Enter the data in table format3. In the cells directly under treatment data:

Page 38: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Creating graphs in excel1. Open excel (Start/Applications/Microsoft Excel)2. Enter the data in table format3. Calculate the mean and standard deviation

Mean: enter formula

=average(cells to calculate the mean from)

Example:

=AVERAGE(A2:A11)

Page 39: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Creating graphs in excel1. Open excel (Start/Applications/Microsoft Excel)2. Enter the data in table format3. Calculate the mean and standard deviation

Standard deviation: enter formula

=stdev(cells to calculate the mean from)

Example:

=STDEV(A2:A11)

Page 40: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Creating graphs in excel1. Open excel (Start/Applications/Microsoft Excel)2. Enter the data in table format3. Calculate the mean and standard deviation4. Select the data you wish to graph

Select these cells

Page 41: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Creating graphs in excel1. Open excel (Start/Applications/Microsoft Excel)2. Enter the data in table format3. Calculate the mean and standard deviation4. Select the data you wish to graph5. Click the chart button Chart Button

Page 42: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Creating graphs in excel1. Open excel (Start/Applications/Microsoft Excel)2. Enter the data in table format3. Calculate the mean and standard deviation4. Select the data you wish to graph5. Click the chart button6. Chose your chart options:

• Column (next)• Series/Category x-axis labels/highlight

treatment labels (next)• Titles/label axes including Units (next)• Finish

Page 43: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Now your chart should look like this:

Page 44: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Creating graphs in excel1. Open excel (Start/Applications/Microsoft Excel)2. Enter the data in table format3. Calculate the mean and standard deviation4. Select the data you wish to graph5. Click the chart button6. Chose your chart options7. Add error bars to your chart:

• Double click on the bar• Y-error bars (at the top)• Go to Custom• Select the cells with the standard deviation

Page 45: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.
Page 46: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Now your chart should look like this:

Page 47: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Today

•Types of data

•Discrete, Continuous

•Independent, dependent

•Types of statistics

•Descriptive, Inferential

•Creating graphs in excel

•Doing a t-test

•Lab: create graphs and do statistics for the gas exchange experiment

Page 48: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Doing a t-test

1. Import the data into JMP• Open JMP • Create two columns:

Independent and dependent variables (double click on column heading area)

• Create 50 rows (double click on row heading area)

• Copy and paste data from JMP (select column heading and rows to paste into)

Double click Double click

Page 49: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Doing a t-test1. Import the data into JMP

• Open JMP • Create two columns:

Independent and dependent variables

• Copy and paste data from JMP

• Make Treatment a nominal variable (double click on column heading, change data type to character)

• Or, use dummy variable, shown here

Page 50: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Doing a t-test1. Import the data into JMP2. Look at data distribution

• Analysis• Distribution of Y• Add Stomatal aperture (ok)

Page 51: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Doing a t-test1. Import the data into JMP2. Look at data distribution3. Is the distribution skewed?

Yes, data is skewed:

Page 52: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Doing a t-test1. Import the data into JMP2. Look at data distribution3. Is the distribution skewed?4. Transform the data

• Create a new column• Double click on the heading of the column• Add a formula• Select OK• Formula: ln(stomatal aperture)• Evaluate• Close dialog box

Page 53: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Doing a t-test1. Import the data into JMP2. Look at data distribution3. Is the distribution skewed?4. Transform the data5. Do the t-test on transformed data:

• Analysis• Fit Y by X• Select and add• Treatment = X• Aperture = Y• OK

Page 54: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Doing a t-test1. Import the data into JMP2. Look at data distribution3. Is the distribution skewed?4. Transform the data5. Do the t-test on transformed data:

• Analysis• Click arrow

Page 55: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Doing a t-test1. Import the data into JMP2. Look at data distribution3. Is the distribution skewed?4. Transform the data5. To the t-test on transformed data:

• Analysis• Click arrow• Select Means, ANOVA, t-test

Page 56: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Interpret the results of your t-test

1. T-test• T-value, larger values

indicate stronger effect

Page 57: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Interpret the results of your t-test

1. T-test• T-value, larger values

indicate stronger effect2. DF

• Degrees of freedom

Page 58: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Interpret the results of your t-test

1. T-test• T-value, larger values

indicate stronger effect2. DF

• Degrees of freedom3. Prob > t

• P-value, smaller values indicate stronger effect

• P < 0.05, significant difference between means.

Page 59: Chapter 8 BOT3015L Data analysis and interpretation Presentation created by Jean Burns All photos from Raven et al. Biology of Plants except when otherwise.

Reminders

1. Submit Guard cell report next week: refer to “organization of a short report” (pages 9-10 of your lab manual.)• Titles must be descriptive• Methods must be complete• Results should include descriptions (in your own

words) not just graphs and tables (although those are also necessary).

• Discussion must demonstrate thought