In an attempt to export the p-values from the kap command to an excel file as part of the postfile command I have been creating them directly (as they are not stored in r()) using:
1-normal(abs(z))
However, I am getting different values from the kap command for some variables. From looking at the kap.ado file it looks as though the kap command is using
1-normprob(return(z))
This is fine when the observed agreement is greater than the expected agreement but shouldn't it be using the absolute value of z when z is negative?
I'm happy to be corrected but I can't see why this is not using the absolute value.
Any thoughts on this?
Laura
1-normal(abs(z))
However, I am getting different values from the kap command for some variables. From looking at the kap.ado file it looks as though the kap command is using
1-normprob(return(z))
This is fine when the observed agreement is greater than the expected agreement but shouldn't it be using the absolute value of z when z is negative?
I'm happy to be corrected but I can't see why this is not using the absolute value.
Any thoughts on this?
Laura
Comment