How do you find the sample size for a binary outcome?

How do you find the sample size for a binary outcome?

Simplest formula for a binary outcome and equal sample sizes in both groups, assuming: alpha = 0.05 and power = 0.80 (beta = 0.20). In this case, we suppose that the investigators consider a difference in event rate of 10% (0.10) as clinically relevant.

How do you find the sample size of discrete data?

Sample Size – Discrete Example

  1. P is estimate of proportion for outcome of interest. Use P = 0.5 if unknown.
  2. Delta is desired proportion margin of error.
  3. Enter population size N to adjust for small populations (N < 10000).
  4. np should be >= 5.
  5. Power (1 – Beta) is not considered in these calculations.

How do you find sample size in logistic regression?

A simple formula such as n = 100 + xi (x is integer and i represents number of independent variable in the final model) was introduced as a basis of sample size for logistic regression particularly for observational studies where the sample size emphasised the accuracy of the statistics.

What is Q in sample size formula?

Notation. Let p represent the proportion of a population with a particu- lar characteristic and q denote the proportion of the population not having this characteristic.

What is the minimum recommended sample size for collecting discrete data?

Many researchers agree that a sample size of 30 is ideal; however, the literature is sparse on how to verify that the sample size is 30 or how the number 30 is obtained. This paper provides a method on how to obtain a minimum sample size of 30 in all cases.

How to calculate the size of the sample?

The acceptable error, e, is the difference between the actual population proportion p, and the sample proportion we expect to get from the sample. However, in order to find n, we need to know the estimated (sample) proportion p ′. Remember that q ′ = 1 – p ′. But, we do not know p ′ yet.

When to use binary random variables in statistics?

Binary Random Variables What was done in cases when looking for the mean of a distribution can also be done when sampling to determine the population parameter p for proportions. Manipulation of the standardizing formula for proportions gives: where e = (p′-p), and is the acceptable sampling error, or tolerance, for this application.

Do you have control over the sample size?

Continuous Random Variables Usually we have no control over the sample size of a data set. However, if we are able to set the sample size, as in cases where we are taking a survey, it is very helpful to know just how large it should be to provide the most information. Sampling can be very costly in both time and product.

When to calculate minimum sample size for logistic regression?

In Logistic Regression Sample Size (Normal) we describe how to calculate the minimum sample size for logistic regression when the main independent variable being studied is normally distributed. We now describe the case where the independent variable has a binomial distribution. In this case, the minimum sample size is