We develop three procedures for estimation in a twogroups model with covariates (see Scott et al 2015). One of them is a nonparametric maximum likelihood estimation based approach when the signal distribution is an infinite Gaussian location mixture and the signal proportion is a logistic function of the available covariates. Two other functions  marg1() and marg2() have also been implemented for inference in the above framework. All these methods can be used for inference in multiple hypotheses testing. For a more detailed exposition, see corresponding paper: "Twocomponent Mixture Model in the Presence of Covariates" Nabarun Deb, Sujayam Saha, Adityanand Guntuboyina, Bodhisattva Sen. It is MANDATORY to have a moseK license in order to use this package.
Package details 


Author  Nabarun Deb <nd2560@columbia.edu> Sujayam Saha <sujayam@berkeley.edu> Adityanand Guntuboyina <aditya@stat.berkeley.edu> Bodhisattva Sen <bodhi@stat.columbia.edu> 
Maintainer  Nabarun Deb <nd2560@columbia.edu> Sujayam Saha <sujayam@berkeley.edu> Adityanand Guntuboyina <aditya@stat.berkeley.edu> Bodhisattva Sen <bodhi@stat.columbia.edu> 
License  GPL2 
Version  1.1.1 
URL  https://github.com/NabarunD/NPMLEmix 
Package repository  View on GitHub 
Installation 
Install the latest version of this package by entering the following in R:

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.