A model of learning to teach statistical inquiry