Learn R Programming

LoTTA (version 0.1.0)

optimal_k_bin: function that searches for initial parameters of binary outcome function to initiate the sampler

Description

function that searches for initial parameters of binary outcome function to initiate the sampler

Usage

optimal_k_bin(x, y, c, lb, ubr, ubl)

Value

  • a list with kl and kr and cubic functions parameters

Arguments

x
  • score data

y
  • outcome data

c
  • cutoff

lb
  • minimum window size

ubr
  • maximum value of the window's right boundary point

ubl
  • minimum value of the window's left boundary point