[R] inverse F distribution in R?

Matthias Kohl Matthias.Kohl at stamats.de
Thu Apr 24 17:24:06 CEST 2008


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.)
>>
>> Thanks for any leads.
>>
>>   
>>     
> 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
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>   
>>     
>
>
>   

-- 
Dr. Matthias Kohl
www.stamats.de



More information about the R-help mailing list