Anda di halaman 1dari 2

One Sample Test of Prop File : onesample for proportion(Buyer) and Test of 2 props Code Buyer : 0 non buyer

, 1 Buyer Ho: is the proportion of buyers =.30 (30%) Ha: Prop of buyers is not 0.30(30%) In the coding scheme 0,1 the mean will be equal to proportion of 1. We use t-test one-sample to test the hypothesis

The output below shows that the significance is <0.05, hence we reject the null hypothesis.

Comparing two Proportions We use Crosstabs with Chi-square for this purpose and with the theoretical reasoning that z = square root of ( Chi-square) and the p value of Chi-square is same as Z test of proportion, evaluate the outcomes. In the same file we use another binary variable gender with 0 = female and 1 = male to test whether the proportion of buyers differ between the two genders. (Mind well both the variables should be dichotomous) The result of Crosstabs with chi-square and conclusion based on the same are given below

Jignasu Yagnik

Significance is > 0.05 and hence w conclude that there is no difference in proportion of buyers between the 2 genders.

Jignasu Yagnik

Anda mungkin juga menyukai