Minimize parameter for Least Absolute Deviation LAD

dabd
Messages
25
Reaction score
0
How to compute \beta = arg min_\beta \sum_{i=1}^N {|y_i - x_i^T \beta|
 
Physics news on Phys.org
There is no closed-form solution for this (contrary to the situation with least squares). The software you use (R, SAS, etc) use a variety of methods. check the relevant documentation for those programs.
 
statdad said:
There is no closed-form solution for this (contrary to the situation with least squares). The software you use (R, SAS, etc) use a variety of methods. check the relevant documentation for those programs.

I was just interested in the calculation not in applying it to real data.
The estimate is the median of the data x1,...,xn and I wanted to see how they derived that result.
 
No, the estimates are not the medians of the x values - if that were the case we would have a "closed form" method of calculation.

Where you may be confused is this: if you want to minimize

<br /> \sum_{i=1}^n |x_i - a|<br />

as a function of a, the solution is the sample median. This does not generalize to regression.
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top