1
$\begingroup$

I work in bioanalytical chemistry. I have used an analytical instrument (LC-MS) to measure the response (peak area) of several compounds spiked in to equivalent samples at known concentrations. Each sample, at each concentration, was analysed three times over three separate days. Spike concentrations, for this example, are: 0 (blank), 1, 2, 5, 10, 50, 125, 250, 500, 1000 ng/L. I now wish to construct sensible calibration curves using linear least squares regression (hence, assuming homoscedacity of data, but still acknowledging the potential for outliers) of the response (peak area) versus spike concentration (i.e. the spike concentration).

From visual inspection of data files, it appears that for some compounds there are samples that were spiked at > 0 ng/L that are indistinguishable from blank samples (i.e. those at 0 ng/L). I’d like to test my suspicions statistically and, if significant at a reasonable threshold, would exclude these samples prior to performing the least squares regression.

Given that, for many compounds, the data are often non-‘normal’ around the lower-end of the calibration curve in such dataset, I thought to use permutation testing to generate a sampling distribution. Here, I’d define a null hypothesis that the median peak area of blank samples (0 ng/L) is equal to that of non-blank samples at a defined concentration (e.g. 1 ng/L), i.e. a statistical test of location. Drawing from the world of parametric tests, I’d hoped to use: [median(peak areas of non-blank samples at single concentration) - median(peak areas of blank)] / median absolute deviation(peak areas of non-blank samples at single concentration).

Here, the sampling distribution would be generated by repeatedly randomising class labels (i.e. concentration labels for 0 ng/L and the calibrant level being tested) and calculating the test statistic. The p-value would be derived as the proportion of the permuted test statistics that were equal-to or greater-than the actual measured statistic, i.e. as calculated before randomising labels. If the p-value turns out to be greater than some pre-determined threshold (probably going to be 0.05 or 0.01), I accept the null hypothesis. Given that I would repeat this test for each concentration level, I’d also plan to apply a Benjamini-Hochberg correction to the final list of p-values and reject then exclude concentration levels with adjusted p-values above the cutoff (I’d aim for either 0.05 or 0.01 – yet to decide).

So, feedback on the following would be great:

  1. Does the proposed test statistic seem reasonable as a non-parametric replacement to the t-statistic?
  2. Is it appropriate to exclude samples from the regression, for which the p-value for the test statistic exceeds the defined threshold?
$\endgroup$
2
  • $\begingroup$ Personally, I oppose excluding samples unless there are strongly compelling reasons to do so. I do not know what your detection limit may be, or which definition you may use, but I recommend reading reference 29 in my answer here. $\endgroup$
    – Ed V
    Commented Apr 22, 2020 at 20:55
  • $\begingroup$ Or you might try these two papers: H. Evard, A. Kruve, I. Leito, “Tutorial on estimating the limit of detection using LC-MS analysis, Part I: theoretical review”, Anal. Chim. Acta 942 (2016) 23-39 and H. Evard, A. Kruve, I. Leito, “Tutorial on estimating the limit of detection using LC-MS analysis, Part II: practical aspects”, Anal. Chim. Acta 942 (2016) 40-49. The paper I suggested in my first comment also addresses weighted regression, if the measurement noise is heteroscedastic. $\endgroup$
    – Ed V
    Commented Apr 23, 2020 at 12:49

2 Answers 2

2
$\begingroup$

This is more of a comment, but a typical comment doesn't allow a figure...

You have a very wide range (1-1000) for the independent variable. Using a simple linear least squares analysis isn't appropriate.

I grabbed the image below from webpage https://www.mathworks.com/matlabcentral/answers/392636-confidence-band-around-linear-least-squares-line

enter image description here

The point I want to make is shown by the shaded area. Assuming homoscedasticity, you wouldn't weight the errors. Thus the confidence interval for the line is narrowest at the center of the fitted range and gets much wider at either end of the range. So your low samples ( 1, 2, 5, and 10) will essentially be irrelevant.

So you need to assume hetroscedasticity and weight the sample errors somehow.


1. Does the proposed test statistic seem reasonable as a non-parametric replacement to the t-statistic?

Just because in general non-parametric tests are less powerful than parametric tests, I would try hard to avoid using a non-parametric test on parametric data.

2. Is it appropriate to exclude samples from the regression, for which the p-value for the test statistic exceeds the defined threshold?

I'll assume that you mean to exclude some of the standards not samples. It is possible to exclude standards, but don't use three standards and then drop the one that you "know" isn't on the line. :-)


Hope this helps a little. I just don't know enough about S/N for LC/MS or the detector system that you're using to tell you what you should do.

Your statement "Given that, for many compounds, the data are often non-‘normal’ around the lower-end of the calibration curve in such dataset,..." is disconcerting.

$\endgroup$
1
$\begingroup$

Before running a nonparametric analysis, try viewing the problem from a parametric vantage of Generalized Least-Squares. To quote a source:

In that regard, GLM repeated measure is a statistical technique that takes a dependent, or criterion variable, measured as correlated, non-independent data. Commonly used when measuring the effect of a treatment at different time points. The independent variables may be categorical or continuous. GLM repeated measure can be used to test the main effects within and between the subjects, interaction effects between factors, covariate effects and effects of interactions between covariates and between subject factors. GLM repeated measures in SPSS is done by selecting “general linear model” from the “analyze” menu. From general linear model, select “repeated measures” and then preform “GLM repeated measures.

So, one of the important aspects of your data is that you have repeated observations, likely with correlated error structure.

Also, you measured your explanatory variable concentration amounts. Depending on how easy this was accomplished, there could be some associated measurement error also in your explanatory variable. This may lead to bias regression coefficients (see this source).

$\endgroup$
4
  • 3
    $\begingroup$ +1 for some way other than ordinary least squares to analyze the data. However without knowing a lot more about the instrumental technique (LC-MS wasn't my thing...) and the data set, just jumping on some statistical technique seems inappropriate. $\endgroup$
    – MaxW
    Commented Apr 23, 2020 at 3:09
  • $\begingroup$ Actually, much more inappropriate is the possible employment of an ad hoc non-parametric technique as suggested by MRJ. Now, GLM involves a covariance matrix that incorporates a weighting of data as you, yourself, suggested, which I agree is likely appropriate, so exactly how is this remiss? $\endgroup$
    – AJKOER
    Commented Apr 24, 2020 at 18:30
  • $\begingroup$ AJKOER - I'd agree that some type of weighting is almost certainly needed. However (1) GLM is only one of many techniques (2) GLM will need variances determined from the data. The sample size to get good precision on variances is much larger than the sample size to get good precision on expected values. // Who knows it may be enough to assume that the variance is proportional to the concentration of the standard. $\endgroup$
    – MaxW
    Commented Apr 24, 2020 at 21:10
  • $\begingroup$ MaxW: Your comments are not precisely accurate. For example, a simple version of a GLM model could contain a user-specified diagonal covariance matrix. It is also not restricted to the current data only, aka apriori weights can be specified in what is known as Ridge Regression (a form of Bayesian Linear Least-Squares). $\endgroup$
    – AJKOER
    Commented Apr 24, 2020 at 21:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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