Description Usage Arguments Value Examples
View source: R/Regression_Functions.R
distreg
draws randomly from the density of F(yo) at a threshold value yo
1 |
thresh |
threshold value that is used to binarise the continuous outcome variable |
data0 |
original data set with the first column being the continuous outcome variable |
MH |
metropolis-hastings algorithm to use; default:"IndepMH", alternative "RWMH" |
... |
any additional inputs to pass to the MH algorithm |
fitob a vector of fitted values corresponding to the distribution at threshold thresh
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.