function to create four types of bootstrap CI