# This function is called by power.equivalence.md within
# the integrate function. It is integrated over
# appropriate limits to compute the power. Use
power.density.equivalence.md(.1, alpha=.05, theta1=-.2, theta2=.2, diff=.05,
sigma= .20, n=24, nu=22)
# The usage for the logarithmic scale is the same, except that
# theta1, theta2, and diff must be on that scale. That is, use log(.8), etc.
Run the code above in your browser using DataLab