Learn R Programming

LoTTA (version 0.1.0)

Initial_treatment_CONT: function that samples initial values for the treatment model with a continuous prior

Description

function that samples initial values for the treatment model with a continuous prior

Usage

Initial_treatment_CONT(x, t, C_start, clb, cub, lb, ubr, ubl, s, jlb = 0.2)

Value

list with initial parameters values for LoTTA model with continuous score and .RNG.seed value

Arguments

x
  • score data

t
  • treatment data

C_start
  • posterior samples of cutoff location obtained through "cutoff_initial_CONT.txt"

clb
  • left end of an interval on which the prior is supported

cub
  • right end of an interval on which the prior is supported

lb
  • minimum window size

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

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

s
  • seed

jlb
  • minimum jump size