drawUtility: Draw latent utilities

Description Usage Arguments Value

View source: R/drawUtility.R

Description

[Internal] draw_utility draws latent utilities for the probit model, which represents the selection of treatment. Latent utilities (x*) range from -Inf to +Inf. For x* being positive, the subject selects treatment, subject does not decide for treatment otherwise.

Usage

1
drawUtility(x, mxst, sxst)

Arguments

x

vector of subject features

mxst

vector of means of utilities x*

sxst

vector of standard deviations of utilities x*

Value

xst x*, the latent utility for selection model


PatrickPfeifferDSc/bite documentation built on Aug. 22, 2019, 9:57 a.m.