Presentation is loading. Please wait.

Presentation is loading. Please wait.

ChE 452 Lecture 07 Statistical Tests Of Rate Equations 1.

Similar presentations


Presentation on theme: "ChE 452 Lecture 07 Statistical Tests Of Rate Equations 1."— Presentation transcript:

1 ChE 452 Lecture 07 Statistical Tests Of Rate Equations 1

2 Last Time Considered Paramecium Example 2 Errorr2r2 Lineweaver Burke 94540.910 Eadie Hofstee56470.344 Nonlinear Least Squares 49190.905 r 2 does not indicate goodness of fit

3 Today: Statistical Analysis Of Rate Data Can we do a calculation to tell if one model fits the data better than another model? Is the result statistically significant? 3

4 Method: Calculate A Variance Usually model with the lowest variance works best! 4 (3.B.1) substituting in equations (3.A.7) yields (3.B.2)

5 Limitations Of Using Variance To Assess Which Model Fits Best Assumes error in data Follows a “  2 distribution” (i.e. error is random) Usually good assumption in direct rate data It is not good to assume 1/rate follows  2 distribution, so one needs to be careful about linearizing data. 5

6 For Our Example 6 (3.B.3)

7 For Our Example Continued 7 (3.B.4) (3.B.5) Eadie-Hofstee: while for the Lineweaver-Burk Plot: The non-linear least squares fit the data best.

8 Subtlety We are never sure whether the model with the lowest variance is the best one Instead we can only say that it fits the data best The model that fits the data best is usually the best one Still there always is the possibility that a model fits better because the errors in the data line up to make it seem better 8

9 Next: Using An F-Test To Tell If the Difference Is Statistically Significant We want to do a statistical test to calculate the probability that one model fits better than another 9

10 Using An F-Test To Tell If the Difference Is Statistically Significant 10 Method: Compute F inverse, given by (3.B.6) If F inverse is large enough, the model is statistically better.

11 Statistics: Gives A Value of F inverse That Is “Large Enough” 11 Table 3.B.2 Values of F inverse as a function of nf when both models have the same value of nf nf =Significance Level 90%95%99%99.5% 139.86161.5405216212 29.01999199 35.399.2829.4647 44.116.3915.9823 nf=number of data points - parameters in the model (3.B.8) To read the table, if nf=4, you need F inverse to be at least 15.98 to be 99% sure that the better model really is better. There will still be 1% chance that the differences caused by random errors in the data

12 Assumptions In Using the Values Of F In Table 3.B.2 Models are independent (non-nested)  2 distribution of errors Not mathematically rigorous in our example since models not independent! (Gives small error in F inverse ) 12

13 F dist Gives The Probability That A Given Model Is Better % confidence=1-FDIST (F inverse, nf for better model, nf for worse model) (3.B.9) Not mathematically rigorous, but close. 13

14 Example: Is The Non-Linear Least Squares Better Than LineWeaver-Burke Variance Lineweaver-Burke = 321 Variance non-linear = 185 nf=30 14 I used Excel to calculate 1-FDIST (1.92, 30, 30)=0.96 96% sure non-linear least squares fits better 4% chance difference due to noise in data.

15 Another Example: Comparing Two Models Previously fit data to 15 (3.A.1) Does the following work better? Is the difference statistically significant?

16 The Spreadsheet Is The Same As In Problem 3.A: 16

17 F Test To Determine Which Model Is Better V 3.A.1 the variance of equation 3.A.1 is 17 V 3.C.1 the variance of equation 3.C.1 is The ratio of variance is

18 Calculate Probability Second Model Is Better From FDIST probability=1-FDIST (1.07,30,30)=0.58. 58% chance second model is better 42% probability first model is better Note: Not rigorous number 18

19 Pitfalls Of Direct Measurements It is not uncommon for more than one rate equation may fit the measured kinetics within the experimental uncertainties. Just because data fits, does not mean rate equation is correct. The quality of kinetic data vary with the equipment used and the method of temperature measurement and control. Data taken on one apparatus is often not directly comparable to data taken on different apparatus. 19

20 Pitfalls Continued It is not uncommon to observe 10-30% variations in rate taken in the same apparatus on different days. Usually, these variations can be traced to variations in the temperature, pressure, or flow rate in the reactor. The procedure used to fit the data can have a major effect on the values of the parameters obtained in the data analysis. The quality of the regression coefficient (r 2 ) does not tell you how well a model fits your data. 20

21 Class Question What did you learn new today? 21


Download ppt "ChE 452 Lecture 07 Statistical Tests Of Rate Equations 1."

Similar presentations


Ads by Google