Description Usage Arguments Examples
Pivotal distributions: Plot pivotal distribution of regression coefficients
1 | plotDensityIntercept(pivr)
|
pivr |
data frame of independent draws from of pivots. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | bcg <- bcgVaccineData()
bcg_y <- bcg$logrisk
bcg_d <- bcg$sdiv
bcg_s <- bcg$size
bcg_x <- cbind(1,bcg$x)
set.seed(865287113)
pivUn <- pivotalStream(50, y=bcg_y, d=bcg_d, x=bcg_x,
adjusted=FALSE)
set.seed(865287113)
pivAd <- pivotalStream(50, y=bcg_y, d=bcg_d, x=bcg_x, s=bcg_s,
adjusted=TRUE)
pivr <- joinPivotalCoefficients(pivUn, pivAd)
plotDensityIntercept(pivr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.