Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: non-mse error criterion for linear regression
Replies: 1   Last Post: Oct 14, 2013 6:03 PM

 Messages: [ Previous | Next ]
 Greg Heath Posts: 6,387 Registered: 12/7/04
Re: non-mse error criterion for linear regression
Posted: Oct 14, 2013 6:03 PM

Aseman <andalibar@gmail.com> wrote in message <cfe4cd27-cb78-479f-bae8-9fa815bf8654@googlegroups.com>...
> hi
>
> Consider a robust regression problem like this
> x = (-1:0.02:1)';
> y = x+0.9*normrnd(0,0.1,length(x),1)+0.1*normrnd(4,0.1,length(x),1);
> brob = robustfit(x,y)

Try replacing the first term of y with a*x+b

> I belive that both regress and robustfit employ mean square error. How can I used a different error criterion to solve the same problem?

If either of these do not have a weighting option, consider

help lscov
doc lscov

Otherwise consider a neural network with 0 (or more) hidden nodes. Options include
combinations of weighting, MSE, SSE, MAE and SAE.

Hope this helps

Greg

Date Subject Author
1/31/13 andalibar@gmail.com
10/14/13 Greg Heath