[R] arg min ???
Peterko
lanikpeter at gmail.com
Thu Nov 26 09:14:47 CET 2009
Petr that is what i was looking for.
Thanks
p.s. "ak si nahodou z Prahy mas u mna Pivo"
Petr Pikal wrote:
>
> Hi
>
> r-help-bounces at r-project.org napsal dne 25.11.2009 16:50:49:
>
>>
>> This is nice, but i have to define vector of possible theta, this is not
> what
>> i want to do.
>> I have vector of unknow parameters theta. I have som estimate of theta,
> but
>> i want to do better estimate of them, using some criterion function.
>> I mean it is clasical argmin f(x_1,x_2,...x_n) to fit vector
>> (x_1,x_2...,x_n)`
>
> I am not sure what you mean by argmin, but maybe you could look at ?optim
>
> Regards
> Petr
>
>>
>>
>> David Winsemius wrote:
>> >
>> >
>> > On Nov 25, 2009, at 9:15 AM, Peterko wrote:
>> >
>> >>
>> >> Is there function what aproximate vector of parameters some function
>> >> to
>> >> minimum ?
>> >>
>> >> tet={tet1,tet2} .... i have they starting value
>> >>
>> >> and i want to find the tet what minimalizing some function of tet ?
>> >
>> > ?which.min
>> >
>> > Perhaps:
>> >
>> > which.min( fn(tet) )
>> >
>> >>
>> >> thanks
>> >> --
>> >> View this message in context:
>> >> http://old.nabble.com/arg-min-----tp26513358p26513358.html
>> >> Sent from the R help mailing list archive at Nabble.com.
>> >>
>> >> ______________________________________________
>> >> R-help at r-project.org mailing list
>> >> https://stat.ethz.ch/mailman/listinfo/r-help
>> >> PLEASE do read the posting guide
>> >> http://www.R-project.org/posting-guide.html
>> >> and provide commented, minimal, self-contained, reproducible code.
>> >
>> > David Winsemius, MD
>> > Heritage Laboratories
>> > West Hartford, CT
>> >
>> > ______________________________________________
>> > R-help at r-project.org mailing list
>> > https://stat.ethz.ch/mailman/listinfo/r-help
>> > PLEASE do read the posting guide
>> > http://www.R-project.org/posting-guide.html
>> > and provide commented, minimal, self-contained, reproducible code.
>> >
>> >
>>
>> --
>> View this message in context:
> http://old.nabble.com/arg-min-----tp26513358p26515110.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
View this message in context: http://old.nabble.com/arg-min-----tp26513358p26525273.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list