Re: P-value, DF, Variance [message #92214] |
Mon, 13 March 2017 06:11 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Monday, March 6, 2017 at 10:59:03 PM UTC-5, Cheryl wrote:
> Hello programmers,
>
> I am having difficulties calculating p-value, degress of freedom, variance and F-stat in IDL.
>
> I have tried several build-in functions such as:
> t_pdf
> chisqr_pdf
> fv_test
>
> I don't think they are the function I need for P,DF, V,F-stat. I would appreciate some guidance on which functions to use.
>
> I used other functions on my data such as m_correlate to find R2, and correlate to compute pearsons linear coeff, and regress function to compute constant, multiple coeff, and standard error.
>
> I want to keep working on some more statistical analysis but not sure how to find df, v, p-value. any ideas?
DF - degrees of freedom - there is not really a function for this. You need to define this based on the nature of the problem you are trying to solve.
V - variance - use VARIANCE() or STDDEV() functions.
F-test - the standard library FV_TEST() function may work for you, or search for MPFTEST().
P-value - depends on what statistic you are using, but probably GAUSS_PDF() or CHISQR_PDF().
|
|
|