- Prepare a stock solution and dilute it
- pH of a weak acid without the approximation
- Amount of gas in a pressurized cylinder
- Equivalence point of a weak acid titration
- Balancing a redox equation with linear algebra
- Isotope pattern of a tetrachloro compound in MS
- Lattice parameter, X-ray density and crystallite size from XRD
- Method bias on a certified reference material
- Two dyes in one drink by least squares (QR)
- Phosphate buffer with activity correction (Davies)
- The most common substructures
- Unmix absorption spectra
- Near infrared calibration: protein content by PLS
- Validation of an analytical method: linearity, LOD/LOQ, precision, trueness
Prepare a stock solution and dilute it
A lab technician must prepare 250 mL of 0.150 mol/L NaCl, then 100 mL at 0.010 mol/L from it. The script gives the mass to weigh (n = C.V, m = n.M) and the stock volume to pipette (C1V1 = C2V2), with the units checked.
#1. Mass of NaCl to weigh for 250 mL at 0.150 mol/L; -> "[m]" (unit calc "0.150 mol/L * 250 mL * 58.44 g/mol" "g"); #2. Volume of this stock for 100 mL at 0.010 mol/L, C1V1 = C2V2; -> "[v1]" (unit calc "0.010 mol/L * 100 mL / (0.150 mol/L)" "mL"); #3. Report; concat "Weigh " (math round [m] 3) " g of NaCl into a 250 mL flask, then pipette " (math round [v1] 2) " mL of it and make up to 100 mL."
Weigh 2.192 g of NaCl into a 250 mL flask, then pipette 6.67 mL of it and make up to 100 mL.
- Propagate the balance and flask tolerances with
num uncertainty. - Use
unit calcwith mg/L or ppm-like ratios for trace standards.
pH of a weak acid without the approximation
What is the pH of 0.10 mol/L acetic acid (Ka = 1.8e-5)? The script solves the exact equilibrium x^2/(C - x) = Ka, compares it with the classic sqrt(Ka.C) shortcut and gives the degree of dissociation.
#1. Acetic acid 0.10 mol/L, Ka = 1.8e-5; -> "[c]" 0.10; -> "[ka]" 1.8e-5; #2. Exact [H+]: x^2 / (c - x) = Ka; -> "[h]" (num solve (concat "x^2 - " [ka] "*(" [c] " - x)") "x" 0 [c]); #3. pH exact, pH with the approximation sqrt Ka*c, degree of dissociation; -> "[ph]" (math calc "-log10([h])"); -> "[ph_approx]" (math calc "-log10(sqrt([ka]*[c]))"); concat "pH = " (math round [ph] 3) " (approx. " (math round [ph_approx] 3) "), alpha = " (math round (math calc "100*[h]/[c]") 2) " %"
pH = 2.875 (approx. 2.872), alpha = 1.33 %
- Add the water autoprotolysis for very dilute acids with
num solve_system. - Plot the titration curve with
num tableover the added base volume.
Amount of gas in a pressurized cylinder
How much nitrogen is in a 50 L cylinder at 200 bar and 20 degC? The script compares the ideal gas law n = PV/RT with the van der Waals equation (a = 0.137 Pa.m6/mol2, b = 3.87e-5 m3/mol) solved for n, and gives the mass in kg.
#1. Nitrogen cylinder: 50 L at 200 bar and 20 degC; -> "[n_ideal]" (unit calc "200 bar * 50 L / (_R * 293.15 K)" "mol"); #2. Van der Waals for N2: a = 0.137 Pa.m6/mol2, b = 3.87e-5 m3/mol, SI units; -> "[n_vdw]" (num solve "(200e5 + 0.137*n^2/0.05^2)*(0.05 - n*3.87e-5) - n*8.314462618*293.15" "n" 1 600); #3. Mass of gas in kg, M = 28.014 g/mol; concat "Ideal gas: " (math round [n_ideal] 1) " mol, van der Waals: " (math round [n_vdw] 1) " mol = " (math round (math calc "[n_vdw]*28.014/1000") 2) " kg of N2"
Ideal gas: 410.3 mol, van der Waals: 408.9 mol = 11.45 kg of N2
- Compute the compressibility factor Z = PV/nRT from both results.
- Get R, Vm or NA with their CODATA metadata using
const get.
Equivalence point of a weak acid titration
Acetic acid titrated by 0.100 mol/L NaOH: the equivalence volume is the steepest point of the pH curve. The script differentiates a monotone interpolation on a fine grid, takes the maximum of the slope, reads the pKa at half equivalence and gives the acid concentration.
#1. 25.0 mL of acetic acid titrated with NaOH 0.100 mol/L: volume in mL and pH; -> "[V]" "[0, 2, 4, 6, 8, 9, 9.5, 9.8, 10, 10.2, 10.5, 11, 12, 14]"; -> "[pH]" "[2.88, 4.15, 4.57, 4.93, 5.35, 5.70, 6.03, 6.45, 8.72, 10.98, 11.38, 11.68, 11.96, 12.22]"; #2. Slope dpH/dV of the monotone interpolation on a fine grid from 9 to 11 mL; -> "[g]" (matrix col (num table "v" "v" 9 11 0.01) 1); -> "[d]" (num interpolate_derivative [V] [pH] [g] "pchip"); #3. Equivalence volume at the steepest point; json load "rx_eq" (dsp peaks [d] "{\"distance\": 1000}"); -> "[Veq]" (math calc (concat "9+0.01*" (json select "rx_eq" /indices[0]))); #4. pKa = pH at half equivalence, and the acid concentration; -> "[pKa]" (num interpolate [V] [pH] (math calc "[Veq]/2") "pchip"); concat "Veq = " (math round [Veq] 2) " mL, max slope = " (math round (json select "rx_eq" /values[0]) 1) " pH/mL, pKa = " (math round [pKa] 2) ", c acid = " (math round (math calc "0.100*[Veq]/25.0") 4) " mol/L"
Veq = 9.93 mL, max slope = 14.3 pH/mL, pKa = 4.74, c acid = 0.0397 mol/L
- Draw the curve and its interpolation with
plot interpolate [V] [pH] "pchip". - The second derivative (order 2 of
num interpolate_derivative) crosses zero at the equivalence point.
Balancing a redox equation with linear algebra
Balance KMnO4 + HCl -> KCl + MnCl2 + Cl2 + H2O. Each element gives one equation; the reduced row echelon form of the composition matrix gives the null space, and the lcm of the denominators gives the smallest integer coefficients.
#1. Permanganate oxidation of hydrochloric acid: a KMnO4 + b HCl -> c KCl + d MnCl2 + e Cl2 + f H2O; #Rows K, Mn, O, H, Cl, one column per species, products negative; -> "[A]" "[[1, 0, -1, 0, 0, 0], [1, 0, 0, -1, 0, 0], [4, 0, 0, 0, 0, -1], [0, 1, 0, 0, 0, -2], [0, 1, -1, -2, -2, 0]]"; json load "rx_tu1_sp" (string split "KMnO4 HCl KCl MnCl2 Cl2" " " -1); #2. Reduced row echelon form: rank 5, one-dimensional null space, coefficients relative to f = 1; -> "[R]" (matrix rref [A]); -> "[co]" ""; -> "[l]" 1; for (-> "[i]" 1) (<= [i] 5) (++ "[i]") { -> "[q]" (arith to_fraction (math calc (concat "-1*" (matrix get [R] [i] 6)))); -> "[co]" (concat [co] [q] " "); #3. Least common multiple of the denominators; -> "[l]" (arith lcm [l] (string regexp_extract (concat [q] "/1") "/([0-9]+)" 1)); }; #4. Smallest integer coefficients; -> "[eq]" ""; for (-> "[i]" 1) (<= [i] 5) (++ "[i]") { -> "[eq]" (concat [eq] (arith frac_mul (arith to_fraction (math calc (concat "-1*" (matrix get [R] [i] 6)))) [l]) " " (json select "rx_tu1_sp" (concat "/[" (- [i] 1) "]"))); if (== [i] 2) {-> "[eq]" (concat [eq] " -> ");} {-> "[eq]" (concat [eq] " + ");}; }; concat "rank " (matrix rank [A]) ", ratios to H2O: " [co] "=> " [eq] [l] " H2O"
rank 5, ratios to H2O: 1/4 2 1/4 1/4 5/8 => 2 KMnO4 + 16 HCl -> 2 KCl + 2 MnCl2 + 5 Cl2 + 8 H2O
- Check the electron balance: Mn +7 -> +2 gains 5, Cl -1 -> 0 loses 1, so 2 Mn for 10 Cl
- Try an equation with two independent reactions: the rank drops by 2 and the null space has 2 vectors
Isotope pattern of a tetrachloro compound in MS
Predict the relative intensities of the M, M+1, M+2, M+4 and M+6 peaks of C6H2Cl4 from the binomial law of the chlorine isotopes and the 13C abundance, to recognise the Cl4 signature in a mass spectrum.
#1. Molecular ion of a tetrachlorobenzene C6H2Cl4: 4 chlorine atoms, abundance of 37Cl = 0.2424; -> "[n]" 4; -> "[p]" 0.2424; #2. Binomial coefficients from the Gamma function: C n,k = n! / k!.n-k!; -> "[c1]" (math calc (concat (math gamma 5) "/(" (math gamma 2) "*" (math gamma 4) ")")); -> "[c2]" (math calc (concat (math gamma 5) "/(" (math gamma 3) "*" (math gamma 3) ")")); #3. Peaks M, M+2, M+4 relative to M: C n,k.p^k.1-p^-k; -> "[m2]" (math calc "100*[c1]*([p]/(1-[p]))"); -> "[m4]" (math calc "100*[c2]*([p]/(1-[p]))^2"); -> "[m6]" (math calc "100*4*([p]/(1-[p]))^3"); #4. 13C contribution to M+1 for 6 carbons, by log-Gamma to avoid big factorials; -> "[m1]" (math calc (concat "100*exp(" (math lngamma 7) "-" (math lngamma 6) "-" (math lngamma 2) ")*0.0107/0.9893")); concat "M = 100, M+1 = " (math round [m1] 1) ", M+2 = " (math round [m2] 1) ", M+4 = " (math round [m4] 1) ", M+6 = " (math round [m6] 1) " : the 100 / 128 / 61 pattern is the signature of Cl4"
M = 100, M+1 = 6.5, M+2 = 128, M+4 = 61.4, M+6 = 13.1 : the 100 / 128 / 61 pattern is the signature of Cl4
- Combine Cl and Br patterns by convolution with
num poly_mul. - For a big molecule like a peptide, use
math lngammafor all the binomial terms.
Lattice parameter, X-ray density and crystallite size from XRD
From the 200 reflection of NaCl, get the d-spacing (Bragg), the cubic cell edge, the X-ray density, the cell edge implied by a pycnometer density, and the crystallite size by the Scherrer equation.
#1. Powder XRD of NaCl with Cu K-alpha 1.5406 angstrom: 200 reflection at 2theta = 31.69 deg, FWHM 0.18 deg; -> "[lam]" 1.5406; -> "[th]" (math calc "31.69/2*pi/180"); -> "[beta]" (math calc "0.18*pi/180"); #2. Bragg law d = lambda/2.sin theta, cubic cell a = d.sqrt of h2+k2+l2; -> "[d]" (math calc (concat "[lam]/(2*" (math sin [th]) ")")); -> "[a]" (math calc (concat "[d]*" (math hypot (math hypot 2 0) 0))); #3. X-ray density: Z = 4 NaCl per cell, M = 58.44 g/mol; -> "[rho]" (unit calc (concat "4 * 58.44 g/mol / (_NA * (" [a] " angstrom)^3)") "g/cm^3"); #4. Cell edge that a pycnometer density of 2.160 g/cm3 would imply, by the cube root; -> "[a2]" (math cbrt (unit calc "4 * 58.44 g/mol / (_NA * 2.160 g/cm^3)" "angstrom^3")); #5. Scherrer crystallite size K.lambda.sec theta / beta, K = 0.9; -> "[size]" (math calc (concat "0.9*[lam]*" (math sec [th]) "/[beta]/10")); concat "d200 = " (math round [d] 4) " A, a = " (math round [a] 4) " A, X-ray density = " (math round [rho] 3) " g/cm3, a from the pycnometer = " (math round [a2] 4) " A, crystallite size = " (math round [size] 1) " nm"
d200 = 2.8212 A, a = 5.6425 A, X-ray density = 2.161 g/cm3, a from the pycnometer = 5.6432 A, crystallite size = 45.9 nm
- Refine a on several reflections with a Nelson-Riley extrapolation and
stat fit. - Subtract the instrumental broadening before Scherrer.
Method bias on a certified reference material
Check an ICP-MS method on a certified soil: Dixon Q test on a suspect replicate, then z-test of the mean against the certified value with the known method sigma, and recovery.
#1. Lead in a certified soil, ICP-MS, 7 replicates in mg/kg, certified 25.3 and method sigma 0.6; -> "[x]" "[25.9, 26.1, 25.6, 27.9, 26.0, 25.8, 26.3]"; #2. Dixon Q test on the suspect high value, on the sorted series; -> "[s]" (math order_double [x]); -> "[q]" (math calc (concat "(" (matrix get (concat "[" [s] "]") 1 7) "-" (matrix get (concat "[" [s] "]") 1 6) ")/(" (stat range [x]) ")")); #3. Q critical at 95 % for n = 7 is 0.568: drop the outlier, then z-test of the bias with the known sigma; -> "[x6]" "[25.9, 26.1, 25.6, 26.0, 25.8, 26.3]"; json load "rx_p4c_crm" (stat ztest [x6] 25.3 0.6); #4. Recovery; concat "Q = " (math round [q] 3) " > 0.568: 27.9 rejected; mean = " (math round (stat mean [x6]) 2) " mg/kg, recovery = " (math round (math calc (concat "100*" (stat mean [x6]) "/25.3")) 1) " %, z = " (math round (json select "rx_p4c_crm" /z) 2) ", p = " (math round (json select "rx_p4c_crm" /p_value) 4) " : significant bias"
Q = 0.696 > 0.568: 27.9 rejected; mean = 25.95 mg/kg, recovery = 102.6 %, z = 2.65, p = 0.008 : significant bias
- Use the En number with the uncertainty of the certificate instead of a z-test.
- Use
stat shapiroto check the normality before the test.
Two dyes in one drink by least squares (QR)
Determine two food dyes from absorbances at four wavelengths: solve the overdetermined Beer-Lambert system by the QR decomposition and read the residual norm of the fit directly in Q^T.A.
#1. Absorbance of a drink with two dyes at 430, 480, 580, 630 nm, 1 cm cell; -> "[e]" "[[27, 1], [15, 2.5], [0.3, 40], [0.05, 120]]"; -> "[b]" "[[0.545], [0.314], [0.205], [0.600]]"; #2. Overdetermined Beer-Lambert system E.c = A by QR: Q.R = E, molar absorptivities in L/mmol/cm; json load "rx_p4c_qr" (matrix qr [e]); -> "[y]" (matrix mul (matrix transpose (json select "rx_p4c_qr" /Q)) [b]); #3. Back substitution with the upper 2x2 block of R; -> "[r]" (concat "[[" (json select "rx_p4c_qr" /R/[0]/[0]) ", " (json select "rx_p4c_qr" /R/[0]/[1]) "], [0, " (json select "rx_p4c_qr" /R/[1]/[1]) "]]"); -> "[c]" (matrix solve [r] (concat "[" (matrix get [y] 1 1) ", " (matrix get [y] 2 1) "]")); #4. The last 2 components of Q^T.A give the residual norm of the fit; -> "[res]" (vector norm (concat "[" (matrix get [y] 3 1) ", " (matrix get [y] 4 1) "]")); concat "tartrazine = " (math round (math calc (concat "1000*" (matrix get (concat "[" [c] "]") 1 1))) 2) " umol/L, brilliant blue = " (math round (math calc (concat "1000*" (matrix get (concat "[" [c] "]") 1 2))) 2) " umol/L, residual norm = " (math round [res] 4) " AU"
tartrazine = 20.02 umol/L, brilliant blue = 4.99 umol/L, residual norm = 0.0015 AU
- Use the whole spectrum (100 wavelengths) for a classical least squares calibration.
- Compare with
matrix pinvand with the normal equations.
Phosphate buffer with activity correction (Davies)
Prepare 1 L of 0.100 M phosphate buffer at pH 7.40: solve the HPO4/H2PO4 ratio with the Davies activity coefficients (the ionic strength depends on the ratio) and give the masses to weigh.
#1. Phosphate buffer 0.100 M total at pH 7.40 and 25 degC, pKa2 = 7.198 at zero ionic strength; -> "[ct]" 0.100; -> "[pka]" 7.198; #2. Davies equation log gamma = -0.509.z^2.sqrt I / 1+sqrt I - 0.3 I, NaH2PO4 + Na2HPO4: I = ct + 2.base; -> "[lg]" "(-0.509*(sqrt(I)/(1+sqrt(I))-0.3*I))"; -> "[ph]" (concat "7.198 + log10(r) + 4*LG - LG - 7.40"); #3. Solve the base/acid ratio r with I = 0.1 + 2.0.1.r/1+r; -> "[eq]" (string replace (string replace [ph] "LG" [lg]) "I" "(0.1+0.2*r/(1+r))"); -> "[r]" (num solve [eq] "r" 0.1 10); #4. Masses for 1 L: NaH2PO4.H2O 137.99 g/mol, Na2HPO4.7H2O 268.07 g/mol; -> "[base]" (math calc "[ct]*[r]/(1+[r])"); concat "ratio HPO4/H2PO4 = " (math round [r] 3) " instead of " (math round (math power 10 (math calc "7.40-[pka]")) 3) " without activity; I = " (math round (math calc "0.1+2*[base]") 3) " M; weigh " (math round (math calc "([ct]-[base])*137.99") 2) " g NaH2PO4.H2O and " (math round (math calc "[base]*268.07") 2) " g Na2HPO4.7H2O"
ratio HPO4/H2PO4 = 3.968 instead of 1.592 without activity; I = 0.26 M; weigh 2.78 g NaH2PO4.H2O and 21.41 g Na2HPO4.7H2O
- Add the temperature dependence of pKa2 (dpKa/dT = -0.0028 /K).
- Check the buffer capacity beta = 2.303.C.Ka.H / Ka+H ^2.
The most common substructures
In 5 small molecules, find the 4 most frequent substructures (TKG) without guessing a minimum support: the C-O bond comes first, then the hydroxyl O-H.
#1. Molecules: atoms and bonds, s = single, d = double; -> "[m]" "[{\"labels\": [\"C\", \"C\", \"O\", \"H\"], \"edges\": [[0, 1, \"s\"], [1, 2, \"s\"], [2, 3, \"s\"]]}, {\"labels\": [\"C\", \"C\", \"O\", \"O\"], \"edges\": [[0, 1, \"s\"], [1, 2, \"d\"], [1, 3, \"s\"]]}, {\"labels\": [\"C\", \"O\", \"H\"], \"edges\": [[0, 1, \"s\"], [1, 2, \"s\"]]}, {\"labels\": [\"C\", \"C\", \"C\", \"O\", \"H\"], \"edges\": [[0, 1, \"s\"], [1, 2, \"s\"], [2, 3, \"s\"], [3, 4, \"s\"]]}, {\"labels\": [\"C\", \"N\", \"C\", \"O\"], \"edges\": [[0, 1, \"s\"], [1, 2, \"s\"], [2, 3, \"d\"]]}]"; json load "rx_g" (ml assoc topk_subgraphs [m] 4); -> "[res]" ""; for (-> "[i]" 0) (< [i] (json select "rx_g" "/count")) (++ "[i]") { -> "[p]" (concat "/subgraphs/[" [i] "]"); -> "[a]" ""; for (-> "[k]" 0) (< [k] (json count "rx_g" (concat [p] "/labels"))) (++ "[k]") {-> "[a]" (concat [a] (if (> [k] 0) {"-"} {""}) (json select "rx_g" (concat [p] "/labels/[" [k] "]")));}; -> "[res]" (concat [res] [a] " in " (json select "rx_g" (concat [p] "/support")) " molecules | "); }; json unload "rx_g"; [res]
C-O in 4 molecules | C-O-H in 3 molecules | C-C in 3 molecules | O-H in 3 molecules | C-C-O in 3 molecules |
ml assoc subgraphswith a min_support gives every frequent substructure.- The graphs field of each result lists the molecules that contain the substructure.
Unmix absorption spectra
Eight samples are mixtures of two dyes: non-negative matrix factorization splits the spectra into two pure spectra (H) and the amount of each dye in each sample (W), all positive like real absorbances.
#1. Absorbance from 400 to 680 nm, step 20 nm, 8 samples; -> "[S]" "[[0.0031, 0.0197, 0.0947, 0.2362, 0.3294, 0.2374, 0.0969, 0.0293, 0.0415, 0.0925, 0.151, 0.147, 0.094, 0.0401, 0.0184], [0.0122, 0.0339, 0.1607, 0.4216, 0.5804, 0.4211, 0.1668, 0.0617, 0.111, 0.2435, 0.3812, 0.3784, 0.2443, 0.1007, 0.0266], [0.0026, 0.0081, 0.0192, 0.0494, 0.0637, 0.0447, 0.021, 0.0243, 0.052, 0.1315, 0.2049, 0.1964, 0.1254, 0.0555, 0.016], [0.0028, 0.0268, 0.121, 0.3108, 0.42, 0.3051, 0.1311, 0.0763, 0.1944, 0.4616, 0.7226, 0.7211, 0.4619, 0.1953, 0.0599], [0.0101, 0.0295, 0.1413, 0.3568, 0.476, 0.3487, 0.1448, 0.0751, 0.174, 0.4037, 0.6295, 0.6305, 0.4108, 0.1687, 0.0462], [0.0051, 0.0267, 0.1113, 0.2937, 0.3942, 0.2891, 0.1274, 0.0801, 0.2248, 0.5352, 0.8324, 0.8271, 0.5293, 0.219, 0.0605], [0.0047, 0.0152, 0.0701, 0.1696, 0.2378, 0.1747, 0.0776, 0.0472, 0.1292, 0.2949, 0.4595, 0.4603, 0.3012, 0.1261, 0.0382], [0.0087, 0.0277, 0.1134, 0.2866, 0.3931, 0.2861, 0.1164, 0.0491, 0.1032, 0.245, 0.3774, 0.3813, 0.2448, 0.1096, 0.0278]]"; json load "rx_m" (ml fit "rx_nmf" "nmf" [S] "{\"n_components\": 2, \"max_iter\": 2000}"); json load "rx_w" (ml model transform "rx_nmf" [S]); -> "[res]" ""; for (-> "[c]" 0) (< [c] 2) (++ "[c]") { -> "[best]" 0; -> "[bv]" -1; for (-> "[j]" 0) (< [j] (json count "rx_m" (concat "/components/[" [c] "]"))) (++ "[j]") { -> "[v]" (json select "rx_m" (concat "/components/[" [c] "]/[" [j] "]")); if (> [v] [bv]) {-> "[bv]" [v]; -> "[best]" [j];}; }; -> "[res]" (concat [res] "dye " (+ [c] 1) " peak at " (+ 400 (* 20 [best])) " nm | "); }; -> "[res]" (concat [res] "reconstruction error " (math round (json select "rx_m" "/reconstruction_error") 4) " | sample 1 amounts: " (math round (json select "rx_w" "/[0]/[0]") 3) ", " (math round (json select "rx_w" "/[0]/[1]") 3)); ml model delete "rx_nmf"; json unload "rx_m"; json unload "rx_w"; [res]
dye 1 peak at 600 nm | dye 2 peak at 480 nm | reconstruction error 0.0257 | sample 1 amounts: 0, 0.407
- The order of the components is arbitrary: identify them by their peak.
- Fit the model on reference mixtures, then
ml model transformgives the amounts of new samples.
Near infrared calibration: protein content by PLS
Thirty-six grain samples have a NIR spectrum (50 wavelengths) and a reference protein content. The light scattering changes the level and the slope of each spectrum: SNV removes it; PLS then links the spectra to the protein, the number of components chosen by cross validation, and predicts the last samples as a test set.
#1. 30 calibration spectra, 6 test spectra; -> "[cal]" "[[0.91502, 0.92383, 0.93292, 0.94152, 0.95012, 0.95898, 0.9678, 0.9775, 0.9867, 0.99645, 1.00543, 1.01556, 1.02715, 1.03975, 1.05342, 1.07072, 1.08573, 1.10015, 1.11084, 1.11973, 1.12312, 1.12574, 1.12859, 1.13554, 1.14371, 1.15728, 1.1716, 1.19056, 1.21082, 1.22977, 1.24866, 1.26407, 1.2757, 1.28162, 1.28472, 1.2849, 1.28097, 1.27919, 1.27892, 1.27923, 1.2818, 1.28804, 1.2941, 1.30154, 1.3096, 1.31791, 1.32584, 1.33388, 1.34427, 1.35238], [1.037, 1.04685, 1.05596, 1.06705, 1.0775, 1.08815, 1.0986, 1.10857, 1.11893, 1.13015, 1.13999, 1.15316, 1.16585, 1.18028, 1.19701, 1.21554, 1.23272, 1.24841, 1.26241, 1.27136, 1.27551, 1.27903, 1.28298, 1.28877, 1.29898, 1.31211, 1.32771, 1.34659, 1.36544, 1.38611, 1.40431, 1.42049, 1.43326, 1.44153, 1.44652, 1.44837, 1.448, 1.44984, 1.44994, 1.45391, 1.45914, 1.46562, 1.47392, 1.48263, 1.49169, 1.50257, 1.51228, 1.5221, 1.53292, 1.54321], [1.11045, 1.121, 1.13341, 1.14428, 1.15646, 1.16864, 1.17883, 1.19072, 1.20193, 1.21409, 1.22691, 1.24133, 1.25805, 1.27734, 1.29919, 1.32435, 1.3483, 1.37082, 1.38573, 1.39341, 1.39574, 1.39566, 1.39529, 1.39883, 1.40629, 1.41951, 1.4365, 1.45624, 1.47919, 1.50174, 1.52256, 1.54138, 1.55595, 1.56483, 1.56916, 1.57051, 1.57142, 1.57157, 1.57352, 1.57746, 1.5823, 1.58898, 1.59927, 1.60858, 1.61993, 1.6299, 1.64296, 1.65254, 1.66475, 1.67664], [1.02374, 1.03269, 1.04208, 1.05187, 1.06264, 1.07194, 1.08234, 1.09171, 1.10104, 1.11297, 1.12294, 1.13393, 1.14728, 1.16344, 1.18083, 1.19905, 1.21965, 1.23547, 1.2486, 1.2551, 1.25862, 1.26069, 1.26173, 1.26724, 1.27623, 1.28871, 1.30663, 1.32606, 1.34725, 1.36961, 1.38998, 1.40678, 1.41839, 1.42614, 1.42863, 1.42724, 1.42529, 1.42414, 1.42162, 1.4232, 1.427, 1.43118, 1.43825, 1.44594, 1.45541, 1.46383, 1.47424, 1.48328, 1.49361, 1.50235], [1.17316, 1.1832, 1.1953, 1.20661, 1.21723, 1.22835, 1.23881, 1.2513, 1.26338, 1.27339, 1.2867, 1.29959, 1.31439, 1.33029, 1.35007, 1.37125, 1.39292, 1.4101, 1.42434, 1.433, 1.43833, 1.43962, 1.44361, 1.44924, 1.46001, 1.47521, 1.49315, 1.51546, 1.53838, 1.5623, 1.58429, 1.60251, 1.61702, 1.62575, 1.62887, 1.63, 1.62832, 1.62664, 1.62684, 1.62919, 1.6335, 1.64037, 1.64795, 1.65736, 1.66673, 1.67793, 1.68949, 1.69975, 1.71102, 1.72363], [1.09176, 1.10105, 1.11184, 1.12234, 1.13223, 1.14312, 1.15345, 1.16378, 1.17509, 1.18504, 1.19657, 1.20925, 1.22472, 1.24096, 1.262, 1.28225, 1.30421, 1.32234, 1.33691, 1.34496, 1.34775, 1.34695, 1.34787, 1.35257, 1.35962, 1.3724, 1.38909, 1.4077, 1.42999, 1.45069, 1.47116, 1.48756, 1.50062, 1.50926, 1.51273, 1.51262, 1.51276, 1.51205, 1.51265, 1.5152, 1.51869, 1.52669, 1.53318, 1.54315, 1.55191, 1.56193, 1.5723, 1.58256, 1.59344, 1.60424], [1.0122, 1.0219, 1.03208, 1.04193, 1.05133, 1.06148, 1.07238, 1.08189, 1.0927, 1.10203, 1.11258, 1.12426, 1.13675, 1.15129, 1.16636, 1.18407, 1.20085, 1.21549, 1.22789, 1.23617, 1.24203, 1.2461, 1.25053, 1.25704, 1.26818, 1.2821, 1.29937, 1.32047, 1.34179, 1.36423, 1.38442, 1.40144, 1.41485, 1.42131, 1.42456, 1.42409, 1.42218, 1.41925, 1.41887, 1.41909, 1.42237, 1.42771, 1.43491, 1.44302, 1.4517, 1.46152, 1.47122, 1.48205, 1.49094, 1.5016], [1.06621, 1.07736, 1.08836, 1.09906, 1.10959, 1.12021, 1.1313, 1.14229, 1.15394, 1.1648, 1.17696, 1.18974, 1.20395, 1.22021, 1.23885, 1.26115, 1.28026, 1.2976, 1.3115, 1.32039, 1.32604, 1.32767, 1.33031, 1.33762, 1.34573, 1.36134, 1.38005, 1.39949, 1.42255, 1.44515, 1.46455, 1.48411, 1.4971, 1.50452, 1.51036, 1.51036, 1.50989, 1.50899, 1.50875, 1.51015, 1.51558, 1.52192, 1.52984, 1.53931, 1.54976, 1.56104, 1.57106, 1.58201, 1.59337, 1.60403], [1.00817, 1.01871, 1.02759, 1.03758, 1.04797, 1.05841, 1.06747, 1.07719, 1.08779, 1.09713, 1.10922, 1.11988, 1.13336, 1.15018, 1.16844, 1.18978, 1.20984, 1.22738, 1.23899, 1.24717, 1.24925, 1.24891, 1.25159, 1.25322, 1.26106, 1.27249, 1.28752, 1.3055, 1.32475, 1.34323, 1.36219, 1.37779, 1.3895, 1.39804, 1.40126, 1.40297, 1.40321, 1.40313, 1.40494, 1.40842, 1.41281, 1.4188, 1.42645, 1.43559, 1.44466, 1.4526, 1.46256, 1.47357, 1.48328, 1.49312], [1.01555, 1.02629, 1.03732, 1.04546, 1.05669, 1.0673, 1.07722, 1.08646, 1.09644, 1.10741, 1.11787, 1.13087, 1.14484, 1.16176, 1.18205, 1.2034, 1.22478, 1.24379, 1.25715, 1.26419, 1.26592, 1.26594, 1.26529, 1.26916, 1.27645, 1.28871, 1.30455, 1.32287, 1.34575, 1.36556, 1.385, 1.40231, 1.41473, 1.42133, 1.42507, 1.42591, 1.4246, 1.42296, 1.4229, 1.42515, 1.42852, 1.43503, 1.44229, 1.45036, 1.46065, 1.47018, 1.47849, 1.48917, 1.49995, 1.50888], [1.06323, 1.07406, 1.08475, 1.09413, 1.10546, 1.11701, 1.12693, 1.13734, 1.14861, 1.16095, 1.17073, 1.1839, 1.19836, 1.21486, 1.23461, 1.25556, 1.27628, 1.29527, 1.30889, 1.31692, 1.32076, 1.32219, 1.3243, 1.32947, 1.33811, 1.35294, 1.37102, 1.39219, 1.41618, 1.43971, 1.46163, 1.48033, 1.49288, 1.50142, 1.50402, 1.50361, 1.50113, 1.49928, 1.49811, 1.49914, 1.50181, 1.50826, 1.51652, 1.52512, 1.53446, 1.5444, 1.55435, 1.56549, 1.57523, 1.58655], [1.03194, 1.04244, 1.05274, 1.06274, 1.07237, 1.08304, 1.09237, 1.10297, 1.11378, 1.12391, 1.13512, 1.14716, 1.16203, 1.17604, 1.1949, 1.21643, 1.23533, 1.25366, 1.26747, 1.27338, 1.27731, 1.27878, 1.28074, 1.28445, 1.29377, 1.3063, 1.32356, 1.34305, 1.3652, 1.38715, 1.40758, 1.42398, 1.43642, 1.44464, 1.44818, 1.44787, 1.44546, 1.44417, 1.44361, 1.44471, 1.44989, 1.45435, 1.46158, 1.47013, 1.4788, 1.48886, 1.49872, 1.50864, 1.51891, 1.52763], [1.08103, 1.09253, 1.10365, 1.11429, 1.12492, 1.13543, 1.14697, 1.15782, 1.16731, 1.17989, 1.19104, 1.20298, 1.2183, 1.23594, 1.2569, 1.27785, 1.30055, 1.31893, 1.33302, 1.34159, 1.34324, 1.34383, 1.34474, 1.34828, 1.35588, 1.36788, 1.38432, 1.40137, 1.42197, 1.44134, 1.46074, 1.47676, 1.48878, 1.49752, 1.50386, 1.50444, 1.50659, 1.50757, 1.51028, 1.51356, 1.51922, 1.52545, 1.53372, 1.54305, 1.55354, 1.56419, 1.57495, 1.58461, 1.59647, 1.60653], [0.87314, 0.88149, 0.89043, 0.90122, 0.90876, 0.91906, 0.9274, 0.93645, 0.9459, 0.95441, 0.96431, 0.97402, 0.98701, 1.00159, 1.01926, 1.03704, 1.05696, 1.07209, 1.08444, 1.09053, 1.09293, 1.09277, 1.09439, 1.09727, 1.10397, 1.11434, 1.13106, 1.14766, 1.16666, 1.18549, 1.20439, 1.21835, 1.23057, 1.2374, 1.24019, 1.23991, 1.23777, 1.23784, 1.23657, 1.23832, 1.24081, 1.24604, 1.25223, 1.26023, 1.26809, 1.27591, 1.28467, 1.29392, 1.30251, 1.31232], [1.00115, 1.01128, 1.02028, 1.02945, 1.04059, 1.049, 1.05898, 1.06831, 1.07835, 1.08849, 1.09874, 1.11014, 1.12145, 1.13574, 1.15056, 1.16627, 1.18244, 1.19755, 1.20867, 1.21687, 1.22127, 1.22515, 1.23069, 1.23659, 1.24674, 1.25973, 1.27464, 1.29224, 1.31256, 1.33158, 1.34898, 1.36525, 1.37556, 1.38368, 1.3882, 1.38932, 1.38952, 1.38864, 1.39009, 1.39209, 1.39539, 1.40138, 1.4089, 1.41823, 1.42658, 1.43574, 1.4451, 1.45365, 1.46411, 1.47357], [0.94402, 0.95208, 0.962, 0.96997, 0.97972, 0.98886, 0.99795, 1.00651, 1.01602, 1.02472, 1.03414, 1.04433, 1.05608, 1.06908, 1.08488, 1.10037, 1.11675, 1.13172, 1.14266, 1.14965, 1.15344, 1.15559, 1.15898, 1.16493, 1.17393, 1.18458, 1.20063, 1.21828, 1.23642, 1.25699, 1.27417, 1.28909, 1.30133, 1.30798, 1.31089, 1.3107, 1.30876, 1.30747, 1.30643, 1.30915, 1.31233, 1.31723, 1.32411, 1.33131, 1.3405, 1.34832, 1.35716, 1.36586, 1.37492, 1.3831], [0.91063, 0.91918, 0.92854, 0.93807, 0.94653, 0.95742, 0.96668, 0.97593, 0.98461, 0.99485, 1.00421, 1.0145, 1.02623, 1.04032, 1.05531, 1.07199, 1.08802, 1.10336, 1.11405, 1.12208, 1.12542, 1.12929, 1.13254, 1.13785, 1.14542, 1.15728, 1.17159, 1.18769, 1.20602, 1.22305, 1.23969, 1.25438, 1.2648, 1.2726, 1.27632, 1.27856, 1.27854, 1.28042, 1.2811, 1.28541, 1.2897, 1.29619, 1.3028, 1.31147, 1.31982, 1.32855, 1.33787, 1.3468, 1.35612, 1.36588], [1.15553, 1.16674, 1.17917, 1.19068, 1.20219, 1.21442, 1.22652, 1.2394, 1.25124, 1.26279, 1.27648, 1.2895, 1.30448, 1.32078, 1.3406, 1.36047, 1.38083, 1.39984, 1.41426, 1.42401, 1.42928, 1.43349, 1.43973, 1.44784, 1.4578, 1.47353, 1.49165, 1.51288, 1.53483, 1.55834, 1.58021, 1.59869, 1.61303, 1.62257, 1.62736, 1.63062, 1.63086, 1.63217, 1.63358, 1.63788, 1.64413, 1.65114, 1.66006, 1.67087, 1.68168, 1.69336, 1.70431, 1.71693, 1.72833, 1.74028], [0.92452, 0.93429, 0.94316, 0.95185, 0.96093, 0.97052, 0.9795, 0.98955, 0.9989, 1.0082, 1.01775, 1.02994, 1.04306, 1.05869, 1.07784, 1.09843, 1.11855, 1.13614, 1.14937, 1.15517, 1.15653, 1.15525, 1.15441, 1.15516, 1.16074, 1.17083, 1.18492, 1.20043, 1.21738, 1.23544, 1.25109, 1.26699, 1.27705, 1.28499, 1.28773, 1.29097, 1.29161, 1.29172, 1.29359, 1.29579, 1.3001, 1.30662, 1.31322, 1.32102, 1.33051, 1.33838, 1.34788, 1.35658, 1.36633, 1.37512], [1.02157, 1.03187, 1.04276, 1.05358, 1.0638, 1.0749, 1.08529, 1.09566, 1.10726, 1.1183, 1.12979, 1.14149, 1.15683, 1.1729, 1.19081, 1.21192, 1.23233, 1.25005, 1.26354, 1.2712, 1.2763, 1.27747, 1.28038, 1.28635, 1.29619, 1.30831, 1.32519, 1.34545, 1.36781, 1.38947, 1.40954, 1.42677, 1.43984, 1.44859, 1.45214, 1.45395, 1.45295, 1.45266, 1.45246, 1.45477, 1.45925, 1.46558, 1.47397, 1.48226, 1.49281, 1.50171, 1.51322, 1.52339, 1.53431, 1.54502], [0.97615, 0.98683, 0.99619, 1.00685, 1.01731, 1.02689, 1.03766, 1.04745, 1.05691, 1.06777, 1.0793, 1.08945, 1.10181, 1.11601, 1.13191, 1.14712, 1.16464, 1.17885, 1.19111, 1.20022, 1.20465, 1.21003, 1.21646, 1.22442, 1.23404, 1.24893, 1.26682, 1.28751, 1.3102, 1.33177, 1.3531, 1.37054, 1.38217, 1.39038, 1.39349, 1.39407, 1.39004, 1.38779, 1.38758, 1.38806, 1.39133, 1.39643, 1.40365, 1.41283, 1.42166, 1.43097, 1.44075, 1.45096, 1.46075, 1.47108], [1.20935, 1.22219, 1.23377, 1.24579, 1.25824, 1.26988, 1.28077, 1.29255, 1.30444, 1.31717, 1.33092, 1.34427, 1.36119, 1.38038, 1.40436, 1.42976, 1.45469, 1.47587, 1.49237, 1.50038, 1.50348, 1.50254, 1.50263, 1.50692, 1.51624, 1.53013, 1.54928, 1.57237, 1.59645, 1.6221, 1.64553, 1.66517, 1.68006, 1.68921, 1.69267, 1.69415, 1.69222, 1.68948, 1.68985, 1.69196, 1.69641, 1.70394, 1.71196, 1.72146, 1.73234, 1.7442, 1.75515, 1.76733, 1.77849, 1.79193], [1.17385, 1.18623, 1.19644, 1.20799, 1.21961, 1.23049, 1.2428, 1.25486, 1.26589, 1.27799, 1.29065, 1.30394, 1.31956, 1.33894, 1.3595, 1.38202, 1.40581, 1.42593, 1.43983, 1.44845, 1.45281, 1.45442, 1.45583, 1.46063, 1.46971, 1.48449, 1.50265, 1.5251, 1.54903, 1.57298, 1.59582, 1.61539, 1.62917, 1.63781, 1.64183, 1.64181, 1.64002, 1.63821, 1.63922, 1.64132, 1.6454, 1.65302, 1.66071, 1.67075, 1.68178, 1.69165, 1.70334, 1.7143, 1.72569, 1.73692], [1.08064, 1.09126, 1.1031, 1.11418, 1.125, 1.13583, 1.14583, 1.15699, 1.16846, 1.17909, 1.19131, 1.20407, 1.2195, 1.23649, 1.2567, 1.27887, 1.30067, 1.32015, 1.3335, 1.34215, 1.34498, 1.34675, 1.34654, 1.35115, 1.3601, 1.37406, 1.39183, 1.41272, 1.43554, 1.45927, 1.48146, 1.50049, 1.51299, 1.5209, 1.52481, 1.52399, 1.52266, 1.52068, 1.52032, 1.52193, 1.52485, 1.53112, 1.53893, 1.54782, 1.55717, 1.56763, 1.57902, 1.58876, 1.60016, 1.61045], [1.00301, 1.01344, 1.0229, 1.03356, 1.04276, 1.05241, 1.06228, 1.07226, 1.0823, 1.09269, 1.1021, 1.11411, 1.12822, 1.14352, 1.16069, 1.18042, 1.19827, 1.21593, 1.22864, 1.23455, 1.23862, 1.24012, 1.24192, 1.24773, 1.25607, 1.26738, 1.2845, 1.30389, 1.32481, 1.34654, 1.36595, 1.38247, 1.39401, 1.40248, 1.4042, 1.40494, 1.40291, 1.40224, 1.40079, 1.40236, 1.4062, 1.41137, 1.41854, 1.42692, 1.4359, 1.444, 1.45371, 1.46445, 1.47429, 1.48284], [1.01387, 1.02571, 1.03361, 1.04516, 1.05614, 1.06749, 1.07743, 1.08708, 1.09804, 1.11123, 1.12065, 1.13594, 1.14992, 1.16777, 1.18958, 1.21286, 1.23602, 1.25679, 1.27092, 1.27859, 1.27989, 1.27844, 1.27725, 1.28064, 1.28772, 1.30023, 1.31712, 1.33668, 1.35922, 1.38067, 1.40243, 1.41987, 1.43293, 1.44156, 1.44435, 1.44501, 1.4433, 1.44276, 1.44248, 1.44416, 1.44822, 1.45487, 1.46194, 1.47148, 1.481, 1.49222, 1.50156, 1.51192, 1.52243, 1.53272], [1.1862, 1.19631, 1.20916, 1.22072, 1.23185, 1.24324, 1.25491, 1.26539, 1.27764, 1.2899, 1.30275, 1.31663, 1.33258, 1.35195, 1.37397, 1.3995, 1.42482, 1.44673, 1.4625, 1.46919, 1.47074, 1.47126, 1.4688, 1.47313, 1.48089, 1.49401, 1.5125, 1.53443, 1.55737, 1.58247, 1.604, 1.62341, 1.63698, 1.64602, 1.65029, 1.64972, 1.64821, 1.6469, 1.64712, 1.64931, 1.6543, 1.66042, 1.66902, 1.67727, 1.6893, 1.70019, 1.71055, 1.72299, 1.73324, 1.74507], [0.88299, 0.89039, 0.90062, 0.90913, 0.91735, 0.92751, 0.93667, 0.94631, 0.95568, 0.96525, 0.97551, 0.9872, 1.0005, 1.01665, 1.03428, 1.05406, 1.07574, 1.09297, 1.10528, 1.11138, 1.1131, 1.11281, 1.11138, 1.11519, 1.12136, 1.13138, 1.14512, 1.16221, 1.18088, 1.19931, 1.21778, 1.23244, 1.24404, 1.25098, 1.25452, 1.25591, 1.25573, 1.25443, 1.25441, 1.25714, 1.26091, 1.26746, 1.27538, 1.2815, 1.29124, 1.29946, 1.30855, 1.31675, 1.32672, 1.33621], [0.99025, 1.00044, 1.00903, 1.02034, 1.03005, 1.04039, 1.05015, 1.06064, 1.07215, 1.08291, 1.09476, 1.10507, 1.11876, 1.13444, 1.15212, 1.17118, 1.19144, 1.2081, 1.2212, 1.22914, 1.23222, 1.2346, 1.23647, 1.24272, 1.25165, 1.2639, 1.27931, 1.29828, 1.31874, 1.33888, 1.35715, 1.37365, 1.38615, 1.39454, 1.39842, 1.39926, 1.401, 1.40139, 1.40081, 1.40529, 1.41059, 1.41543, 1.42449, 1.43264, 1.44212, 1.45187, 1.46155, 1.4719, 1.4829, 1.49243], [0.9723, 0.98154, 0.99201, 1.00148, 1.01263, 1.02274, 1.03277, 1.04262, 1.05322, 1.06354, 1.07517, 1.08663, 1.09924, 1.11545, 1.13091, 1.15089, 1.16903, 1.18447, 1.19727, 1.20529, 1.20993, 1.21363, 1.21736, 1.22274, 1.23202, 1.24553, 1.26194, 1.28104, 1.3027, 1.32357, 1.34323, 1.36016, 1.37155, 1.37995, 1.3839, 1.38449, 1.3841, 1.38259, 1.38362, 1.38601, 1.38998, 1.39756, 1.40318, 1.41199, 1.42128, 1.43234, 1.44118, 1.45235, 1.4615, 1.47181]]"; -> "[test]" "[[1.21451, 1.22636, 1.2378, 1.24987, 1.26078, 1.27382, 1.28564, 1.29787, 1.30915, 1.32121, 1.33391, 1.34708, 1.3618, 1.37782, 1.39467, 1.41465, 1.43369, 1.45155, 1.46511, 1.47493, 1.48198, 1.48767, 1.49394, 1.50247, 1.51583, 1.53318, 1.55393, 1.57744, 1.60279, 1.62885, 1.65372, 1.67308, 1.68798, 1.69699, 1.69947, 1.69968, 1.6973, 1.69478, 1.69312, 1.69561, 1.70023, 1.70575, 1.71401, 1.72296, 1.73435, 1.74494, 1.75669, 1.76822, 1.78033, 1.79188], [1.08469, 1.09585, 1.10648, 1.11656, 1.12713, 1.13842, 1.14838, 1.15811, 1.16926, 1.18099, 1.19121, 1.20343, 1.21758, 1.23315, 1.24996, 1.26935, 1.28794, 1.30587, 1.31833, 1.32662, 1.33105, 1.33312, 1.33672, 1.34291, 1.35241, 1.36566, 1.38176, 1.40124, 1.42177, 1.44252, 1.46074, 1.47749, 1.49049, 1.49965, 1.50377, 1.50554, 1.5052, 1.50561, 1.50687, 1.51004, 1.51402, 1.52018, 1.52896, 1.53753, 1.54643, 1.55798, 1.56771, 1.57878, 1.58869, 1.5983], [0.94137, 0.94973, 0.95898, 0.96777, 0.97824, 0.98519, 0.99611, 1.00408, 1.01312, 1.02199, 1.03216, 1.04392, 1.05622, 1.07185, 1.08993, 1.10919, 1.12885, 1.14552, 1.15722, 1.16444, 1.16574, 1.1638, 1.16433, 1.1673, 1.17482, 1.18531, 1.19986, 1.21777, 1.23689, 1.25705, 1.27389, 1.29021, 1.30158, 1.30813, 1.3107, 1.31105, 1.30989, 1.30743, 1.30665, 1.30806, 1.31181, 1.31705, 1.32259, 1.3314, 1.33874, 1.34689, 1.3559, 1.36536, 1.37476, 1.38282], [1.22801, 1.24, 1.25172, 1.26337, 1.27491, 1.28731, 1.29915, 1.31058, 1.32287, 1.33572, 1.34848, 1.36273, 1.37947, 1.39809, 1.41926, 1.44344, 1.46665, 1.48778, 1.50344, 1.51265, 1.51537, 1.51678, 1.51794, 1.52344, 1.53276, 1.54647, 1.56358, 1.58507, 1.60759, 1.63054, 1.65238, 1.67088, 1.68542, 1.69452, 1.7003, 1.70263, 1.70233, 1.70266, 1.70447, 1.70884, 1.71422, 1.72106, 1.73116, 1.742, 1.75253, 1.76401, 1.77529, 1.78742, 1.7995, 1.81084], [1.1547, 1.16694, 1.1784, 1.18956, 1.20021, 1.21084, 1.22283, 1.23411, 1.24504, 1.25634, 1.26913, 1.28093, 1.29466, 1.311, 1.32793, 1.34697, 1.36652, 1.38189, 1.39601, 1.40453, 1.41082, 1.41642, 1.42033, 1.42965, 1.44054, 1.45743, 1.47631, 1.50006, 1.52413, 1.54981, 1.57294, 1.59212, 1.60597, 1.61397, 1.61726, 1.61652, 1.61399, 1.61169, 1.60998, 1.61038, 1.61422, 1.62052, 1.6273, 1.63761, 1.6478, 1.65767, 1.66896, 1.67955, 1.6916, 1.70172], [1.13602, 1.14815, 1.15875, 1.16936, 1.18083, 1.19182, 1.20249, 1.21242, 1.22466, 1.23515, 1.24737, 1.26075, 1.27426, 1.2908, 1.30895, 1.32854, 1.34845, 1.36609, 1.37919, 1.38843, 1.39358, 1.39676, 1.40113, 1.40772, 1.41798, 1.4314, 1.45039, 1.47137, 1.49343, 1.5163, 1.53791, 1.55466, 1.56822, 1.57729, 1.58132, 1.58229, 1.58201, 1.58119, 1.5815, 1.58427, 1.58847, 1.59417, 1.6033, 1.61232, 1.62389, 1.63328, 1.64391, 1.65565, 1.66649, 1.67731]]"; -> "[y]" "[9.81, 9.58, 14.69, 12.38, 11.1, 13.89, 9.02, 11.07, 13.57, 14.86, 12.53, 12.76, 13.62, 13.77, 8.76, 10.29, 9.87, 9.16, 15.91, 11.74, 8.1, 14.42, 12.86, 13.62, 12.25, 15.56, 15.35, 15.23, 11.36, 10.22]"; -> "[ytest]" "[8.03, 10.48, 15.0, 12.87, 8.74, 9.99]"; #2. SNV on all the spectra (same treatment for the test set); json load "rx_c" (dsp spectra_prep [cal] "[\"snv\"]"); json load "rx_t" (dsp spectra_prep [test] "[\"snv\"]"); json load "rx_p" (stat pls (json select "rx_c" "/spectra") [y] (concat "{\"folds\": 5, \"predict\": " (json select "rx_t" "/spectra") "}")); -> "[res]" (concat (json select "rx_p" "/components") " components: RMSEC " (math round (json select "rx_p" "/rmsec") 3) ", RMSECV " (math round (json select "rx_p" "/rmsecv") 3) " % protein | test RMSEP " (math round (ml metrics rmse [ytest] (json select "rx_p" "/predictions")) 3) " | first test sample " (math round (json select "rx_p" "/predictions/[0]") 2) " (reference 8.03)"); json unload "rx_c"; json unload "rx_t"; json unload "rx_p"; [res]
2 components: RMSEC 0.071, RMSECV 0.078 % protein | test RMSEP 0.078 | first test sample 8.15 (reference 8.03)
- The VIP scores show the wavelengths used by the model: they should be the absorption bands of the protein, not of the water.
- A first derivative ({"step": "sg", "window": 11, "order": 2, "derivative": 1}) also removes the offsets; compare the RMSECV of the preprocessings.
Validation of an analytical method: linearity, LOD/LOQ, precision, trueness
A new HPLC method must be validated before routine use: the calibration over 0.5 to 20 mg/L in triplicate gives the linearity, the lack of fit and the detection and quantification limits (ICH Q2); a certified material at 5.00 mg/L measured 3 times a day for 6 days gives the repeatability, the intermediate precision and the bias (ISO 5725).
#1. Calibration: concentration (mg/L) and peak area; -> "[x]" "[0.5, 1, 2, 5, 10, 20, 0.5, 1, 2, 5, 10, 20, 0.5, 1, 2, 5, 10, 20]"; -> "[y]" "[0.0305, 0.0544, 0.1007, 0.2628, 0.5163, 1.0285, 0.0294, 0.0609, 0.1093, 0.2643, 0.5139, 1.0252, 0.0244, 0.0532, 0.094, 0.266, 0.5157, 1.0274]"; json load "rx_l" (stat linearity [x] [y]); #2. Certified material, 6 days x 3 replicates; json load "rx_p" (stat precision "[5.057, 5.09, 5.118, 4.962, 4.877, 4.902, 4.881, 5.005, 4.886, 4.993, 5.044, 4.838, 5.143, 5.177, 5.075, 5.116, 5.024, 4.996]" "[\"day1\", \"day1\", \"day1\", \"day2\", \"day2\", \"day2\", \"day3\", \"day3\", \"day3\", \"day4\", \"day4\", \"day4\", \"day5\", \"day5\", \"day5\", \"day6\", \"day6\", \"day6\"]" "{\"reference\": 5.00}"); -> "[res]" (concat "r2 " (math round (json select "rx_l" "/r2") 5) ", lack of fit p = " (math round (json select "rx_l" "/lack_of_fit/p_value") 3) ", LOD " (math round (json select "rx_l" "/lod") 3) " mg/L, LOQ " (math round (json select "rx_l" "/loq") 3) " mg/L | repeatability RSD " (math round (json select "rx_p" "/repeatability_rsd_percent") 2) " %, intermediate RSD " (math round (json select "rx_p" "/intermediate_rsd_percent") 2) " % | recovery " (math round (json select "rx_p" "/recovery_percent") 1) " % (bias p = " (math round (json select "rx_p" "/bias_p_value") 3) ")"); json unload "rx_l"; json unload "rx_p"; [res]
r2 0.99985, lack of fit p = 0.118, LOD 0.293 mg/L, LOQ 0.888 mg/L | repeatability RSD 1.31 %, intermediate RSD 2.11 % | recovery 100.2 % (bias p = 0.795)
- The LOD from the calibration residuals is conservative; with blanks use stat lod_blank (CLSI EP17).
- stat nordtest combines the intermediate precision and the bias into the measurement uncertainty of the method.
