% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pooled_normality_test.R
\name{pooled_normality_test}
\alias{pooled_normality_test}
\title{Test normality using pooled standardized residuals}
\usage{
pooled_normality_test(y, g, test = c("shapiro", "ad"), min_n = 3L)
}
\arguments{
\item{y}{Numeric vector of response values}

\item{g}{Factor or vector defining groups (must have at least 2 levels)}

\item{test}{Character, either "shapiro" or "ad" for Anderson-Darling}

\item{min_n}{Minimum sample size per group required (default 3)}
}
\value{
A list with test results (statistic, p.value, method, data.name)
}
\description{
Standardizes values within each group and applies a single normality 
test to the pooled standardized values. This avoids multiple testing 
issues when deciding between parametric and non-parametric methods.
}
