FitBNLS: Fit Bivariate Normal Regression Model via Least Squares

View source: R/Estimation-LS.R

FitBNLSR Documentation

Fit Bivariate Normal Regression Model via Least Squares

Description

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

Usage

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

Arguments

t

Target outcome vector.

s

Surrogate outcome vector.

X

Model matrix.

sig

Type I error level.

Details

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

Value

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.


zrmacc/BNEM documentation built on March 31, 2024, 12:20 a.m.