Without the data, it is difficult to know how the response might be affected by the 'female' and 'agegroup' variables. However, in general, what you describe can when you add or exclude a categorical variable to a model. It is known as Simpson's Paradox and it means that the within-group relationships between variables are different from the between-group relationships. There are some pictures in the Wikipedia article that show why it occurs. You might try graphing your data in a similar fashion to see if it reveals whether Simpson's paradox is responsible for what you are seeing.
... View more