% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nsAitkenTransform.R
\name{nsAitkenTransform}
\alias{nsAitkenTransform}
\title{Aitken Transformation for Neutrosophic Interval Data}
\usage{
nsAitkenTransform(Lower_y, Upper_y, group, MSE_lower, MSE_upper)
}
\arguments{
\item{Lower_y}{Numeric matrix of lower interval bounds.}

\item{Upper_y}{Numeric matrix of upper interval bounds.}

\item{group}{Vector identifying the group/year for every row of the input.}

\item{MSE_lower}{Numeric vector of lower MSE bounds, one per group.}

\item{MSE_upper}{Numeric vector of upper MSE bounds, one per group.}
}
\value{
A list containing transformed lower/upper matrices and their
determinate and indeterminate components.
}
\description{
Applies an Aitken variance-stabilizing transformation to interval-valued
observations using group-specific interval MSE values.
}
\examples{
Lower_y <- matrix(
  c(8.2, 5.1,
    7.9, 5.4,
    9.0, 6.2,
    8.8, 6.0,
    7.5, 4.8,
    7.8, 5.0,
    8.6, 5.8,
    8.4, 5.6),
  ncol = 2,
  byrow = TRUE
)

Upper_y <- matrix(
  c(8.8, 5.7,
    8.5, 6.0,
    9.6, 6.8,
    9.4, 6.6,
    8.1, 5.4,
    8.4, 5.6,
    9.2, 6.4,
    9.0, 6.2),
  ncol = 2,
  byrow = TRUE
)

group <- rep(1:4, each = 2)

transformed <- nsAitkenTransform(
  Lower_y = Lower_y,
  Upper_y = Upper_y,
  group = group,
  MSE_lower = c(29.83, 16.30, 21.21, 3.62),
  MSE_upper = c(30.02, 16.43, 21.24, 3.89)
)

transformed$weights
}
