% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predictInterval_helpers.R
\name{simulate_fixed_effects}
\alias{simulate_fixed_effects}
\title{Simulate fixed-effect predictions}
\usage{
simulate_fixed_effects(
  merMod,
  newdata,
  n.sims,
  ignore.fixed.terms = NULL,
  fix.intercept.variance = FALSE,
  .parallel = FALSE,
  seed = NULL
)
}
\arguments{
\item{merMod}{A merMod object.}

\item{newdata}{Data frame containing the prediction covariates.}

\item{n.sims}{Number of simulations.}

\item{ignore.fixed.terms}{Vector of fixed-effect names or indices to treat as known.}

\item{fix.intercept.variance}{Logical flag for intercept variance correction.}

\item{.parallel}{Logical flag to enable parallel execution via foreach.}
}
\value{
Matrix of dimensions `nrow(newdata)` x `n.sims` containing simulated
  fixed-effect predictions.
}
\description{
Draws `n.sims` samples from the multivariate normal distribution defined by
the fixed-effect estimates and their variance-covariance matrix, then
multiplies by the model matrix to produce predictions. It also respects
`ignore.fixed.terms` and optional intercept variance adjustment.
}
\keyword{internal}
