Re: I need help to find minimal result




"bland" <bland@xxxxxxxxxxxxxxx> wrote in message
news:dm9p7r$sou$1@xxxxxxxxxxxxxxxxxxxxxxx
>
> "fangvv" <fangvv@xxxxxxxxx> wrote in message
> news:1132971677.849762.72740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> hi
>>
>> given {wi, xi, yi} 1<=i<=n
>>
>> find X, Y
>>
>> 1. min{xi}<=X<=max{xi}
>> 2. min{yi}<=Y<=max{yi}
>> 3. X Y must make {sum(sqrt((X-xi)*(X-xi)+(Y-yi)(Y-yi)))} is minimal
>> result.
>
> what happened to wi ?
> to minimise the sum square (maximum likelihood for Gaussian samples), set
> X = mean(xi), Y = mean(yi)

.......well maybe not. I misread the brackets, its the minimum of the
Euclidean distance thats wanted.
Probably there are no easy answers.



.