Professional Documents
Culture Documents
Before v after
By treatment
Treatment * before/after Parametric equivalent of kruskal-
wallace test
Key Assumptions
• The response data are normally distributed
• qqnorm, shapiro.test
• Variance is assumed to be equal
• var.test, levens.test
• The data points are independent from each
other (i.e. not a time series)
• Otherwise repeated measure anova
Explained
Trend
a) Calculating total
Mean
Mean variation (mean
square)
SS . SS model b) Calculating explained
d.f. d.f. mean square
(explained
variability / degrees
Unexplained of freedom)
Trend c) Calculating
F-ratio =
unexplained mean
Explained MS square (unexplained
SS residual Unexplained MS
d.f. variability / degrees
(high F ratio is good) of freedom)
• Ordinary least
squares
• Major axis
• Ranged major
axis
• Reduced major
axis
• All give slightly
different results
Ordinary least squares (OLS)
Slope
Explained MS / Unexplained MA
Assuming parallel lines – no difference in slope
Coastal intercept
Addition to intercept
for deep
-1.20749 + 0.10195
= -1.10554
Assuming different slopes and different intercepts for
each depth class
Coastal intercept
Coastal slope
Addition to
intercept for
freshwater
Addition to slope
for freshwater