
An S4 class to represent the results of a sequential t-test.
Source:R/CLASS_seq_ttest_results.R
seq_ttest_results-class.RdAn S4 class to represent the results of a sequential t-test.
Slots
likelihood_ratio_logthe logarithmic test statistic.
decisionthe test decision: "accept H1", "accept H0", or "continue sampling".
A_boundary_logthe lower logarithmic boundary of the test.
B_boundary_logthe upper logarithmic boundary of the test.
da number indicating the specified effect size (Cohen's d).
mua number indicating the true value of the mean (or difference in means if you are performing a two sample test).
alphathe type I error. A number between 0 and 1.
power1 - beta (beta is the type II error probability). A number between 0 and 1.
likelihood_ratiothe likelihood ratio of the test without logarithm.
likelihood_1the likelihood of the alternative Hypothesis (H1).
likelihood_0the likelihood of the null Hypothesis (H0).
likelihood_1_logthe logarithmic likelihood of the alternative Hypothesis (H1).
likelihood_0_logthe logarithmic likelihood of the null Hypothesis (H0).
non_centrality_parameterparameter to calculate the likelihoods
t_valuethe t-value of the t-statistic.
p_valuethe p-value of the t-test.
dfdegrees of freedom.
mean_estimatethe estimated mean or difference in means depending on whether it was a one-sample test or a two-sample test.
alternativea character string specifying the alternative hypothesis: "two.sided" (default), "greater" or "less".
one_sample"true" if it is a one-sample test, "false" if it is a two-sample test.
ttest_methoda character string indicating what type of t-test was performed.
data_namea character string giving the name(s) of the data.
verbosea logical value whether you want a verbose output or not.