computeConfidenceIntervalT | R Documentation |
Helper function: Computes the safe confidence sequence for the mean in a t-test
computeConfidenceIntervalT( meanObs, sdObs, nEff, nu, deltaS, ciValue = 0.95, g = NULL )
meanObs |
numeric, the observed mean. For two sample tests this is difference of the means. |
sdObs |
numeric, the observed standard deviation. For a two-sample test this is the root of the pooled variance. |
nEff |
numeric > 0, the effective sample size. For one sample test this is just n. |
nu |
numeric > 0, the degrees of freedom. |
deltaS |
numeric > 0, the safe test defining parameter. |
ciValue |
numeric is the ciValue-level of the confidence sequence. Default ciValue=0.95. |
g |
numeric > 0, used as the variance of the normal prior on the population delta
Default is |
numeric vector that contains the upper and lower bound of the safe confidence sequence
computeConfidenceIntervalT(meanObs=0.3, sdObs=2, nEff=12, nu=11, deltaS=0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.