Description Usage Arguments Value Author(s) References Examples

`generate_data`

returns simulated data, including response Y, covariates Z, and variable of interest X.

1 | ```
generate_data(seed, n, p, beta, alpha)
``` |

`seed` |
Random seed. |

`n` |
Number of samples |

`p` |
Dimension of variable of interest |

`beta` |
Coefficients for covariates Z |

`alpha` |
Coefficients for variable of interest X |

A list object

Chong Wu and Wei Pan

Chong Wu, Gongjun Xu and Wei Pan, "An Adaptive test on high dimensional parameters in generalized linear models" (Submitted)

1 2 3 4 5 6 7 8 9 10 11 |

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.