Learn R Programming

LoTTA (version 0.1.1)

Initial_CONT_CONT: function that samples initial values for fuzzy LoTTA model with a ontinuous prior and continuous outcomes

Description

function that samples initial values for fuzzy LoTTA model with a ontinuous prior and continuous outcomes

Usage

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

Value

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

Arguments

x
  • score data

t
  • treatment data

y
  • outcome 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