Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lincom issue

    Hello,
    I am a Ph.D. student using Stata for a statistics class. Unfortunately, I am continually having issues with the "lincom command". For example when I run the following command:
    "lincom [egalitarianism]Male - [egalitarianism]Female" I continue to get the error equation [egalitarianism] not found r(303). The funny thing is that it is an example from a Stata workbook which should work as the code is correct and exact. Each other lincom examples also give me the same error code, although when my professor used it he was able to do the calculation with no error. Instead of an error, I should receive information concerning the Standard Error, P-Value and other similar information.
    I am actually typing it exactly as it is in the book, but each time I run it, I still get the the same error. Is this an issue with Stata itself, or is it an issue with my own data set?
    Thank you,
    Matthew Gomez

  • #2
    What is the code of the regression you're running before your lincom command? With a lot of regression commands you can add the coeflegend option to see how the coefficients can be referred to. It seems that you're missing a _b maybe but I cannot tell as you don't give specific code.

    Comment

    Working...
    X