Intereting Posts

How to test if a graph is fully connected and finding isolated graphs from an adjacency matrix
Uniform distribution on the surface of unit sphere
Martingality Theorem: Solving expectation of a stochastic integral
Using induction for an easy proof for formal languages
How many 4-element subsets of a given set contain no consecutive integers
Curves with constant curvature and constant torsion
The series expansion of $\frac{1}{\sqrt{e^{x}-1}}$ at $x=0$
Limits and derivatives – two questions
Orientations on Manifold
Prove that the difference between two rational numbers is rational
Write the closed interval $$ as the union of semi-intervals.
Looking for an alternative proof of the angle difference expansion
Power Series Solution for $e^xy''+xy=0$
If $f'$ is increasing and $f(0)=0$, then $f(x)/x$ is increasing
Prove $ 1 + 2 + 4 + 8 + \dots = -1$

What I know to begin with is that the sum will be 0 if there is a y-intercept b0 , why is that? my book doesnt say and can’t figure it out. I also know that an importantant assumption for the OLS estimators to be BlUE is that x and the erros can’t be corralated otherwise the estimators would be biased. This correlation assumption may entail problems so we take one step further and we assert that by combining E(u)=0 ( an assumption that the book doesnt explain where it comes from) + E(u|x) – the average value of u doesnt depend on the value of x) , we get E(u)=0=E(u|x). so this assumption is somehow related to that the sum of residuals should be 0. But how do I mathematically prove that?

Sorry if I have been a bit unclear but I am a quite confused, it seems all this topic quite redundant to me , like of the assumptions that jusify the method are infered from the method itself..

- Conditional expectation to de maximum $E(X_1\mid X_{(n)})$
- How to find distribution of order statistic
- iid and correlated order statistics a comparison
- Expectation of the maximum of gaussian random variables
- Mean and variance of the order statistics of a discrete uniform sample without replacement
- How to solve this confusing permutation problem related to arrangement of books?

- Why are additional constraint and penalty term equivalent in ridge regression?
- Proof of upper-tail inequality for standard normal distribution
- Number of bit strings of length $n$ with no $k_1+1$ consecutive 0s and no $k_2+1$ consecutive 1s.
- Expected value of Bernoulli random variables
- Frequency of Math Symbols
- Show that $C(n,k) = C(n-1,k) + C(n-1,k-1)$
- How many books are in a library?
- Finding UMVUE of $p^s$ in Bernoulli distribution
- Probability that $X \ge Y$ given N rolls on a d20
- Point of maximal error in the normal approximation of the binomial distribution

I have answered the other question of yours about why the OLS residuals are zero, when an intercept is included in the regression.

The stochastic assumptions on the *error term*, (not on the residuals) $E(u) = 0$ or $E(u\mid X) = 0$ assumption (depending on whether you treat the regressors as deterministic or stochastic) are in fact justified by the same action that guarantees that the OLS *residuals* will be zero: by including in the regression a constant term (“intercept”).

Consider the specification

$$y_i = b_0 + b_1x_i + u_i\,,\; E(u) = 0$$

Consider the alternative specification

$$y_i = b_1x_i + \varepsilon_i\,,\; E(\varepsilon_i) = b_0 $$

The expected value of $y$ in these two different specifications *is the same* -and it is the expected value of $y$ that we are essentially estimating in an OLS regression(see this post).

In other words, the constant term plays the role of, (or absorbs together with other constants coming from the theory behind the model) the non-zero mean of the error term, and permits us to assume safely that the “remaining” error-term has a zero mean (and this is why it is strongly advised from every corner to always run a regression including a constant term).

And then, it also gives us that the sum of OLS residuals will be zero. What more to ask from a constant?

- Is there a General Formula for the Transition Matrix from Products of Elementary Symmetric Polynomials to Monomial Symmetric Functions?
- Motivation for triangle inequality
- How to find shortest distance between two skew lines in 3D?
- Functional equation $f(xy)=f(x)+f(y)$ and continuity
- A finite set always has a maximum and a minimum.
- History of Dual Spaces and Linear Functionals
- Algorithm to compute Gamma function
- Help minimizing function
- Dividing an angle into $n$ equal parts
- the image of normal subgroups
- volume of projective space $\text{Vol}(\mathbb CP^N)$
- Uncountable family of uncountable compact subsets of $\mathbb{R}$
- Understanding of the theorem that all norms are equivalent in finite dimensional vector spaces
- Complex Galois Representations are Finite
- What is the equation for a 3D line?