Sorta long, sorry.
My work is in the area of very very high-reliability electronics. So we have a strict rule: exposed pure tin (Sn) is not allowed, and pure Sn finishes/platings are not allowed. This is because “tin whiskers” can grow from pure Sn, causing short circuits. To prevent this from happening, we require solder to contain at least 3% lead (Pb) by mass. (Traditional solder is 63% Sn and 37% Pb.) Also, the plating/finish on component terminals/leads cannot be pure Sn; the finish must contain at least 3% Pb. (A traditional solder finish is best, as it contains 37% Pb. But we allow all the way down to 3% Pb. But not lower.)
A contractor assembled a bunch of printed circuit boards (PCBs) using traditional solder (63% Sn / 37% Pb), which is good. But… some of the capacitors that were soldered to the PCBs had a pure Sn finish on the leads/terminals. ![]()
Now, in the areas where the solder covered the terminals during soldering, it’s fine. But the solder did not completely cover the top of the terminals. This explains it better:
The contractor said, “Nothing to worry about. Even though it doesn’t look like it, some of the solder did make its way to the top of the terminal, which means some Pb made its way to the top of the terminal.” To prove this, they measured the percentage of Pb at the top of the terminals for each capacitor using XRF. They took five measurements on each terminal. Here is data from one terminal for one of the capacitors:
(That’s not the actual data or actual photo, but close to it.)
Contractor is saying, “See, look! The lowest value on that terminal is 3.6% Pb, which is higher than the 3% minimum. All is good!”
So I thought, hmm, let’s do some statistics on this. So I estimated the population mean by doing this:
N = 5
Degrees of freedom (DF) = 4
Sample average = 6.26
sample standard deviation (sn-1) = 3.494
Confidence level (CL): 95%
t_value = 2.776 (based on DF and CL)
Therefore, and with 95% confidence, the population mean is estimated to be:
6.26 ± (t_value * sn-1)/sqrt(N)
= 6.26 ± (2.776 * 3.494)/sqrt(5)
= 6.26 ± 4.34, or between 1.92 and 10.60
So with 95% confidence, the population mean is estimated to be between 1.92% Pb and 10.60% Pb.
Is the above correct and valid? And is this the best way for me to do this? I’m thinking it would be better to compute the probability the population mean is less than 3%. Or perhaps even better, the percentage of the population that is less than 3%. But I don’t know much about statistics, and don’t know how to do that.