Re: [R] Prediction intervals (i.e. not CI of the fit) for monotonic loess curve using bootstrapping

2014-08-19 Thread Jan Stanstrup
Sorry. I have updated the code to have include the knot selection (https://github.com/stanstrup/retpred_shiny/blob/master/retdb_admin/make_predictions_CI_tests.R). I am working on the Good data at the moment. - Jan. On 08/18/2014 08:14 PM, David Winsemius wrote: I had that result

Re: [R] Prediction intervals (i.e. not CI of the fit) for monotonic loess curve using bootstrapping

2014-08-19 Thread Jan Stanstrup
with basically zero width intervals. At 0.2 it breaks (There is at least one pair of adjacent knots that contains no observation.). Not so great for my use case where I need to build many models unsupervised. - Jan. On 08/19/2014 09:44 AM, Jan Stanstrup wrote: Sorry. I have updated

Re: [R] Prediction intervals (i.e. not CI of the fit) for monotonic loess curve using bootstrapping

2014-08-18 Thread Jan Stanstrup
The knots are deleted anyway (Deleting unnecessary knots ...). It seems to make no difference. On 08/14/2014 06:06 PM, David Winsemius wrote: On Aug 14, 2014, at 7:17 AM, Jan Stanstrup wrote: Thank you very much for this snippet! I used it on my data and indeed it does give intervals

Re: [R] Prediction intervals (i.e. not CI of the fit) for monotonic loess curve using bootstrapping

2014-08-14 Thread Jan Stanstrup
there are few points. For example at x = 2.5. Is there some other parameter I would be adjusting? -- Jan Stanstrup Postdoc Metabolomics Food Quality and Nutrition Fondazione Edmund Mach On 08/14/2014 02:02 AM, David Winsemius wrote: On Aug 12, 2014, at 8:40 AM, Bert Gunter

Re: [R] Prediction intervals (i.e. not CI of the fit) for monotonic loess curve using bootstrapping

2014-08-13 Thread Jan Stanstrup
. -- Jan Stanstrup Postdoc Metabolomics Food Quality and Nutrition Fondazione Edmund Mach On 08/12/2014 05:40 PM, Bert Gunter wrote: PI's of what? -- future individual values or mean values? I assume quantreg provides quantiles for the latter, not the former. (See ?predict.lm for a terse

[R] Prediction intervals (i.e. not CI of the fit) for monotonic loess curve using bootstrapping

2014-08-12 Thread Jan Stanstrup
that for boot.ci. Does there exist a way to get PIs after bootstrapping? If some sample code is required I am more than happy to supply it but I thought the question was general enough to be understandable without it. Any hints are highly appreciated. -- Jan Stanstrup Postdoc