View unanswered posts | View active topics
Forum rules
1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
g40
|
Post subject: Calculating t for Student's t test Posted: Mon Nov 15, 2010 3:23 pm |
|
Joined: Mon Nov 15, 2010 12:58 pm Posts: 7
|
Is there a function in alglib to generate the value of 't' given the desired confidence level and degrees of freedom? Not quite sure of the standard name for this function.
// get t-test value for df of 100 at 99.5% confidence interval double t = calc_t(100,0.995);
// t ~ == 2.62589
Many thanks
Jerry
|
|
Top |
|
|
Sergey.Bochkanov
|
Post subject: Re: Calculating t for Student's t test Posted: Mon Nov 15, 2010 4:49 pm |
|
|
Site Admin |
Joined: Fri May 07, 2010 7:06 am Posts: 927
|
There exists function which calculates inverse of Student's t distribution, you can use it. It is located in the studenttdistr subpackage.
|
|
Top |
|
|
g40
|
Post subject: Re: Calculating t for Student's t test Posted: Mon Nov 15, 2010 5:30 pm |
|
Joined: Mon Nov 15, 2010 12:58 pm Posts: 7
|
Excellent. Thanks Sergey.
|
|
Top |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 45 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|