16.08.2013 Views

analysis of a pilot-scale anaerobic baffled reactor treating domestic ...

analysis of a pilot-scale anaerobic baffled reactor treating domestic ...

analysis of a pilot-scale anaerobic baffled reactor treating domestic ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

that the means are the same, or conversely that at the 95% confidence level, the hypothesis that the<br />

means are not the same cannot be rejected.<br />

4.4 Ratio <strong>of</strong> two means: Fieller’s theorem<br />

Fieller’s theorem states that the confidence limit <strong>of</strong> a/b, the ratio <strong>of</strong> two means a and b each with<br />

variance V(a) and V(b) is (Davies and Goldsmith, 1977 p. 236):<br />

a<br />

b<br />

Where t is the appropriate t-statistic at a significance level α and for Øn degrees <strong>of</strong> freedom. C(a,b) is<br />

the co-variance <strong>of</strong> variables a and b. Where a and b are independently determined (i.e. calculated from<br />

different experimental data sets) then C(a,b) = 0 and (4) reduces to<br />

a<br />

b<br />

4.5 Linear Regression<br />

Linear regressions can easily be performed by a variety <strong>of</strong> Micros<strong>of</strong>t Office Excel functions. The<br />

method for calculating a least squares slope to describe a linear relationship between two data sets is<br />

presented here since several <strong>of</strong> the quantities calculated in the process <strong>of</strong> calculating the least squares<br />

slope are used in determining confidence intervals <strong>of</strong> the regression coefficients and <strong>of</strong> values<br />

predicted by the regression (Davies and Goldsmith, 1977 pp. 185-206). For the independent data<br />

points xi (e.g. time), and dependent data points yi (e.g. concentration data for times xi):<br />

Sxx is the sum <strong>of</strong> squares about the mean <strong>of</strong> the independent data set:<br />

S<br />

S<br />

S<br />

2<br />

t C<br />

−<br />

b<br />

xx<br />

yy<br />

xy<br />

±<br />

=<br />

=<br />

t<br />

b<br />

∑<br />

i<br />

∑<br />

i<br />

⎛<br />

⎜<br />

∑<br />

⎞<br />

x ⎟<br />

i<br />

2 ( ) ⎝ i<br />

x −<br />

⎠<br />

− ( x − x)<br />

i<br />

⎛<br />

⎜<br />

n<br />

∑<br />

2<br />

∑<br />

i<br />

2 ( ) ⎝ i<br />

y −<br />

⎠<br />

− ( y − y)<br />

i<br />

⎞<br />

y ⎟<br />

⎛ ⎞⎛<br />

⎜∑<br />

xi<br />

⎟⎜<br />

=<br />

⎝ ⎠⎝<br />

∑ i i<br />

n<br />

i<br />

( a,<br />

b)<br />

2<br />

V<br />

( a)<br />

±<br />

t<br />

b<br />

V<br />

n<br />

( a)<br />

− C(<br />

a,<br />

b)<br />

2<br />

2a<br />

b<br />

2<br />

2<br />

a t V<br />

+ V ( b)<br />

−<br />

2<br />

b<br />

2<br />

t V ( b)<br />

1−<br />

2<br />

b<br />

i<br />

∑<br />

i<br />

i<br />

( x ⋅ y ) −<br />

−<br />

i<br />

∑<br />

i<br />

2<br />

t V<br />

1 −<br />

b<br />

( b)<br />

⋅V<br />

( a)<br />

Syy is the sum <strong>of</strong> squares about the mean <strong>of</strong> the dependent data set:<br />

Sxy is the sum <strong>of</strong> the product about the means:<br />

b<br />

i<br />

2<br />

⎞<br />

y i ⎟<br />

⎠<br />

2<br />

2<br />

2<br />

a t V<br />

+ V ( b)<br />

−<br />

2<br />

2<br />

b b<br />

2<br />

( b)<br />

2<br />

189<br />

( b)<br />

⎛<br />

⎜<br />

V<br />

⎝<br />

( a)<br />

C<br />

−<br />

( a,<br />

b)<br />

V ( b)<br />

2<br />

⎞<br />

⎟<br />

⎠<br />

(4)<br />

(5)<br />

(6)<br />

(7)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!