You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dists = sqrt(dists)
sig = sqrt(0.5 * np.median(dists[dists > 0]))
Since dists is transformed once, there is no need apply sqrt on the median.
If X and Y in example.m is changed by multiplying 1000, I can see the outcome of tests is changed.
Should the second line be
sig = sqrt(0.5) * np.median(dists[dists > 0])
Once I change the second line, the test becomes immune to the scale of X or Y.
The text was updated successfully, but these errors were encountered:
Since dists is transformed once, there is no need apply sqrt on the median.
If X and Y in example.m is changed by multiplying 1000, I can see the outcome of tests is changed.
Should the second line be
Once I change the second line, the test becomes immune to the scale of X or Y.
The text was updated successfully, but these errors were encountered: