Description Usage Arguments Value Author(s) References Examples

This function computes LP-comeans, LP-Fourier coefficients, LPINFOR test statistic, and the corresponding p-value of for testing equality of two distributions

1 |

`x` |
Indicator variable denoting group membership |

`y` |
Response variable with measured values |

`m` |
Number of LP comeans and LP Fourier coefficients to be calculated, default: 6 |

`smooth` |
If smoothing should be applied, default: TRUE |

`method` |
Smoothing method, default: BIC |

A list containing:

`LP.comean.0 ` |
LP comeans, conditioned on X=0 |

`LP.coef.0` |
LP Fourier coefficients, conditioned on X=0 |

`LP.comean.1` |
LP comeans, conditioned on X=1 |

`LP.coef.1` |
LP Fourier coefficients, conditioned on X=1 |

`LPINFOR` |
Test statistics value |

`pval` |
The p-value for testing equality of two distributions F0=F1 |

Subhadeep Mukhopadhyay

David Jungreis

Jungreis, D. and Mukhopadhyay, S. (2018), "Two-Sample Quantile and Distribution Comparisons"

Mukhopadhyay, S. and Parzen, E. (2014), "LP Approach to Statistical Modeling", arXiv:1405.2601.

1 2 3 4 |

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.