4
$\begingroup$

I have complex matrices and I need to make sure the matrix does not affect the measurement of my analyte. To do that, I need to prepare samples of my analyte in a solvent and of the matrix reinforced with my analyte. Both curves are going to have 5 concentration points, each done 3 times and, for sake of argument, let's assume both have comparable levels of precision. Then, I linearize these two calibration curves and check if they are parallel, which is where my question lies.

How do I prove that both curves are parallel (meaning no matrix effects are present), within a margin of 5%?

I have found the following method:

  1. Get the y-data of the matrix data and apply them to the calibration function of the solvent and get an "apparent concentration" of the matrix.
  2. Perform a linear regression of the concentration values of the solvent with the apparent concentrations of the matrix.

Then, I have an intercept a and a slope b. A value of b different from 1 indicates a concentration dependent bias. I have both standard deviations of the fit, stdev_a, stdev_b, so I have to determine the confidence interval (95%) of b and check if their values are withing these confidence intervals.

I have found two ways to do that in Excel and I am unsure which one is correct. For example, the slope:

  • Do I use the conf = CONFIDENCE.T(0.05, stdev_b, N-4), get b+-conf, and check if 1 is within this interval b+-conf?
  • Do I use t = T.INV(0.95,N-4), multiply that by the stdev_b, get the range b+-t*stdev_b and check if 1 is within this range?

I have used N-4 for the degrees of freedom, since it's two linear regressions, each consuming one degree of freedom, correct? In this case, N-4 == 11.

In summary:

  • Which function do I use to calculate the confidence intervals for this example in Excel, and
  • Is this method of checking parallelism correct?
  • Is there an easier/simpler or more correct way of doing this parallelism check?
$\endgroup$
  • 5
    $\begingroup$ I'm voting to close this question as off-topic because it's about statistics. $\endgroup$ – Mithoron Dec 26 '17 at 17:31
  • 8
    $\begingroup$ I think it's multidisciplinary. Analytical chemistry has a lot of statistics in it. If no one answers, I'll ask on the statistics board. I'm afraid the chemistry behind the question might go over their heads and derail the discussion. $\endgroup$ – K.Cl Dec 26 '17 at 17:41
  • $\begingroup$ If question gets closed you it might be migrated there. $\endgroup$ – Mithoron Dec 26 '17 at 17:56
4
$\begingroup$

Define the angular coefficients of the two resulting lines and evaluate the parallelism between them. Perform the statistical evaluation of the data. For the parallelism test between the curves, considering the equations of the lines to be compared as: $y_1 = a_1 + b_1x + \varepsilon$ and $y_2 = a_2 + b_2x + \varepsilon$, the hypothesis for comparison of the lines slopes is given by: $$H_0 : b_1 = b_2$$ $$H_1 : b_1 \neq b_2$$ When the null hypothesis ($H_0$) is true, the regression lines become: $$y_1 = a_1 + b_3x + \varepsilon$$ $$y_2 = a_2 + b_3x + \varepsilon$$ Considering a significance level of $5\ \%$, the null hypothesis will be true when the test returns a P-Value above $0.05$.

More information in the link: http://www.real-statistics.com/regression/hypothesis-testing-significance-regression-line-slope/comparing-slopes-two-independent-samples/

$\endgroup$
  • $\begingroup$ Welcome to Chemistry.SE! Please note that formulas can be better expressed with \$\ce{}\$ for chemical formulas/equations, \$\mathrm{}\$ for math term/equations, and \$\pu\$ for units. Also, take a minute to look over the help center to better understand our guidelines and question policies. $\endgroup$ – A.K. Aug 12 '18 at 19:23
3
$\begingroup$

I think that this is one of those in-between questions. Before migrating, let's define the chemistry better.

(1) Roughly what sort of precision are you expecting? What sort of instrumental precision, what sort of wet chemistry precision, and what sort of sampling precision?

Trying to figure if one error source dominates, or if all three contribute significant error.

(2) You said "Both curves are going to have 5 concentration points, each done 3 times..." I assume you made three different solutions of the sample, then spiked 4 different aliquots each with 4 different amounts of the analyte. Thus you end up with 5 solutions for some sort of instrumental analysis. Correct?

So the 15 solutions analyzed depend on three weighings of sample. Also I assume that you're using 4 different volumes. In other words you the spike an aliquot with a one ml pipette, and the second spike is with a two ml pipette, not two shots from the one ml pipette, and so on...

So I assume that you assume that the spiking is exact and you're not worried about the spiking errors.

A point here is that you seem to accept that the intercepts of the lines will be different. So is there something in the sample matrix that causes the blank value to vary? So although you have 5 points on the line, you seem to only have three different matrix solutions.

(3) When you say you "linearize these two calibration curves", I assume you mean that you used linear least squares to compute slope and intercept of each.

(4) Exactly what do you mean by 5% error.

I assume that you mean a 5% chance of a type I error in slope. But I don't think that is what you want to test. I think you spiked the sample solution with 4 different concentrations of the analyte. So what you really want to know is the difference between the sample values at the end of the line, not variation in the slope itself.

The difference between the non-spiked values will be a lot more sensitive than test on variabilities. You have very small statistics and the variabilities are going to be huge.

The gist here is also considering a type II error and/or using multiple determinations to drive the error to 5%.

$\endgroup$
  • $\begingroup$ (1) I am doing HPLC at concentrations ranges of 80-120%and errors of 2%. (2) Correct; Correct; The matrix itself has some of the analyte, at a concentration C. I have, then, these concentrations standart dilution : , 80%, 90%, 100% ,110%,120%;matrix:( standart+ feedstook) : 80% 90%, 100%, 110% 120%, with the same dilution of standart. The intercepts will be the same. (3) Yes, that's what I mean. But the slope is important, not the intercept, in this case. $\endgroup$ – K.Cl Dec 26 '17 at 20:30
  • $\begingroup$ (4)I need to know specifically the slope, because that's in a norm. It states, in full: "The line parallelism is indicative of a lack of interference by the constituents of the matrix and its determination must be realized by an adequate statistical evaluation. The significance level adopted must be 5% in the hypothesis test." So from my basic understanding of statistics, it's a 5% of a type I error in the slope. $\endgroup$ – K.Cl Dec 26 '17 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.