I am stuck on the following task:
They conducted an experiment on different medicines. For placebo there are $80$ patients and $45$ complications, for medicine A, there are $75$ patients and $26$ complications. Test success of medicine A against placebo on significance level $0.05$.
I have read a wiki article and I don't understand how to formulate the hypothesis.
Maybe it is better to use chi-squared distibution. What is better to use here?
My attempt:
Let's consider $\alpha = \frac{complications}{total}$.
Placebo parameter is $35/80$ and medicine A parameter is $49/75$.
$1.959$ is threshold for $N(0,1)$ with $0.95$ significance.
$$\frac{\theta - \theta_0}{se(\theta)} = ?$$
I suppose that I need put difference to the numerator. But I do not understand what to put to standard error and how to interpret the result.
The parameter we estimate is the ratio of patients with complications.
We have a parameter for placebo, which is $35/80$, and want to test a hypothesis that the other distribution (for other drug) is the same as placebo (which means that this medicine is just as effective as placebo).
A formula for the test:
$$\frac{\theta - \theta_0}{s / \sqrt n}.$$
$s$ is a mean sum of squared differences between sample elements (which are zeros and ones) and their mean (which for drug A is $26/75$).
$n$ is $75$.
We get the value 8.25 for the test value. It is more that 1.9 so test is not passed and the drug is placebo.