Reproduce figures and simulations of OPWeight

fwerPowerFdrPower | Simulate FWER, POWER, FDR, and POWER |

nice_plots | Funciton to plot nice plots |

probRel_CovVsTest_effect | Relationship between covariate and test effect sizes |

prob_weight_plots | Plot ranks' probabilities and the corresponding weights |

ranksProb_byEffect | Ranks probability of the covariate given the test-effect size |

ranksProb_compare | Compare rank probabilities |

ranksProb_compare_plots | Plots to compare ranks probabilities |

roeder_wasserman_weight | Weight from the Roeder and Wasserman (2009) paper |

runif_by_mean | Generate uniform random numbers for a fixed mean |

simu_fwer | Simulate Family Wise Error Rate (FWER) |

test_by_block | Generate multivariate test statistics |

weight_byEffect_bin | Weight for the different effect sizes in a binary case |

weight_byEffect_cont | Weight for the different continuous effect sizes |

weightSum_by_c | Find sum of weights for c, function of Langragian multiplier |

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.