Chapter 4
Tests on proportions
In this chapter we present tests for the parameter of a binomial distribution. We first treat a test on the population proportion in the one-sample case. We further cover tests for the difference of two proportions using the pooled as well as the unpooled variances. The last test in this chapter deals with the equality of proportions for the multi-sample case. Not all tests are covered by a SAS procedure or R function. We give the appropriate sample code to perform all discussed tests.
4.1 One-sample tests
In this section we deal with the question, if a population proportion differs from a predefined value between 0 and 1.
4.1.1 Binomial test
Description: | Tests if a population proportion differs from a value . |
Assumptions: |
|
Get Statistical Hypothesis Testing with SAS and R now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.