for an entire population, you calculate z using z = (x-mean)/(SD),
where SD is the standard deviation.
For a sample of a population,
which is a little group (like a class of students out of all the schools in the country),
you calculate z in a different way.
For a sample z = (x-mean)/(Q), where Q is (SD)/{sqrt(n)}.
Therefore, first you calculate the square root on "n" for both guys and girls,
since there are different figures for both, including different "n".
Then you divide the standard deviation by sqrt(n).
This is your new denominator Q.
Use the values of x, mean, SD and n for guys to get a z-value for guys,
then do the same procedure for girls.
You will now have two z-values.
For guys, Q = 8945/{sqrt40} = 8945/(6.3) = 1414.3,
so their z-value is (59235-58500)/1414.3 = 735/1414.3 = 0.52.
For girls Q = 10125/{sqrt35} = 1711.4,
so the girls' z-value is (52487-49339)/1711.4 = 1.84.
Now you need to correctly interpret what these two z-values mean.
For the guys, z = 0.52 gives a reading of 0.6985.
This means that 0.6985 or 69.85% of the graph lies to the left of that z-value.
The 0.01 level means the 1% level, meaning the first 0.5% and last 0.5% of the graph,
which is the first 0 to 0.5% and last 99.5% to 100%.
Reading off those values corresponding to 0.005 and 0.995, we get z = -0.258 and 2.58 approximately.
Z would need to be less than or equal to -2.58 or greater than or equal to 2.58,
to be in the extremes mentioned.
99% of the time, z will be between those limits.
If outside those limits, we would say there was only a 1% chance of that, so chances are we can't trust these readings.
As both values of z are within the limits, we can say, chances are the boys and girls' distributions have been
accurately formulated and there is a discrepancy between their wages.
I'm sorry this is late, but you learn if you try.