% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lrt_homogeneity_inad.R
\name{.fit_inad_heterogeneous}
\alias{.fit_inad_heterogeneous}
\title{Fit fully heterogeneous INAD model}
\usage{
.fit_inad_heterogeneous(
  y,
  blocks,
  n_blocks,
  group_indices,
  order,
  thinning,
  innovation,
  ...
)
}
\arguments{
\item{y}{Data matrix}

\item{blocks}{Normalized block vector}

\item{n_blocks}{Number of groups}

\item{group_indices}{List of subject indices per group}

\item{order}{AD order}

\item{thinning}{Thinning type}

\item{innovation}{Innovation type}

\item{...}{Additional arguments passed to fit_inad}
}
\value{
A list mimicking fit_inad output with combined log-likelihood
}
\description{
Internal function that fits separate INAD models for each group and
combines the log-likelihoods.
}
\keyword{internal}
