wLopt.t.init: Compute the L-optimal objective function assuming a logistic...

Description Usage Arguments Value

View source: R/lopt logistic.R View source: R/lopt_logistic.R

Description

Compute the L-optimal objective function assuming a logistic model (with or without weights) assuming continuous treatment, given a vector of treatment values and a vector of covariates values for additional patients

Usage

1
wLopt.t.init(t, z, beta, cr, prior.scale = 100, wr = NULL)

Arguments

t

new treatment

z

covariate values of new unit

beta

current estimate of coefficients

cr

matrix of contrasts

prior.scale

prior scale parameter

wr

matrix of weights, set to NULL if equal weights

Value

Value of the L-optimal objective function


mst1g15/biasedcoin documentation built on Nov. 26, 2019, 4:01 a.m.