My first intuition was to use a t-test, but after looking in my memories and then in wikipedia I could not discern a conclusive answer...
In my course I want to talk about the rationale of the t-test in comparision to the chi-square (with which I compare the distribution of men/women in my sample with an expectation/theoretical distribution). So I want to ask: are the empirical means of body-heights for men and women the same as the expected/theoretical means in the population? and thought I could simply carry over that rationale of the chi-square to the t-test. But after reading some simple sources I can't yet see, how I could apply that test. Or do I need another thing?
(disclaimer: I've no question about the t-test as a test for the significance of the difference of means of two groups in my sample, say: whether the means of body-heights of men and women are significantly different in an assumed population - that's not my question)
[Update]: According to Peter I could t-test the likelihood of equality of the means between sample-groups and expectations for the men and for the women separately. However, then I have two probabilities, but where I want to get one (for the combined result).
Moreover,the focus of the motivating question is more the conceptual one: in an introductory course I want to step from the explanation of the chi-square as a test, where I compare the empirical frequency table with an expected/theoretical one, towards the same concept concerning the means instead of the frequencies. So to say: to introduce a measure for the likelihood that a set of parameters (here: means) in the sample is the same as in the expectation/population. I thought, the t-test would be the "natural" candidate for this - but that's the reason, why I asked in the title "what is the required test (...)?" - I assumed the t-test were the "natural" candidate here...