optimal_k_bin: function that searches for initial parameters of binary...

View source: R/functions_model.R

optimal_k_binR Documentation

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)

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

Value

  • a list with kl and kr and cubic functions parameters


LoTTA documentation built on Aug. 8, 2025, 6:27 p.m.

Related to optimal_k_bin in LoTTA...