# Re: [R] inverse F distribution in R?

From: Matthias Kohl <Matthias.Kohl_at_stamats.de>
Date: Thu, 24 Apr 2008 17:24:06 +0200

just a comment to "fstat"...

Using package "distrEx" one also has "fstat" functionality

library(distrEx)

```E(Fd(df1 = 3, df2 = 3))
E(Fd(df1 = 4, df2 = 4))
E(Fd(df1 = 5, df2 = 5))
```

var(Fd(df1 = 5, df2 = 5))

for more functionals (skewness, kurtosis, IQR, ...) see for instance help("var", package = "distrEx")

Best
Matthias

Peter Dalgaard wrote:

```> Jennifer Balch wrote:
>
```

>> Dear all,
>>
>> I'm looking for a function that calls the inverse F-distribution.
>> Something equivalent to FINV in matlab or excel.
>>
>> Does anyone know if such a function already exists for R? (I haven't
>> been able to find one.)
>>
>>
>>
>>
```> I would guess that they are qf() or a variant thereof. I gather that
> _fpdf
> <http://www.mathworks.com/access/helpdesk/help/toolbox/stats/fpdf.html>__,
> fcdf
> <http://www.mathworks.com/access/helpdesk/help/toolbox/stats/fcdf.html>,
> finv
> <http://www.mathworks.com/access/helpdesk/help/toolbox/stats/finv.html>,
> frnd
> <http://www.mathworks.com/access/helpdesk/help/toolbox/stats/frnd.html>
> i_n matlab is df, pf, qf, and rf in R. We don't have an equivalent of
> fstat for mean and variance of the F distribution (this might actually
> be nice to have).
>
>
>
>
>
```

>> Best,
>> Jennifer
>>
>> ______________________________________________
>> R-help_at_r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
```>
>
>

```
```--
Dr. Matthias Kohl
www.stamats.de

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help