{{ message }}

# Intrasubject Crossover Design

Using the notation of Chow et al., $$\sigma^2_{WR}$$ and $$\sigma^2_{WT}$$ are the intra-subject variance for treatments $$R$$ and $$T$$ respectively. This calculator performs power and sample size calculatios for the two-sided hypothesis: $H_0: \frac{\sigma^2_{WT}}{\sigma^2_{WR}} = 1 \text{ versus } H_a: \frac{\sigma^2_{WT}}{\sigma^2_{WR}} \ne 1$

or the one-sided hypthesis:

$H_0: \frac{\sigma^2_{WT}}{\sigma^2_{WR}} \ge \delta \text{ versus } H_a: \frac{\sigma^2_{WT}}{\sigma^2_{WR}} \lt \delta$

or the hypothesis of similarity:

$H_0: \frac{\sigma^2_{WT}}{\sigma^2_{WR}} \ge \delta \text{ or } \frac{\sigma^2_{WT}}{\sigma^2_{WR}} \le \frac{1}{\delta} \text{ versus } H_a: \frac{1}{\delta} \lt \frac{\sigma^2_{WT}}{\sigma^2_{WR}} \lt \delta$

where $$\delta$$ is the similarity limit using a parallel design with replicates. The model used to test this hypothesis is explained in more depth here.

## Power Calculation Parameters

To input multiple values, seperate them by a comma.

{{ this.errors }}

## Power Calculation Explanation

Solve For
The unknown you are interested in solving for.
N
The sample size used to test the hypothesis.
Alpha
The $$\alpha$$ (Type I error rate) level of the hypothesis test.
Power
The power (1 - Type II error rate) of the hypothesis test.
Replications
The number of replications in the study ($$m$$)
$$\sigma_{WT}$$
The inter-subject variability for the test treatment, $$T$$
$$\sigma_{WR}$$
The inter-subject variability for the reference treatment, $$R$$
Similarity Limit $$\delta$$
The similarity limit against which the ratio of variabilities is tested.

## Calculation Results

No calculation has been generated yet.

N Replications Alpha Power Std. Dev. (WT) Std. Dev. (WR) $$\rho$$ Similarity Limit
{{ val }}