Hello,
I posted this question a few days ago, and I am trying to use the lincom command to find the P-test, t-test, confidence interval and coefficient between two variables. This is actually for a Stata-led statistics class as I am a Ph.D. student. All the lincom examples given in the text and the variables asked in the homework all result in the same error. Below is my Do-file for an example:

mean egalitarianism [pw=nesw], over(Female)
lincom [egalitarianism]Male - [egalitarianism]Female


However, with lincom I continue to get the same error command:

equation [egalitarianism] not found
r(303);


Does anyone have suggestions I may use to find the same needed results without using the lincom command?