% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MetaHunt-package.R
\docType{package}
\name{MetaHunt-package}
\alias{MetaHunt}
\alias{MetaHunt-package}
\title{MetaHunt: Privacy-Preserving Meta-Analysis via Low-Rank Basis Hunting}
\description{
Tools for privacy-preserving meta-analysis of function-valued quantities
(e.g. regression, conditional average treatment effect functions) across
heterogeneous studies. Implements the MetaHunt pipeline of Shi, Imai,
and Zhang: denoised functional Successive Projection Algorithm (d-fSPA)
for basis hunting, constrained projection of study functions onto the
recovered simplex, Dirichlet regression of mixing weights on study-level
covariates, target prediction, and split or cross conformal prediction
intervals.
}
\section{Main entry points}{

\itemize{
\item \code{\link[=metahunt]{metahunt()}} — fit the full pipeline end-to-end.
\item \code{\link[=predict.metahunt]{predict.metahunt()}} — predict target functions for new study-level covariates.
\item \code{\link[=split_conformal]{split_conformal()}}, \code{\link[=cross_conformal]{cross_conformal()}}, \code{\link[=conformal_from_fit]{conformal_from_fit()}} —
prediction intervals.
\item \code{\link[=minmax_regret]{minmax_regret()}} — covariate-free worst-case-regret aggregator
(Zhang, Huang, and Imai 2024) as a baseline.
\item \code{\link[=f_hat_from_models]{f_hat_from_models()}}, \code{\link[=build_grid]{build_grid()}} — onramp from fitted-model
lists and reference data to the package's matrix inputs.
}
}

\section{Pipeline building blocks}{

\code{\link[=dfspa]{dfspa()}}, \code{\link[=project_to_simplex]{project_to_simplex()}}, \code{\link[=fit_weight_model]{fit_weight_model()}},
\code{\link[=predict_target]{predict_target()}}, \code{\link[=apply_wrapper]{apply_wrapper()}},
\code{\link[=reconstruction_error_curve]{reconstruction_error_curve()}}, \code{\link[=cv_error_curve]{cv_error_curve()}},
\code{\link[=select_denoising_params]{select_denoising_params()}}.
}

\seealso{
Useful links:
\itemize{
  \item \url{https://github.com/WShi18/MetaHunt}
  \item \url{https://wshi18.github.io/MetaHunt/}
  \item \url{https://arxiv.org/abs/2604.23847}
  \item Report bugs at \url{https://github.com/WShi18/MetaHunt/issues}
}

}
\author{
\strong{Maintainer}: Wenqi Shi \email{wenqishi18@gmail.com}

Authors:
\itemize{
  \item Kosuke Imai \email{imai@harvard.edu}
  \item Yi Zhang \email{yizhang0017@gmail.com}
}

}
\keyword{internal}
