<p>If you watch closely, you will find out that the slope of the lines is -1. I.e. the values of y along every one of the lines are exactly equal. That is you get this lines only because you have great many cases for which the left hand side variable is equal. The lines are visible because relative to the number of observations there are not that many different values of y.</p>

CC BY-SA 4.0
2020-03-01T21:52:15.190Z
Thank you for a really clear answer!  It's true, I only have about 40 distinct values for my left hand side variable.  Follow up question:  Would you say that this pattern is problematic for statistical inference?
Tómas Bjarnason
CC BY-SA 4.0
2020-03-01T21:58:25.210Z
@TómasBjarnason Well, not necessarily. Of course if you are modelling income and have many zeros on the left hand side you may want to consider a  Tobit model.
Grada Gukovic
CC BY-SA 4.0
2020-03-01T21:31:37.760Z
2020-03-01T21:31:37.760Z
Grada Gukovic
<p>Hello Stack Exchange community,</p>

<p>I'm running a regression on a survey dataset which consists of 45,381 individuals in 36 countries using Stata.  My model is specified as:</p>



<pre><code>reg income religious `controls' [pweight=Combinwt], cluster(village)
</code></pre>

<p>where Combinwt is the probability weight and standard errors are clustered at the village level, since the survey is performed by randomly choosing villages in a region and then randomly choosing individuals within that village.</p>

<p>When I ask Stata to produce a residuals vs. fitted plot, this is the result:</p>

<p><a href="https://i.sstatic.net/2VgD2.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2VgD2.png" alt="Residuals vs. fitted plot of OLS regression"></a>
I have never seen an rvf plot that looks like this before.  Does anyone have any ideas for what could explain the shape of the plot?</p>

<p>Best regards,</p>

<econometrics><regression><statistics>
Does anyone recognize the shape of this residuals vs. fitted plot?
Tómas Bjarnason
# Does anyone recognize the shape of this residuals vs. fitted plot?

(Asked by: username_0 on 2020-03-01)

Hello Stack Exchange community,
I'm running a regression on a survey dataset which consists of 45,381 individuals in 36 countries using Stata.  My model is specified as:
reg income religious `controls' [pweight=Combinwt], cluster(village)

where Combinwt is the probability weight and standard errors are clustered at the village level, since the survey is performed by randomly choosing villages in a region and then randomly choosing individuals within that village.
When I ask Stata to produce a residuals vs. fitted plot, this is the result:

I have never seen an rvf plot that looks like this before.  Does anyone have any ideas for what could explain the shape of the plot?
Best regards,

**Tags:** econometrics, regression, statistics


---

## 1 answers

### Answer by username_1 on 2020-03-01. Score: 2

If you watch closely, you will find out that the slope of the lines is -1. I.e. the values of y along every one of the lines are exactly equal. That is you get this lines only because you have great many cases for which the left hand side variable is equal. The lines are visible because relative to the number of observations there are not that many different values of y.

> **Comments:**
> **username_0**: Thank you for a really clear answer!  It's true, I only have about 40 distinct values for my left hand side variable.  Follow up question:  Would you say that this pattern is problematic for statistical inference?  
> **username_1**: @TómasBjarnason Well, not necessarily. Of course if you are modelling income and have many zeros on the left hand side you may want to consider a  Tobit model.  

---

