From: DIA D. on
What is the 'support' in ksdensity function for ?

Should it be set to be 'positive' when I want to estimate the F-distribution?

Thanks
From: Tom Lane on
> What is the 'support' in ksdensity function for ?
>
> Should it be set to be 'positive' when I want to estimate the
> F-distribution?

You can set it to 'positive' when you know your data must be positive. This
prevents it from spilling probability onto the negative numbers.

The F distribution is certainly an example of a positive distribution. But
if you know you have data from the F distribution, you can estimate the
parameters directly:

>> x = frnd(2,3,1000,1);
>> mle(x,'pdf',@fpdf,'start',[1 1])
ans =
1.9995 3.0943

-- Tom