Local Exposure-Response Confounding Adjustment

BurnThin | Burn in and thinning of the LERCA fit. |

ExposureCoefs | Acquire the coefficients as a function of the exposure. |

ExposureInclusion | Acquire the inclusions probabilities as a function of the... |

GenYgivenXC | Generating the outcome given exposure and covariates. |

GetbYvalues | Experiments' outcome model intercepts for continuous ER. |

GetER | CER estimates from LERCA fit. |

GetER_1chain | Calculating the exposure response function for one MCMC... |

JumpOver | MCMC jump over move |

JumpOverCoef | Proposing coefficients for the Jump Pver MCMC move. |

JumpWithin | Simultaneous move of experiment, alphas and slopes within... |

LERCA | Local Exposure-Response Confounding Adjustment. |

LERCAextend | Extending the LERCA fit. |

LogLike | Approximate log likelihood of an experiment. |

MakeArrays | Create arrays to save MCMC posterior samples |

PlotLERCA | Plotting LERCA results. |

ProposeSlopes | Proposed slope values of Jump Over move. |

psr | Calculating the PSR of the LERCA fit. |

ScalarToVector | Turning variable into vector if scalar. |

SimDifferentialConfounding | Simulating data with differential confounding. |

TrueER | Calculating the true ER of simulated data set. |

UpdateAlphas | Update the inclusion indicators from their full conditional. |

UpdateCovCoef | Update within experiment coefficients |

UpdateExperiments | Separate move of the experiment configuration |

UpdateIntSlope | Intercepts and coefficients of exposure |

UpdateVariances | Exposure and outcome model residual variances |

WAIC | WAIC of LERCA fit using the full conditionals. |

XCcontinuous | Marginal mean of C across experiments to have E(C|X =x)... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.