Learn R Programming

LoTTA (version 0.1.0)

Initial_DIS_CONT: function that samples initial values for fuzzy LoTTA model with a discrete prior and binary outcomes

Description

function that samples initial values for fuzzy LoTTA model with a discrete prior and binary outcomes

Usage

Initial_DIS_CONT(x, t, y, Ct_start, cstart, grid, lb, ubr, ubl, s, jlb = 0.2)

Value

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

Arguments

x
  • score data

t
  • treatment data

y
  • outcome data

Ct_start
  • posterior samples of cutoff location (categorized by natural numbers) obtained through "cutoff_initial_dis.txt"c

cstart
  • the first point with a positive prior mass

grid
  • distance between two consecutive points with nonzero prior mass

lb
  • minimum window size (grid size in case of discrete score)

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