Re: [R] Fit continuous distribution to truncated empirical values

2011-11-14 Thread Michele Mazzucco
Hello David, thanks for your answer. I have done as you told me, however the fit is very poor, much worse than that obtained from using the whole dataset (without upper bound). Any idea? Thanks, Michele On Nov 4, 2011, at 8:56 PM, David Winsemius wrote: On Nov 3, 2011, at 7:54 AM, Michele

Re: [R] Fit continuous distribution to truncated empirical values

2011-11-14 Thread David Winsemius
On Nov 14, 2011, at 6:11 AM, Michele Mazzucco wrote: Hello David, thanks for your answer. I have done as you told me, however the fit is very poor, much worse than that obtained from using the whole dataset (without upper bound). Any idea? Counter questions in the absence of data: ???

Re: [R] Fit continuous distribution to truncated empirical values

2011-11-14 Thread Michele Mazzucco
David, here is the smallest dataset # Bid Price SurvivalCensored 0.030.029 1 1 0.030.029 11 1 0.030.029 10 1 0.030.029 9 1 0.030.029 8 1 0.030.029 7 1 0.030.029 6 1 0.030.029 5 1 0.03

Re: [R] Fit continuous distribution to truncated empirical values

2011-11-14 Thread Bert Gunter
A non-helpful reply on a language issue. Truncated data are quite different than censored data and require different methodologies to analyze. You -- and many others in their postings -- have appeared to confuse the two here. -- Bert On Mon, Nov 14, 2011 at 8:20 AM, Michele Mazzucco

Re: [R] Fit continuous distribution to truncated empirical values

2011-11-14 Thread Michele Mazzucco
Bert, I think there is a misunderstanding here. Some data is censored, but I want to fit the data with a distribution in the interval [0,24] only. Also, please note that I have other datasets having values larger than 1000. Cheers, Michele On 14 Nov 2011, at 18:28, Bert Gunter wrote: A

Re: [R] Fit continuous distribution to truncated empirical values

2011-11-04 Thread David Winsemius
On Nov 3, 2011, at 7:54 AM, Michele Mazzucco wrote: Hi all, I am trying to fit a distribution to some data about survival times. I am interested only in a specific interval, e.g., while the data lies in the interval (0,, 600), I want the best for the interval (0,..., 24). I have

[R] Fit continuous distribution to truncated empirical values

2011-11-03 Thread Michele Mazzucco
Hi all, I am trying to fit a distribution to some data about survival times. I am interested only in a specific interval, e.g., while the data lies in the interval (0,, 600), I want the best for the interval (0,..., 24). I have tried both fitdistr (MASS package) and fitdist (from the