Effective study designs and analysis plans for observational and experimental studies