FitBNLS function

Fit Bivariate Normal Regression Model via Least Squares

Fit Bivariate Normal Regression Model via Least Squares

Estimation procedure for bivariate normal regression models in which only the target outcome is subject to missingness.

FitBNLS(t, s, X, sig = 0.05)

Arguments

  • t: Target outcome vector.
  • s: Surrogate outcome vector.
  • X: Model matrix.
  • sig: Type I error level.

Returns

An object of class 'bnr' with slots containing the estimated regression coefficients, the target-surrogate covariance matrix, the information matrices for the regression and covariance parameters, and the residuals.

Details

The model matrix is expected in numeric format. Include an intercept if required. Expand factors and interactions in advance.

  • Maintainer: Zachary McCaw
  • License: GPL-3
  • Last published: 2023-10-01

Useful links