external validity
External validity examines whether the study findings can be generalized to other contexts
Ecological validity examines, specifically, whether the study findings can be generalized to real-life settings; thus ecological validity is a subtype of external validity