Operational Trials:
Data Analysis
Wendy Bergerud
Research Branch BC Min. of Forests
May 2003
Operational Trials: Data Analysis Wendy Bergerud Research Branch - - PowerPoint PPT Presentation
Operational Trials: Data Analysis Wendy Bergerud Research Branch BC Min. of Forests May 2003 Proposed Analysis When designing the trial we should consider what form of analysis we expect to run on the data. What design requirements
May 2003
WAB
What design requirements will this proposed
Can these design requirements be met?
WAB
WAB
Non-ordered Ordered Dichotomous (proportions)
WAB
Can the variables we are interested in be
WAB
WAB
WAB
Counts
Proportions
WAB
WAB
DBH (cm) Height (m) BWBS 23.1 26.6 19.3 4.1 26.1 35.1 24.0 24.6 22.3 27.2 19.9 21.5 26.6 25.9 24.0 24.7 20.5 22.4 20.2 20.4 52.6 . 27.5 . 22.2 . 22.7 . SBS 35.0 34.2 31.2 25.5 21.1 22.3 22.4 19.3 24.2 27.5 27.2 24.1 34.3 26.6 27.2 24.9 26.3 . 28.2 . 26.8 . 26.5 . 26.9 . 27.6 .
WAB
BWBS SBS Diameter
Ste Stem m Leaf Leaf # # 5| 5|3 3 1 1 4| 4| 4| 4| 3| 3|5 5 1 1 3| 3| 2| 2|6677 66777 7 5 5 2| 2|0222 02223 3 5 5 | |----
+----+-- +----+
Mu Mult ltiply iply Stem Stem & & Lea Leaf by f by 10 10 S Stem tem Le Leaf af # # 34| 34|23 230 3 3 32| 32| 30| 30| 28| 28| 26| 26|36 36895 895 5 5 24| 24|2 2 1 1 22| 22|3 3 1 1 20| 20|1 1 1 1 | |----+--
WAB
BWBS SBS Diameter
Ste Stem m Leaf Leaf # # 5| 5|3 3 1 1 4| 4| 4| 4| 3| 3|5 5 1 1 3| 3| 2| 2|6677 66777 7 5 5 2| 2|0222 02223 3 5 5 | |----
+----+-- +----+
Mu Mult ltiply iply Stem Stem & & Lea Leaf by f by 10 10 S Stem tem Le Leaf af # # 34| 34|23 230 3 3 32| 32| 30| 30| 28| 28| 26| 26|36 36895 895 5 5 24| 24|2 2 1 1 22| 22|3 3 1 1 20| 20|1 1 1 1 | |----+--
WAB
BWBS SBS Height
Stem Stem Leaf Leaf # 2| 2|558 558 3 2| 2|0002344 0002344 7 1| 1|9 9 1 1| 1| 0| 0| 0| 0|4 4 1 | |----+---
Mult Multiply Ste iply Stem & & Leaf Leaf by 10 by 10 Stem Stem Leaf Leaf # # 30 30|2 |2 1 1 28 28|2 |2 1 1 26 26|5226 |5226 4 4 24 24|195 |195 3 3 22 22|4 |4 1 1 20 20| 18 18|3 |3 1 1 |----+----+- |----+----+----+----+
WAB
BWBS SBS Height
Stem Stem Leaf Leaf # 2| 2|558 558 3 2| 2|0002344 0002344 7 1| 1|9 9 1 1| 1| 0| 0| 0| 0|4 4 1 | |----+---
Mult Multiply Ste iply Stem & & Leaf Leaf by 10 by 10 Stem Stem Leaf Leaf # # 30 30|2 |2 1 1 28 28|2 |2 1 1 26 26|5226 |5226 4 4 24 24|195 |195 3 3 22 22|4 |4 1 1 20 20| 18 18|3 |3 1 1 |----+----+- |----+----+----+----+
WAB
BWBS SBS 20 30 40 50 60 D i a m e t e r BEC-Zone BWBS SBS 5 10 15 20 25 30 35 H e i g h t BEC-Zone
WAB
BEC-Zone BWBS SBS Height 10 20 30 40 Diameter 20 30 40 50 60
WAB
DBH (cm) Height (m) BWBS 23.1 26.6 19.3 4.1 26.1 35.1 24.0 24.6 22.3 27.2 19.9 21.5 26.6 25.9 24.0 24.7 20.5 22.4 20.2 20.4 52.6 . 27.5 . 22.2 . 22.7 . SBS 35.0 34.2 31.2 25.5 21.1 22.3 22.4 19.3 24.2 27.5 27.2 24.1 34.3 26.6 27.2 24.9 26.3 . 28.2 . 26.8 . 26.5 . 26.9 . 27.6 .
WAB
Are these ‘real’ values? If not, what should
Sometimes the unusual data points have the
WAB
Analyse dbh and height separately with a
Are the two groups different?
Analyse the relationship between height and
Is the relationship the same for both groups?
WAB
Model Name Description
1
One group
Data belong to just one group. 2
Two groups
Data belong to two groups defined by BEC-Zone. 3
One line
There is a linear relationship between height and diameter but it is the same for the two groups. 4
Two parallel lines
There is a linear relationship between height and diameter but the line for one group is higher than for the other group, while both have the same slope. 5
Two lines
There is a linear relationship between height and diameter but the slope for one group is steeper than for the other group.
WAB
BEC-Zone BWBS SBS BEC-Zone BWBS SBS Height 15 20 25 30 35 Diameter 20 30 40 50 60 15 20 25 30 35
WAB
Model Name Degrees of Freedom (df) Residual Sums
(SSR) Residual Mean Square (MSR)
1
One group
22 223.3565 10.15 2
Two groups
21 170.4710 8.12 3
One line
21 147.8133 7.04 4
Two parallel lines
20 96.7094 4.84 5
Two lines
19 89.8038 4.73
WAB
Testing: Models Used Difference in SSR F-test (df) p-value Result
4 & 5 6.91 1.5 (1, 19) p = 0.24 Yes† Given that lines are parallel:
3 & 4 51.10 10.5 (1, 20) p = 0.0040 No
2 & 4 73.76 15.25 (1,20) p = 0.0046 No
† Technically we can’t accept a null hypothesis, but in order to proceed we must make decisions, even if they might
be wrong.
WAB
Are they normally distributed? (or at least,
Do they have any patterns with respect to
Does their variability look similar regardless
WAB
S Stem Le Leaf af # Bo Boxp xplo lot 3 3 5 5 1 | | 2 2 02 0233 338 8 5 + +-----+ 1 1 35 356 6 3 | | | 0 9 9 1 | | + + |
7632 32 4 * *-----*
9775 7520 20 6 + +-----+
30 2 | |
| |
| |
1 1 | |
+----+----+-
(from SAS’s Proc Univariate)
WAB
(from SAS’s Proc Univariate)
S Stem Le Leaf af # Bo Boxp xplo lot 3 3 5 5 1 | | 2 2 02 0233 338 8 5 + +-----+ 1 1 35 356 6 3 | | | 0 9 9 1 | | + + |
7632 32 4 * *-----*
9775 7520 20 6 + +-----+
30 2 | |
| |
| |
1 1 | |
+----+----+-
WAB
BEC-Zone BWBS SBS Residuals
0.0 1.0 2.0 3.0 4.0 5.0 Diameter 20 30 40 50 60
WAB
BEC-Zone BWBS SBS Residuals
0.0 1.0 2.0 3.0 4.0 5.0 Predicted Height 15.0 20.0 25.0 30.0 35.0
WAB
Group 1: BWBS Height = 15.6 + 0.262 * Diameter se: (1.96) (0.067) Group 2: SBS Height = 18.5 + 0.262 * Diameter
se: (1.98) (0.067)
WAB