
David B. answered 07/01/21
Math and Statistics need not be scary
If I understand your question properly, you want to select an initial state for each switch to minimize changes that might be necessary after optimization. Since the states are binary, you can't calculate an expected value. Instead you calculate an odds ratio to decide on best state.
Quick way to estimate would be to take the mean for the values of each switch over all the runs. If there is a true preference, you should have a proportion or p. of something other than .5.
Based on the sample size, your actual decision bounds (based on 2 sigma limits) would be [.47 .53].
so if your proportion for a switch is less than .47 you should set it to 0, if more than .53, set it to 1