forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 4:02 am

All times are UTC


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.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Calculating t for Student's t test
PostPosted: Mon Nov 15, 2010 3:23 pm 
Offline

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
 Profile  
 
 Post subject: Re: Calculating t for Student's t test
PostPosted: Mon Nov 15, 2010 4:49 pm 
Offline
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
 Profile  
 
 Post subject: Re: Calculating t for Student's t test
PostPosted: Mon Nov 15, 2010 5:30 pm 
Offline

Joined: Mon Nov 15, 2010 12:58 pm
Posts: 7
Excellent. Thanks Sergey.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 29 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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group