Last modified: Tue, 03/12/2019 - 10:36
STUDENT_T_CUTOFF (P, nf) Returns the student - t cutoff
Arguments: | P | Confidence Limit, percent Must be 90, 95, or 99 |
nf | number in sample | |
Result Axes: | X |
Inherited from Argument 2 |
Y | Inherited from Argument 2 | |
Z | Inherited from Argument 2 | |
T | Inherited from Argument 2 | |
E | NORMAL | |
F | NORMAL |
Returns the student's - t cutoff for the given confidence limit and degrees of freedom.
Examples:
yes? ! for the correct result send the number in the sample, plus 1. yes? let nf = `var,return=Lsize` + 1 yes? let student_cutoff = STUDENT_T_CUTOFF( 95, nf )
The function STUDENT_T_CUTOFF is called by the script correlation_with_students_t_test.jnl, taking definitions made by a call to the script variance.jnl to return the degrees of freedom, covariance, correlation, correlation for confidence level P. To see the script's description:
yes? go/help correlation_with_students_t_test \can mode verify ! correlation_with_students_t_test: computes correlation, r, between 2 variables (e.g. time series) ! and answers the question via a students t test: ! Is r significantly different from 0 with 90, 95 or 99 percent confidence? These are your only 3 input choices. ! First, run VARIANCE.JNL with its required inputs (see VARIANCE.JNL documentation). ! Then run this script. ...