Learn R Programming

RHSDB (version 0.2.0)

rh.sd.sidak: Ryan-Holm Step-Down Sidak Procedure

Description

This procedure provides the adjusting p-values and adjusting CIs.

Usage

rh.sd.sidak(p,effect,effect.se,df,type,sig,side,digits)

Value

p.adj

the adjusted p value

ci.adj.l

the lower limit of adjusted confidence interval

ci.adj.u

the upper limit of adjusted confidence interval

Arguments

p

the raw p values

effect

the effect size from the multiple comparisons, e.g. the mean difference from t test or paried t test

effect.se

the standard error of effect size from the multiple comparisons, e.g. the standard error of mean difference from t test or paried t test)

df

the degree of freedom of hypothesis test, e.g. n1+n2-2 for t test, n-1 for paried t test

type

the type of the effect size, default is "mean"

sig

the significance level, default is 0.05

side

"one" or "two" sided hypothesis test

digits

the number of decimal digits

See Also

rh.sd.bonferroni

Examples

Run this code
p=c(0.217,0.00028,0,0.001,0.024,0.719,0.00033)
effect=c(16,74,-85,-38,29,5,91)
effect.se=c(12,16,14,9,12,16,20)
df=16
rh.sd.sidak(p,effect,effect.se,df)

Run the code above in your browser using DataLab