fit-bivph-method: Fit method for bivph Class

fit,bivph-methodR Documentation

Fit method for bivph Class

Description

Fit method for bivph Class

Usage

## S4 method for signature 'bivph'
fit(
  x,
  y,
  weight = numeric(0),
  stepsEM = 1000,
  maxit = 100,
  reltol = 1e-08,
  every = 10
)

Arguments

x

An object of class bivph.

y

A matrix with the data.

weight

Vector of weights.

stepsEM

Number of EM steps to be performed.

maxit

Maximum number of iterations when optimizing g functions.

reltol

Relative tolerance when optimizing g functions.

every

Number of iterations between likelihood display updates.

Value

An object of class bivph.

Examples

obj <- bivph(dimensions = c(3, 3))
data <- sim(obj, n = 100)
fit(obj, data, stepsEM = 100, every = 50)

matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.