Joy Christian wrote:jreed wrote:This sounds exactly like what I'm saying: You start with the vectors {x, y, z} and using the R function "length", you cut out some of the values where the observations on this set have zeros, ending up with the new collection {o, p, q}. {o, p, q} are then analyzed. Isn't this correct?
No. That is not correct. Your mistake is in this phrase: "observations on this set have zeros." What observations? No one is making any observations on the set {x, y, z}. The vector w = {x, y, z} in the simulation is not the initial state, and the functions C and D are not what is observed by Alice and Bob. So why do you keep referring to the functions C and D as "observations"? These functions have nothing to do with the observations made by Alice and Bob.
I ran the small simulation and again started with 10 samples. 6 of these were non-zero. Here are the starting values of x, y, z, the points on the unit sphere:
x = {0.443175, -0.964391, -0.653491, 0.349304, 0.825805, -0.815974,
-0.0922178, 0.365188, -0.812601, 0.891069}
y = {0.89448, -0.145578, 0.692179, 0.870631, 0.474944, 0.362727,
-0.988365, 0.0164345, -0.185999, 0.412685}
z = {-0.05918, 0.220811, -0.306329, 0.346393, 0.304096, 0.450128,
-0.120955, 0.930789, 0.552344, -0.188908}
Now I found the samples o, p, q, obtained by eliminating zero values from x, y, z:
o = {0.443175, -0.964391, 0.825805, -0.815974, -0.812601, 0.891069}
p = {0.89448, -0.145578, 0.474944, 0.362727, -0.185999, 0.412685}
q = {-0.05918, 0.220811, 0.304096, 0.450128, 0.552344, -0.188908}
If you examine these, you'll find the values in o, p, and q are all in the x, y, z arrays. It is incorrect to say that x, y, and z were not observed. The program observed these to find the vectors o, p, and q, which are the values of the x, y, and z vectors where the detector got a value larger than the function f.