powered by
Get point estimate and its confidence interval with given contrast and alpha value using t distribution.
CIest(Formula, Data, Term, Contrast=c(-1, 1), Alpha=0.10)
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.
0.05 means 95 percent and 0.10 means 90 percent confidence interval.
Returns point estimate and its confidence interval
# NOT RUN { CIest(log(CMAX) ~ SEQ/SUBJ + PRD + TRT, BEdata, Term="TRT") # 90% CI # }
Run the code above in your browser using DataLab