% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rank_classifier.R
\name{rank_condition}
\alias{rank_condition}
\title{Rank Condition Classifier}
\usage{
rank_condition(object, criterion = c("er", "gr"))
}
\arguments{
\item{object}{A \code{dcce_fit} object.}

\item{criterion}{Character: \code{"er"} or \code{"gr"} for factor number selection.
Default \code{"er"}.}
}
\value{
An object of class \code{dcce_rank} with elements \code{m} (number of
common factors), \code{g} (rank of average factor loadings), \code{RC} (1 if
rank condition holds, 0 otherwise).
}
\description{
Implements the De Vos et al. (2024) rank condition classifier for CCE
estimators. Tests whether the rank condition holds (RC=1) which ensures
CCE consistency.
}
\details{
\strong{Note:} Only valid for static panels. Emits a warning if called on
dynamic or PMG models.
}
