From 93b899783abb65452886ae1de2b73dd05480e919 Mon Sep 17 00:00:00 2001 From: AnishPXL Date: Wed, 23 Oct 2024 09:53:56 +0100 Subject: [PATCH] Corrected matched section --- R/ci_for_prop.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/ci_for_prop.qmd b/R/ci_for_prop.qmd index 76b94c81..9ef4c82d 100644 --- a/R/ci_for_prop.qmd +++ b/R/ci_for_prop.qmd @@ -91,7 +91,7 @@ proportion_ci_clopper_pearson(act2,conf.level=0.95) %>% ``` -### Normal Approximation Method (Also known as the Wald or asymptotic CI Method) +### Normal Approximation Method (Also known as the Wald or asymptotic CI Method) In large random samples from independent trials, the sampling distribution of proportions approximately follows the normal distribution. The expectation of a sample proportion is the corresponding population proportion. Therefore, based on a sample of size $n$, a $(1-\alpha)\%$ confidence interval for population proportion can be calculated using normal approximation as follows: @@ -174,7 +174,7 @@ proportion_ci_jeffreys(act2,conf.level=0.95) %>% When you have 2 measurements on the same subject, the 2 sets of measures are not independent and you have matched pair of responses. -It is not usual to calculate the proportions separately for these responses, and then take a difference, instead other statistical methods such as odds ratios, risk ratios and confidence intervals for those statistics are used. +This section is work in progress. For more information about methods for calculating confidence intervals for a matched pair proportion see [here](https://psiaims.github.io/CAMIS/SAS/ci_for_prop.html#methods-for-calculating-confidence-intervals-for-a-matched-pair-proportion) ## Methods for Calculating Confidence Intervals for 2 independent samples proportion using {cardx}