Re: [R] Bootstrap P-Value

2020-11-06 Thread AbouEl-Makarim Aboueissa
Dear Greg: H0: Mean 1- Mean 2 = 0 Ha: Mean 1 - Mean 2 ! = 0 with many thanks abou __ *AbouEl-Makarim Aboueissa, PhD* *Professor, Statistics and Data Science* *Graduate Coordinator* *Department of Mathematics and Statistics* *University of Southern Maine* On Fri, Nov 6,

Re: [R] Bootstrap P-Value

2020-11-06 Thread Greg Snow
A p-value is for testing a specific null hypothesis, but you do not state your null hypothesis anywhere. It is the null value that needs to be subtracted from the bootstrap differences, not the observed difference. By subtracting the observed difference you are setting a situation where the p-val

[R] Bootstrap P-Value

2020-11-06 Thread AbouEl-Makarim Aboueissa
*Dear All:* *I am trying to compute the p-value of the bootstrap test; please see below.* *In example 1 the p-value agrees with the confidence interval.* *BUT, in example 2 the p-value DOES NOT agree with the confidence interval. In Example 2, the p-value should be zero or close to zero.* *I am