
ttest using a null hypothesis other than zero
I would like to run one-sided ttest (either paired or independent samples) with the null hypothesis set to values other than zero. One possible application for this might be to set the null hypothesis to either a superiority margin or inferiority margin to test for a clinically important difference; however, for that type of application, I would typically calculate the confidence interval and see if it crosses the margin. Unfortunately, I need the actual p-values. My intent is create a graph of p-values by variable difference by setting the null hypothesis to a range of values. This would be similar to a p-value function graph. Does the ttest (or other command) allow me to set the null hypothesis to a specific value or variable list? Thanks.

0 Response to ttest using a null hypothesis other than zero
Post a Comment