I want to investigate if the conversion rate(proportions) for system A is significantly different from the conversion rate of system B. $\mathcal{H}_0 = $ there is no significant difference of proportions and $\mathcal{H}_A = $ there is a significant difference between the proportions. If the $p-$value $< \alpha$ then $\mathcal{H}_A$ is true, if not then $\mathcal{H}_0$ remains true.
I have the following data:
Sessions Transactions Proportions
System A: 90110 2296 0.02547997
System B: 93919 2186 0.02327538
For a two sided test at $\alpha = 0.05$ in in R I do:
sessions <- c(90110, 93919)
transactions <- c(2296, 2186)
res <- prop.test(transactions,sessions,correct = FALSE, alternative = "two.sided")
res$p.value
[1] 0.002162389
Since the $p-$value is less than $\alpha$ there is a significant difference between the two proportions
Question 1: In light of the above results, is it correct to conclude that: system A has a significantly greater conversion rate?
However, now I'd like to test if the conversion rate of system A is significantly lower than that of system B. That is I have $\mathcal{H}_0 = $ system A is significantly lower than system B and $\mathcal{H}_A = $ system B is significantly lower than system A. Conducting the same test, but with alternative = "less"
I obtain
res <- prop.test(transactions,sessions,correct = FALSE, alternative = "less")
res$p.value
[1] 0.9989188
In this case, $p-$ value $> \alpha$ so $\mathcal{H}_0$ must remain true, so system A gives a lower conversion rate than system B.
I assume that the two sided test ONLY tells us that there exists a significant difference between the two, but not in which direction right? So the answer to Question 1 above should be no?