Heinera wrote:"In particular then, the program can be run with N = 1 and all four possible pairs of measurement settings, and the same initial random seed, and it will thereby generate successively four pairs (A,B), (A',B), (A,B'), (A,B'). If the programmer neiter cheated or made any errors, in other words, if the program is a correct implementation of a genuine LHV model, then both values of A are the same, and so are both values of A', both values of B, and both values of B'. We now have the first row of the Nx4 spreadsheet of Section 2 of this paper." (My emphasis.)
In other words, if the model is not a LHV model (e.g., a non-local model) both values are not generally the same, and there will be no table; no upper bound of 2.
You still don't have a clue:
1 - If you measure (A,B), (A',B), (A,B'), (A,B') on a different particle pair, the A in (A,B) can be different from the A in (A,B') without any mistake or cheating.
2 - If you measure the same particle at a (A,B), and exactly the same particle again at (A,B'), then A in (A,B) can be different from the A in (A,B') without any mistake or cheating.
3 - The only way to measure (A,B), (A',B), (A,B'), (A,B') on the same particle, and make sure the A in (A,B) and the A in (A,B') are the same (and each outcome is the same in each pair), is to measure the same particle pair, simultaneously at (A, A', B, B'), an impossibility. Therefore a genuine experiment testing S <= 2 is impossible.
4 - If the probability of obtaining H for a coin is 0.75, the probability of the counter-factual H outcome for the same coin cannot be 0.75 too. It must be 0.25.
5 - No 4xN spreadsheet can violate the S <= 2. It doesn't matter where you get your data to put in the spreadsheet, from LHV/QM/non-local model/non-real model/statistical error etc.
6 - The correct inequality for 4 different 2XN spreadsheets is S<= 4, it doesn't matter where you get your data to put in the spreadsheet, from LHV/QM/non-local model/non-real model/statistical error etc. 4 *different* 2xN spreadsheets can easily violate S <= 2, because that inequality does not apply to such data. It is a mathematical error to even compare them.
7 - It is utter nonsense to compare an inequality derived from a 4xN spreadsheet, with data in the form of 4 different 2xN spreadsheets, even if your 4 *different* 2xN spreadsheets are randomly sampled from a single 4xN spreadsheet. What determines the upper bound is the degrees of freedom in the data, not the degrees of freedom in the original spreadsheet you randomly sampled from.
8 - These inequalities have nothing to do with physics, they are mathematical tautologies about real numbers and degrees of freedom. Please read the Rosinger paper carefully. Their violation points to a mathematical error in their application. Nothing can violate them.
9 - No EPRB experiment will ever be done which produces a 4xN spreadsheet, as it must if it purports to *test* the S <= 2 relationship. As long as they keep producing 4 *different* 2XN spreadsheets, the appropriate inequality is S <= 4, and it will never be violated.
These are the points that continue to elude you and Richard and many other Bell worshipers.