Learn R Programming

gmwmx2 (version 0.0.5)

gmwmx2_new_with_missing: GMWMX estimator with missing

Description

Draft interface for a future gmwmx2() that can be called either with a gnss_ts_ngl object (current workflow) or with a generic design matrix and response vector.

Usage

gmwmx2_new_with_missing(
  X = NULL,
  y = NULL,
  model = NULL,
  omega = NULL,
  method = "L-BFGS-B",
  control = list(),
  ...
)

Value

A fitted model object (to be defined).

Arguments

X

Design matrix for a generic regression interface.

y

response vector for a generic regression interface.

model

Stochastic model specification.

omega

Optional weighting matrix. If NULL, uses inverse CI width.

method

Optimization method passed to stats::optim.

control

Control list passed to stats::optim.

...

Reserved for future extensions.