powered by
Get point estimate and its confidence interval with given contrast and alpha value using t distribution.
CIest(Formula, Data, Term, Contrast, conf.level=0.95)
point estimate of the input linear contrast
lower confidence limit
upper confidence limit
standard error of the point estimate
value for t distribution
degree of freedom
probability of larger than absolute t value from t distribution with residual's degree of freedom
a conventional formula for a linear model
a data.frame to be analyzed
data.frame
a factor name to be estimated
a level vector. Level is alphabetically ordered by default.
confidence level of confidence interval
Kyun-Seop Bae k@acr.kr
CIest(log(CMAX) ~ SEQ/SUBJ + PRD + TRT, BEdata, "TRT", c(-1, 1), 0.90) # 90% CI
Run the code above in your browser using DataLab