Announcement

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

  • residual plot - examining outliers

    Dear all,

    currently, I am working on a project on capital structures. This project is made with a OLS multiple regression analysis. In my analysis, I am assessing the problem of heteroskedasticity via the "rvfplot" command in Stata. I found a few outliers here, which I would like to investigate (circled in red).


    Click image for larger version

Name:	Graph.png
Views:	1
Size:	15.9 KB
ID:	1473892


    However, I cannot find a good command which gives me the opportunity to look at these specific observations. Is there any way to do this?

    Thanks in advance for your help!

    Sebastian

  • #2
    I can think of a couple of ways of doing this; probably the easiest is to use the marker label option to label the points with some distinct value (e.g., id); see
    Code:
    help marker_label_options

    Comment


    • #3
      If you have an identification variable in your dataset such as id or any other variable that you can use for the investigation, you can just add that variable in 'mlab(variable)' option after rvfplot command:
      Code:
       rvfplot, yline(0) mlab(id)
      Roman

      Comment


      • #4
        Thanks for your fast reply. I found the solution to my problem: rvfplot, mlabel(varname). I have seen too many numbers today...

        Sometimes writing down the problem helps a lot!

        Thanks!

        Comment

        Working...
        X