Gitea Organization/civilyticsR/pipeline/head There was a failure building this commit
27 lines
613 B
R
27 lines
613 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/utils.R
|
|
\name{z_gap_test}
|
|
\alias{z_gap_test}
|
|
\title{Calculate a Z-Score for a comparison between two proportions}
|
|
\usage{
|
|
z_gap_test(a_prop, a_count, b_prop, b_count)
|
|
}
|
|
\arguments{
|
|
\item{a_prop}{the proportion for group a}
|
|
|
|
\item{a_count}{the count of the population in group a}
|
|
|
|
\item{b_prop}{the proportion for group b}
|
|
|
|
\item{b_count}{the count of the population in group b}
|
|
}
|
|
\value{
|
|
a numeric z score
|
|
}
|
|
\description{
|
|
Calculate a Z-Score for a comparison between two proportions
|
|
}
|
|
\examples{
|
|
z_gap_test(0.0002, 1e4, 0.0003, 1e4)
|
|
}
|