Hi all,


I have a set of data that looks something like this:

90 6
80 5
70 4
60 3
50 2
960 missing data

When I want to draw a line of best fit graph + scatter plot overlay using this command: twoway scatter Y X || lfit Y X
the range of the axis gets thrown off by the outlier data that does not contribute to the model - it is paired with a missing data.
Is there a way that can I get stata to omit that unpaired data(s) when making this graph?

much thanks