The value of secrecy is for protecting wives, mothers, etc from violence and punishment. the same is also true in local elections in particular. You could be ostracized from public services in a heart beat if they knew your vote. I can think of a hundred other reasons why a secret ballot is better than a public ballot. A secret ballot is necessary for safety, courtesy, and well being of a society.