Re: [R] Leave One Out Cross Validation

2009-06-20 Thread muddz
vhfunc(ydat,xdat,.2);test2 Thanks. -Mudasir > } David Winsemius wrote: > > > On Jun 19, 2009, at 7:45 PM, muddz wrote: > >> >> Hi Uwe, >> >> My apologies. >> >> Please if I can be guided what I am doing wrong in

Re: [R] Leave One Out Cross Validation

2009-06-20 Thread muddz
uot;) # I want to minimize the CV function with respect to h. Thanks. Uwe Ligges-3 wrote: > > See the posting guide: > If you provide commented, minimal, self-contained, reproducible code > some people may be willing to help on the list. > > Best, > Uwe Ligges > >

[R] Leave One Out Cross Validation

2009-06-14 Thread muddz
Hi All, I have been trying to get this LOO-Cross Validation method to work on R for the past 3 weeks but have had no luck. I am hoping someone would kindly help me. Essentially I want to code the LOO-Cross Validation for the 'Local Constant' and 'Local Linear' constant estimators. I want to fin