arxiv: v3 [stat.me] 12 Jul 2018

Similar documents
Estimation of a Two-component Mixture Model

Learning Classifiers from Only Positive and Unlabeled Data

Class Prior Estimation from Positive and Unlabeled Data

Controlling the False Discovery Rate: Understanding and Extending the Benjamini-Hochberg Method

A Large-Sample Approach to Controlling the False Discovery Rate

False discovery rate and related concepts in multiple comparisons problems, with applications to microarray data

Doing Cosmology with Balls and Envelopes

Probabilistic Inference for Multiple Testing

Learning the Semantic Correlation: An Alternative Way to Gain from Unlabeled Text

Association studies and regression

Table of Outcomes. Table of Outcomes. Table of Outcomes. Table of Outcomes. Table of Outcomes. Table of Outcomes. T=number of type 2 errors

Supplementary Materials for mplr-loc Web-server

Statistical Inference

Estimation and Confidence Sets For Sparse Normal Mixtures

A Sequential Bayesian Approach with Applications to Circadian Rhythm Microarray Gene Expression Data

Introduction. Chapter 1

SUPERVISED LEARNING: INTRODUCTION TO CLASSIFICATION

Introduction to Machine Learning Midterm Exam Solutions

Journal of Statistical Software

Introduction to Machine Learning Midterm Exam

Applying the Benjamini Hochberg procedure to a set of generalized p-values

Asymptotic Results on Adaptive False Discovery Rate Controlling Procedures Based on Kernel Estimators

Modified Simes Critical Values Under Positive Dependence

Statistical Applications in Genetics and Molecular Biology

Class 4: Classification. Quaid Morris February 11 th, 2011 ML4Bio

hsnim: Hyper Scalable Network Inference Machine for Scale-Free Protein-Protein Interaction Networks Inference

arxiv: v1 [math.st] 31 Mar 2009

Classification using stochastic ensembles

FDR-CONTROLLING STEPWISE PROCEDURES AND THEIR FALSE NEGATIVES RATES

Post-Selection Inference

Random Forests. These notes rely heavily on Biau and Scornet (2016) as well as the other references at the end of the notes.

A GENERAL DECISION THEORETIC FORMULATION OF PROCEDURES CONTROLLING FDR AND FNR FROM A BAYESIAN PERSPECTIVE

Learning from Corrupted Binary Labels via Class-Probability Estimation

Solving Classification Problems By Knowledge Sets

Novelty detection: Unlabeled data definitely help

Does Unlabeled Data Help?

The miss rate for the analysis of gene expression data

Generalized estimators for multiple testing: proportion of true nulls and false discovery rate by. Xiongzhi Chen and R.W. Doerge

Summary and discussion of: Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing

Controlling Bayes Directional False Discovery Rate in Random Effects Model 1

A Bias Correction for the Minimum Error Rate in Cross-validation

Generalization bounds

Statistical Approaches to Learning and Discovery. Week 4: Decision Theory and Risk Minimization. February 3, 2003

Exceedance Control of the False Discovery Proportion Christopher Genovese 1 and Larry Wasserman 2 Carnegie Mellon University July 10, 2004

The sample complexity of agnostic learning with deterministic labels

ECE521 week 3: 23/26 January 2017

A moment-based method for estimating the proportion of true null hypotheses and its application to microarray gene expression data

18.9 SUPPORT VECTOR MACHINES

On adaptive procedures controlling the familywise error rate

Multivariate statistical methods and data mining in particle physics

SEMIPARAMETRIC INFERENCE WITH SHAPE CONSTRAINTS ROHIT KUMAR PATRA

Kernel Methods and Support Vector Machines

ESTIMATING THE PROPORTION OF TRUE NULL HYPOTHESES UNDER DEPENDENCE

Advanced Statistical Methods: Beyond Linear Regression

The optimal discovery procedure: a new approach to simultaneous significance testing

CS 195-5: Machine Learning Problem Set 1

Supplementary Materials for

CSCI-567: Machine Learning (Spring 2019)

New Approaches to False Discovery Control

Computer simulation on homogeneity testing for weighted data sets used in HEP

On Procedures Controlling the FDR for Testing Hierarchically Ordered Hypotheses

DEGseq: an R package for identifying differentially expressed genes from RNA-seq data

Fall 2017 STAT 532 Homework Peter Hoff. 1. Let P be a probability measure on a collection of sets A.

Research Article Sample Size Calculation for Controlling False Discovery Proportion

Lectures in AstroStatistics: Topics in Machine Learning for Astronomers

Learning with Rejection

Class-prior Estimation for Learning from Positive and Unlabeled Data

Understanding Generalization Error: Bounds and Decompositions

A General Framework for High-Dimensional Inference and Multiple Testing

Minimum Hellinger Distance Estimation in a. Semiparametric Mixture Model

arxiv: v5 [stat.me] 9 Nov 2015

Lecture 7 Introduction to Statistical Decision Theory

Variable Selection and Weighting by Nearest Neighbor Ensembles

Supplementary Materials for R3P-Loc Web-server

Classification Ensemble That Maximizes the Area Under Receiver Operating Characteristic Curve (AUC)

Summary and discussion of: Dropout Training as Adaptive Regularization

High-throughput Testing

Adaptive Sampling Under Low Noise Conditions 1

PATTERN RECOGNITION AND MACHINE LEARNING

Simultaneous Testing of Grouped Hypotheses: Finding Needles in Multiple Haystacks

Random projection ensemble classification

SUPPORT VECTOR MACHINE

FALSE DISCOVERY AND FALSE NONDISCOVERY RATES IN SINGLE-STEP MULTIPLE TESTING PROCEDURES 1. BY SANAT K. SARKAR Temple University

Recent Advances in Bayesian Inference Techniques

Foundations of Machine Learning

Supervised Classification for Functional Data Using False Discovery Rate and Multivariate Functional Depth

Introduction to Empirical Processes and Semiparametric Inference Lecture 12: Glivenko-Cantelli and Donsker Results

Estimation of a Two-component Mixture Model with Applications to Multiple Testing

CS145: INTRODUCTION TO DATA MINING

Machine Learning. Ensemble Methods. Manfred Huber

Robust Inverse Covariance Estimation under Noisy Measurements

Step-down FDR Procedures for Large Numbers of Hypotheses

Model Accuracy Measures

Boosting Methods: Why They Can Be Useful for High-Dimensional Data

MIDTERM SOLUTIONS: FALL 2012 CS 6375 INSTRUCTOR: VIBHAV GOGATE

Bagging During Markov Chain Monte Carlo for Smoother Predictions

Lecture : Probabilistic Machine Learning

FORMULATION OF THE LEARNING PROBLEM

Machine Learning for OR & FE

Non-specific filtering and control of false positives

Transcription:

A Flexible Procedure for Mixture Proportion Estimation in Positive Unlabeled Learning Zhenfeng Lin Department of Statistics, Texas A&M University 3143 TAMU, College Station, TX 77843-3143 zflin@stattamuedu arxiv:180109834v3 [statme] 12 Jul 2018 James P Long Department of Statistics, Texas A&M University 3143 TAMU, College Station, TX 77843-3143 jlong@stattamuedu Abstract Positive unlabeled (PU) learning considers two samples, a positive set P with observations from only one class and an unlabeled set U with observations from two classes The goal is to classify observations in U Class mixture proportion estimation (MPE) in U is a key step in PU learning Blanchard et al [2010] showed that MPE in PU learning is a generalization of the problem of estimating the proportion of true null hypotheses in multiple testing problems Motivated by this idea, we propose reducing the problem to one dimension via construction of a probabilistic classifier trained on the P and U data sets followed by application of a one dimensional mixture proportion method from the multiple testing literature to the observation class probabilities The flexibility of this framework lies in the freedom to choose the classifier and the one dimensional MPE method We prove consistency of two mixture proportion estimators using bounds from empirical process theory, develop tuning parameter free implementations, and demonstrate that they have competitive performance on simulated waveform data and a protein signaling problem Keywords: mixture proportion estimation; PU learning; classification; empirical processes; local false discovery rate; multiple testing Short title: Mixture Proportion Estimation for PU Learning

1 Introduction Let X 1,, X n F = αf 0 + (1 α)f 1, (1) X L,1,, X L,m F 1, all independent, where F 0 and F 1 are distributions on R p with densities f 0 and f 1 with respect to measure µ The goal is to estimate α and the classifier C 01 (x) = (1 α)f 1 (x) αf 0 (x) + (1 α)f 1 (x), (2) which can be used to separate the unlabeled data {X i } n i=1 into the classes 0 and 1 The above problem has been termed Learning from Positive and Unlabeled Examples, Presence Only Data, Partially Supervised Classification, and the Noisy Label Problem in the machine learning literature [Elkan and Noto, 2008, Liu et al, 2002, Ramaswamy et al, 2016, Scott, 2015, Scott et al, 2013, Ward et al, 2009] In this work, we use the term PU learning to refer to Model (1) Here we denote the positive set P := {X L,i } m i=1 and the unlabeled set U := {X i } n i=1 This setting is more challenging than the traditional classification framework where one possesses labeled training data belonging to both classes In particular α and C 01 are not generally identifiable from the data {X i } n i=1 and {X L,i} m i=1 PU learning has been applied to text analysis [Liu et al, 2002], time series [Nguyen et al, 2011], bioinformatics [Yang et al, 2012], ecology [Ward et al, 2009], and social networks [Chang et al, 2016] Several strategies have been proposed for solving the PU problem Ward et al [2009] assumes α is known and uses logistic regression to classify U The SPY method of Liu et al [2002] classifies U directly by identifying a reliable negative set The SPY method has practical challenges including choosing the reliable negative set Other strategies estimate α directly Ramaswamy et al [2016] estimate α via kernel embedding of distributions Scott [2015] and Blanchard et al [2010] estimate α using the ROC curve produced by a classifier trained on P and U Blanchard et al [2010] showed that MPE in the PU model is a generalization of estimating the proportion of true nulls in multiple testing problems Specifically, suppose that F 0 and F 1 are one dimensional distributions and F 1 is known Then the unlabeled set X 1,, X n may be interpreted as test statistics with 1

the hypotheses: H 0 : X i F 1, H a : X i F 0 In this context, 1 α is the proportion of true null hypotheses and the classifier C 01 is the local FDR [Efron et al, 2001] There are many works on addressing identifiability and estimation of α and C 01 in this simpler setting [Efron, 2012, Genovese and Wasserman, 2004, Meinshausen and Rice, 2006, Patra and Sen, 2015, Robin et al, 2007] FDR α estimation methods have been developed for one dimensional MPE problems and are not directly applicable on the multidimensional PU learning problem in which X i R p In this work, we show that the PU MPE problem can be reduced to dimension one by constructing a classifier on the P versus U data sets followed by transforming observations to class probabilities One dimensional MPE methods from the FDR literature can then be applied to the class probabilities Computer implementation of this approach is straightforward because one can use existing classifier and one dimensional MPE algorithms We prove consistency for adaptations of two one dimensional MPE methods: Storey [2002] based on empirical processes and Patra and Sen [2015] based on isotonic regression These proofs use results from empirical process theory We show that the ROC method used in Blanchard et al [2010] and Scott [2015] is a variant of the method proposed by Storey [2002] The rest of the paper is organized as follows In Section 2 we give a sketch of the proposed procedure, which includes two proposed estimators C-patra/sen and C-roc This section consists of three parts First, a motivation of the procedure from hypothesis testing community is explained Second, identifiability of α is addressed Third, a workflow is provided to explain how to implement the proposed procedure In Section 3 we show that Model (1) can be reduced to one-dimension with a classifier In Section 4 we show consistency of two α estimators In Section 5 we numerically show that the estimators perform well in various settings A conclusion is made in Section 6 Appendix A1 gives proofs of theorems in the paper Supporting lemmas can be found in Appendix A2 2

2 Background and Proposed Procedure 21 Multiple Testing, FDR, and Estimating the Proportion of True Nulls Suppose one conducts n tests of null hypothesis H 0 : X i F 1 versus alternative hypothesis H a : X i F 0, i = 1,, n The X i are typically test statistics or p values and the null distribution F 1 is assumed known (usually Unif[0, 1] in the case of X i being p values) The distribution of the X i are F = αf 0 + (1 α)f 1, where 1 α is the proportion of true null hypotheses The false discovery rate (FDR) is the expected proportion of false rejections If R is the number of rejections and V is the number of false rejections then F DR E[ V R 1 R>0] Benjamini and Hochberg [1995] developed a linear step up procedure which bounds the FDR at a user specified level β In fact, this procedure is conservative and results in an FDR β(1 α) β This conservative nature causes the procedure to have less power than other methods which control FDR at β Adaptive FDR control procedures first estimate 1 α and then use this estimate to select a β which ensures control at some specified level while maximizing power Many estimators of α have been proposed [Benjamini and Hochberg, 2000, Benjamini et al, 2006, Blanchard and Roquain, 2009, Langaas et al, 2005, Patra and Sen, 2015, Storey, 2002] There are two reasons why these procedures cannot be directly applied to the PU learning problem First, many of the methods have no clear generalization to dimension greater than one because they require an ordering of the test statistics or p values Second, the distribution F 1 is assumed known where as in the PU learning problem we only have a sample from this distribution The classifier dimension reduction procedure we outline in Section 23 addresses the first point by transforming the PU learning problem to 1 dimension The theory we develop in Sections 3 and 4 addresses the second issue 22 Identifiability of α and C 01 Many works in both the PU learning and multiple testing literature have discussed the non identifiability of the parameters α and F 0 For any given (α, F 0 ) pair with α < 1, one can find a γ > 0 such that α α + γ 1 Define F 0 αf0+γf1 α+γ Then F = α F 0 + (1 α )F 1, which implies (α, F 0) and (α, F 0 ) result in the same distributions for P and U To address this issue, we follow the approach taken by Blanchard et al [2010] and Patra and Sen [2015] 3

and estimate a lower bound on α defined as { α 0 := inf γ (0, 1] : F (1 γ)f 1 γ The parameter α 0 is identifiable Recall the objective is to estimate C 01 (x) = (1 α)f 1 (x) αf 0 (x) + (1 α)f 1 (x), } is a cdf (3) the probability an observation in U is from class 1 We can use α 0 to upper bound C 01 in the following way Note that the classifier C(x) = πf 1 (x) πf 1 (x) + (1 π)f(x) outputs the probability an observation is from the labeled data set at a given x We can approximate C by training a model on the P versus U data sets The classifiers C and C 01 are related through α To see this, note that after some algebra Thus C 01 (x) = (1 α)f 1(x) f(x) f 1 (x) f(x) = C(x) 1 π 1 C(x) π = 1 π π C(x) (1 α) 1 C(x) Since α is not generally identifiable, neither is C 01 However the plug-in estimator using C n (a classifier trained on P versus U) and α 0 (some estimator of α 0 ) serves as an upper bound for C 01 Specifically, Ĉ 01 (x) = 1 π π C n (x) 1 C n (x) (1 α 0) We can classify an unlabeled observation X i as being from F 1 if Ĉ01(X i ) > 1 2 The problem has now been reduced to estimation of α 0 The classifier C n plays an important role in estimation of α 0 as well, as shown in the following section 23 Workflow for α 0 Estimation The proposed procedure to estimate α 0 in Model (1) is summarized in Figure 1 The key idea of this procedure is to reduce the dimension of PU learning problem via the classifier C n trained on P versus U and then apply a one-dimensional MPE method on the transformed data to estimate α 0 The procedure consists of three steps: Step 1 Label the P samples with pseudo label (Y = 1) and label the U samples with pseudo label (Y = 0) Hence we have P := {(X L,i, Y i = 1), i = 1,, m} and Ũ := {(X i, Y i = 0), i = 1,, n} 4

Step 2 Train a probabilistic classifier C n ( ) = P (Y = 1 X = ) on P versus Ũ Compute probabilistic predictions: p 1 := {p 1i, i = 1,, m} and p 0 := {p 0i, i = 1,, n}, where p 1i := C n (X L,i ) and p 0i := C n (X i ) Step 3 Apply a one-dimensional MPE method to p 1 and p 0 to estimate α 0 + + + + + +?????? features y probability output X L,1 X L,2 X L,3 X L,4 X L,5 X L,m X 1 X 2 X 3 X 4 X 5 X n 1 1 1 1 1 1 0 0 0 0 0 0 C n ( ) Step 1: Augment data with y Stack the positive and the unlabeled as a large matrix p 11 p 12 p 13 p 14 p 15 p 1m p 01 p 02 p 03 p 04 p 05 p 0n one-dimensional procedure Step 2: Train a classifier, compute class probabilities 1 or 2 C-patra/sen method: adapted from Patra and Sen [2015] C-roc method: adapted from Storey [2002] and Scott [2015] Step 3: Apply one-dim procedure on class probabilities Figure 1: Workflow of proposed procedure In Step 1, + denotes the positive samples, and? denotes the unlabeled samples whose label are unknown (can be + or - ) We stack the set P and the set U together as a large matrix, and add a new column y to manually impose pseudo labels on observations: 1 for X L,i and 0 for X i In Step 2, a classifier C n ( ) is trained on the stacked matrix and the probability predictions (y = 1 as reference) are obtained In Step 3, a one-dimensional procedure is applied to the probability output from Step 2 In this paper, two methods C-patra/sen and C-roc are introduced as examples The upper density curve is used to demonstrate that the p 1 := {p 1i } m i=1 are from one population, while the bottom density curve shows that p 0 := {p 0i } n i=1 are from mixture of two populations We augment the original data with pseudo labels in Step 1, in order to use a supervised learning classification algorithm In Step 2 we use Random Forest [Breiman, 2001] However in principle any classifier can be used Note that the p 0i and p 1i are scalars Hence in Step 3 we can utilize any one-dimensional method to estimate α 0 In this work we adapt two methods one from Storey [2002] and Scott [2015], 5

another from Patra and Sen [2015] Note that the original theory developed for these methods assumed that the null distribution is known, but in the PU problem we need to estimate it from p 1 Since this setting is more complex and more challenging, new theory is needed In Section 4, we prove the consistency of two estimators in the PU setting, using Theorems 1 and 2 3 Dimension Reduction via Classifier Using the P and U samples we can make probabilistic predictions, ie compute the probability that the observation is from distribution F 1 versus from distribution F The true classifier is where π = C(x) = f 1 (x)π f 1 (x)π + f(x)(1 π), (4) m m+n is the proportion of labeled sample within the entire data We treat π as a known constant Denote the distribution of probabilistic predictions for P and U, respectively, as G(t) = P (C(X) t X F ), (5) G L (t) = P (C(X) t X F 1 ) (6) One can consider the two-component mixture model G = α G G s + (1 α G )G L, (7) for α G and G S, which are again potentially non-identifiable Define Theorem 1 α G 0 = α 0 α G 0 { := inf γ (0, 1] : G (1 γ)g L γ } is a cdf (8) See Section A11 for a proof Theorem 1 shows one can solve the p dimensional MPE problem (3) by solving the 1 dimensional MPE problem (8) In what follows we use α 0 instead of α G 0 to simplify notation In practice, the classifier C(X) is approximated by a trained model C n (X) on a given sample For convenience, we assume the classifier C n (X) is trained using another independent sample D n The D n is omitted in the following to lighten notation We require the approximated classifier to be a consistent estimator of the true classifier Assumptions A We assume E C n (X) C(X) = O ( n τ ), (9) 6

for some τ > 0 Such convergence results have been proven for a variety of probabilistic classifiers, including variants of Random Forest [Biau, 2012] Define G L,n (t) := 1 m G n (t) := 1 n m i=1 n i=1 1 Cn(X L,i ) t, 1 Cn(X i) t Intuitively we can think of G L,n and G n as approximate empirical distribution functions of G L and G respectively The approximation is due to the fact that C is estimated with C n Thus we would expect Glivenko-Cantelli and Donsker properties for G n (t) and G L,n (t) However problems can arise when C(X) is not continuous Essentially convergence in probability for C(X), implied by Assumptions A, only implies convergence of distribution functions at points of continuity By assuming G L and G possess densities, we can obtain uniform convergence of distribution functions Assumptions B We assume that G and G L are absolutely continuous and have bounded density functions g and g L Theorem 2 Under Assumption A and B, for β = τ/3 n β (G L,n (t) G L (t)) is O P (1), n β (G n (t) G(t)) is O P (1), where both O P (1) are uniform in t See Section A12 for a proof The result from theorem 2 is the key step in showing consistency of our α 0 estimators in the following sections 4 Estimation of α 0 We generalize a one dimensional method of Patra and Sen [2015] to the PU learning problem We call it C-patra/sen to emphasize the fact that the method developed in Patra and Sen [2015] is applied to the output of a classifier Then we generalize a one dimensional method of Storey [2002] to the PU learning problem We show that the ROC method developed in Blanchard et al [2010] and Scott [2015] can be viewed as a variant of the Storey [2002] idea We develop a version of ROC termed C-roc 7

41 C-patra/sen Patra and Sen [2015] remove as much of the G L,n distribution from G n as possible, while ensuring that the difference is close to a valid cumulative distribution function We briefly review the idea and provide theoretical results to support use of this procedure in the PU learning problem See Patra and Sen [2015] for a fuller description of the method in the one dimensional case For any γ (0, 1] define Ĝ γ s,n = G n (1 γ)g L,n γ If γ α 0, Ĝγ s,n will be a valid cdf (up to sampling uncertainty) while the converse is true if γ < α 0 Find the closest valid cdf to Ĝγ s,n, termed Ǧγ s,n, and measure the distance between Ĝγ s,n and Ǧγ s,n Define Ǧ γ s,n = argmin all cdf W (t) (Ĝγ d n (g, h) = (g(t) h(t)) 2 dg n (t) s,n W (t)) 2 dgn (t), (10) Isotonic regression is used to solve Equation 10 If d n (Ĝγ s,n, Ǧγ s,n) 0, then α 0 γ where the level of approximation is a function of the estimation uncertainty and thus the sample size Given a sequence c n define { α cn 0 = inf γ (0, 1] : γd n (Ĝγ s,n, Ǧγ s,n) c } n n β η where η (0, β) is a constant and the rate β is from Theorem 2 Theorem 3 Under Assumptions A and B, if c n = o(n β η ) and c n, then α cn 0 p α 0 The proof, contained in Section A14, is a generalization of results in Patra and Sen [2015] which accounts for the fact that both G n and G L,n are estimators While Theorem 3 provides consistency, there are a wide range of choices of c n Patra and Sen [2015] showed that γd n (Ĝγ s,n, Ǧγ s,n) is convex, non-increasing and proposed letting α 0 be the γ that maximizes the second derivative of γd n (Ĝγ s,n, Ǧγ s,n) We use this implementation in our numerical work in Section 5 42 C-roc Recalling the definitions of G, G s, and G L from Section 3, note G(t) = αg s (t) + (1 α)g L (t) α + (1 α)g L (t) 8

for all t Thus for any t such that G L (t) 1 we have k(t) G(t) G L(t) 1 G L (t) In the FDR literature, G L is the distribution of the test statistic or p value under the null hypothesis and is generally assumed known Thus only G must be estimated, usually with the empirical cumulative distribution function Storey [2002] proposed an estimator for k(t) at fixed t (Equation 6) and determined α a bootstrap method to find the t which produces the best estimates of the FDR The PU problem is more complicated in that one must estimate G and G L However the structure of G and G L enables one to estimate the identifiable parameter α 0 Specifically with t = inf{t : G L (t) 1} we have lim k(t) = α 0 (11) t t See Lemma 1 for a proof This result suggests estimating α 0 by substituting the empirical estimators of G n and G L,n into Equation 11 along with a sequence t which is converging to the (unknown) t Such a sequence t must be chosen so that the estimated denominator 1 ĜL,n( t) is not converging to 0 too fast (and hence too variable) For t we use a quantile of the empirical cdf which is converging to 1, but at a rate slower than the convergence of the empirical cdf For some q (0, β), define t = inf{t : G L,n (t) 1 n q } n 1 The n 1 term in t avoids technical complications Theorem 4 Under Assumptions A and B See Section A13 for a proof 421 Connection with ROC Method k n ( t) G n( t) G L,n ( t) 1 G L,n ( t) P α 0 The ROC method of Scott [2015] (Proposition 2) and Blanchard et al [2010] is a variant of the Storey [2002] method with a particular cutoff value t Define the true ROC curve by the parametric equation {(G L (t), G(t)) : t [0, 1]} 9

Scott [2015] showed that α 0 is the supremum of one minus the slope between (1,1) and any point on the ROC curve 1 This is equivalent to the Storey method because α 0 = sup 1 1 G(t) t 1 G L (t) = sup t = sup k(t) t G(t) G L (t) 1 G L (t) The true ROC curve is not known, so α 0 cannot be computed directly from this expression Blanchard et al [2010] found a consistent estimator and Scott [2015] determined rates of convergence using VC theory For application to data, Scott [2015] splits the labeled and unlabeled data sets in half, constructs a kernel logistic regression classifier on half the data, and estimates the slope between (1,1) and a discrete set of points on the ROC curve The α 0 estimate is the supremum of 1 minus each of these slopes Thus we see that the ROC method and earlier methods developed in the FDR literature are in the same family of α estimation strategies Choosing a t in the Storey approach is equivalent to choosing a point on the ROC curve 422 Practical Implementation We consider two implementations of these ideas The method of Scott [2015], using a kernel logistic regression classifier and a PU training test set split to estimate tuning parameters, is referred to as ROC To facilitate comparison with C-patra/sen, we consider another version with a Random Forest classifier using out of bag probabilities to construct the ROC curve We call this method C-roc 5 Numerical Experiments To illustrate the proposed methods we carry out numerical experiments on simulated waveform data and a real protein signaling data set TCDB-SwissProt We compare the performance of the three methods (Cpatra/sen, C-roc and ROC) discussed in Section 4 and the SPY method With the SPY method, once the classifications ( positive or negative ) in set U are made, we use the proportion of negative cases as an approximation of α 0 For the C-roc and C-patra/sen methods [Breiman, 2001], we use Random Forest to construct C n ( ) 1 Scott [2015] estimated κ = 1 α We have modified the ROC method notation to reflect the α notation used in this work 10

51 Waveform Data We simulate observations from the waveform data set using the R-package mlbench [Leisch and Dimitriadou, 2010] The waveform data is a binary classification problem with 21 features We fix π = 05 for all simulations α0 00 02 04 06 08 10 C patra/sen C roc ROC SPY accuracy 00 02 04 06 08 10 C patra/sen C roc ROC SPY F1 score 00 02 04 06 08 10 C patra/sen C roc ROC SPY 00 02 04 06 08 10 00 02 04 06 08 10 00 02 04 06 08 10 α α α Figure 2: Comparison of methods with different α values On the x-axis, α varies from 001 to 099 by step size 001 The left plot displays the estimates of the lower bound α 0 The middle plot displays the accuracy of classifying observations in U The right plot displays the F1 score of the classifications 511 Varying α We vary α from 001 to 099 in Model (1) in increments of 001 For each α the sample sizes are fixed at m = n = 3000 At each α we run the methods described to estimate α and classify observations in U Results are shown in Figure 2 For α estimation shown in the left panel, the ROC method performs well when α is large, but overestimates α when it is near zero If α is small, the ROC method is sensitive to the random seed used to divide samples into training and testing sets The SPY method depends on a good choice of noise level, so with misspecified noise level it usually overestimates or underestimates α C-roc and C-patra/sen methods are more stable with small α 512 Varying Sample Size We empirically examine consistency and convergence rates of the methods by estimating α at increasing sample sizes, keeping the number of labeled and unlabeled observations equal, ie n = m In Figure 3, every method is repeated 20 times for each (n, α) pair The 20 α 0 estimates are displayed as a boxplot, which show estimator bias and variance 11

C patra/sen C roc ROC SPY 01 05 09 01 05 09 01 05 09 01 05 09 100 400 1600 6400 100 400 1600 6400 100 400 1600 6400 100 400 1600 6400 α 0 01 05 09 01 05 09 01 05 09 01 05 09 100 400 1600 6400 100 400 1600 6400 100 400 1600 6400 100 400 1600 6400 01 05 09 01 05 09 01 05 09 01 05 09 100 400 1600 6400 100 400 1600 6400 100 400 1600 6400 100 400 1600 6400 n n n n Figure 3: Comparison of methods with different sample sizes The red solid line represents the true α (01,05,09) The range for all y-axes is [0, 1] from bottom to top The unlabeled sample size n varies with 100 2 j (j = 0,, 6) Each boxplot summarizes 20 repeated estimates α 0 for each (n, α) pair We see that 1) all methods, except SPY, appear consistent under different settings (α = 01, 05, 09); 2) the ROC estimator has the largest variance; 3) with larger α, the estimators have smaller variance 4) C-patra/sen and C-roc are the best methods on average 513 Single Feature α 0 Estimation One approach to solving the multidimensional PU learning problem is to estimate α separately using each feature If X i R p, this results in p estimates α 0, 1, α p 0 of the parameter α Each of these is an estimated lower bound on α Thus a naive estimate of α 0 is max( α 0, 1, α p 0 ) This approach ignores the correlation structure among features Using the waveform data, we compare this strategy to the multi dimensional classifier approach To make the problem challenging we select the 14 weakest features, defined as having the lowest Random 12

Forest importance scores We apply the Patra Sen one dimensional method to obtain individual feature α 0 estimates The results are summarized in Figure 4 Feature importance matches well with the performance of the α estimates On the right panels of Figure 4, we see that feature 5 is not useful because there is little difference between the unlabeled and labeled samples, leading to a feature based α estimate of approximately 0012 In contrast, feature 8 is better in that it gives an alpha estimate of approximately 0542 The SPY, C- roc, and C-patra/sen methods all perform better than the individual feature estimates (upper left of Figure 4) KDEs of 5th feature α 0 00 02 04 06 08 10 true alpha = 06 C patra/sen = 0594 C roc = 0567 ROC = 0541 SPY = 0589 max(patra/sen) = 0542 true alpha importance patra/sen 100 150 200 importance KDEs of 8th feature unlabeled labeled unlabeled labeled 2 4 6 8 10 12 14 feature Figure 4: Estimation of α 0 using individual features In the left panel the horizontal blue dash line is the true α (= 06), the vertical black dashed lines are the feature importances (right y axis), and the red cross symbol are the α 0 estimate using the Patra/Sen procedure on a single feature (left y axis) The right panels are kernel density estimates of unlabeled and labeled data for features 5 and 8 52 Protein Signaling The transporter classification database (TCDB) [Saier et al, 2006], here the P set, consists of 2453 proteins involved in signaling across cellular membranes It is desirable to add proteins to this database from unlabeled databases which contain a mixture of membrane transport and non transport proteins Elkan and Noto [2008] and Das et al [2007] manually identified 348 of the 4906 proteins as being related to transport in the SwissProt [Boeckmann et al, 2003] database We treat the SwissProt data as the unlabeled set U for which 13

we have ground truth α = (4906 348)/4906 0929 Information from protein description documents are used as features including function, subcellular location, alternative products, and disease In total there are 741 features PCA is used on 741 features to obtain 200 new features that explain about 94% of variation Table 1 contains results of applying the four methods to estimate α and classify unlabeled observations In the ideal column, α = 093 is the true proportion of negative samples within the unlabeled set The accuracy (099) and F1 score (092) in the ideal column are calculated using 10 fold cross-validation with all the of positive examples (in TCDB and SwissProt) against only the negative examples in SwissProt This represents an upper bound on the performance one could expect for the PU learning methods The second through fifth columns (C-patra/sen through SPY) contain results of the four methods discussed in this work C-roc has the best performance among the methods ideal C-patra/sen C-roc ROC SPY alpha 093 096 094 096 089 accuracy 099 095 096 089 094 F1 score 092 054 068 004 066 Table 1: Comparison of methods for protein signaling data 6 Conclusion In this paper we proposed a framework for estimating the mixture proportion and classifier in the PU learning problem We implemented this framework using two estimators from the FDR literature, C-patra/sen and C-roc The framework has the power to incorporate other one-dimensional MPE procedures, such as Meinshausen and Rice [2006], Genovese and Wasserman [2004], Langaas et al [2005], Efron [2007], Jin [2008], Cai and Jin [2010] or Nguyen and Matias [2014] More generally we have strengthened connections between the classification machine learning literature and the multiple testing literature by constructing estimators using ideas from both communities Supplementary Materials R code and data needed for reproducing results in this work are available online at githubcom/zflin/ PU_learning The R packages used in this project are mlbench [Leisch and Dimitriadou, 2010], devtools [Wickham and Chang, 2017], Iso [Turner, 2015], randomforest [Liaw and Wiener, 2002], MASS [Venables and Ripley, 2002], pdist [Wong, 2013], LiblineaR [Helleputte, 2017], foreach [Analytics and Weston, 2015b], 14

doparallel [Analytics and Weston, 2015a], and xtable [Dahl, 2016] Acknowledgments Part of this work was completed while the authors were research fellows in the Astrostatistics program at the Statistics and Applied Mathematical Sciences Institute (SAMSI) in Fall 2016 The authors gratefully acknowledge SAMSI s support References R Analytics and S Weston doparallel: Foreach Parallel Adaptor for the parallel Package, 2015a URL https://cranr-projectorg/package=doparallel R package version 1010 R Analytics and S Weston foreach: Provides Foreach Looping Construct for R, 2015b URL https: //CRANR-projectorg/package=foreach R package version 143 Y Benjamini and Y Hochberg Controlling the false discovery rate: A practical and powerful approach to multiple testing Journal of the Royal Statistical Society Series B (Methodological), 57(1):289 300, 1995 ISSN 00359246 Y Benjamini and Y Hochberg On the adaptive control of the false discovery rate in multiple testing with independent statistics Journal of educational and Behavioral Statistics, 25(1):60 83, 2000 Y Benjamini, A M Krieger, and D Yekutieli Adaptive linear step-up procedures that control the false discovery rate Biometrika, 93(3):491 507, 2006 G Biau Analysis of a random forests model J Mach Learn Res, 13(1):1063 1095, Apr 2012 ISSN 1532-4435 G Blanchard and É Roquain Adaptive false discovery rate control under independence and dependence Journal of Machine Learning Research, 10(Dec):2837 2871, 2009 G Blanchard, G Lee, and C Scott Semi-supervised novelty detection J Mach Learn Res, 11:2973 3009, Dec 2010 ISSN 1532-4435 URL http://dlacmorg/citationcfm?id=17560061953028 B Boeckmann, A Bairoch, R Apweiler, M-C Blatter, A Estreicher, E Gasteiger, M J Martin, K Michoud, C O Donovan, I Phan, S Pilbout, and M Schneider The swiss-prot protein knowledgebase and its supplement trembl in 2003 Nucleic Acids Research, 31(1):365 370, 2003 L Breiman Random forests Machine Learning, 45(1):5 32, 2001 T T Cai and J Jin Optimal rates of convergence for estimating the null density and proportion of nonnull effects in large-scale multiple testing Ann Statist, 38(1):100 145, 02 2010 S Chang, Y Zhang, J Tang, D Yin, Y Chang, M A Hasegawa-Johnson, and T S Huang Positiveunlabeled learning in streaming networks In Proceedings of the 22Nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD 16, pages 755 764, New York, NY, USA, 2016 ACM ISBN 978-1-4503-4232-2 D B Dahl xtable: Export Tables to LaTeX or HTML, 2016 URL https://cranr-projectorg/package= xtable R package version 18-2 15

S Das, M H Saier, and C Elkan Finding Transport Proteins in a General Protein Database, pages 54 66 Springer Berlin Heidelberg, Berlin, Heidelberg, 2007 B Efron Size, power and false discovery rates Ann Statist, 35(4):1351 1377, 08 2007 B Efron Large-scale Inference: Empirical Bayes Methods for Estimation, Testing, and Prediction, volume 1 Cambridge University Press, 2012 B Efron, R Tibshirani, J D Storey, and V Tusher Empirical bayes analysis of a microarray experiment Journal of the American statistical association, 96(456):1151 1160, 2001 C Elkan and K Noto Learning classifiers from only positive and unlabeled data In Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 213 220 ACM, 2008 C Genovese and L Wasserman A stochastic process approach to false discovery control Annals of Statistics, pages 1035 1061, 2004 T Helleputte LiblineaR: Linear Predictive Models Based on the LIBLINEAR C/C++ Library, 2017 R package version 210-8 J Jin Proportion of non-zero normal means: Universal oracle equivalences and uniformly consistent estimators Journal of the Royal Statistical Society Series B (Statistical Methodology), 70(3):461 493, 2008 ISSN 13697412, 14679868 M Langaas, B H Lindqvist, and E Ferkingstad Estimating the proportion of true null hypotheses, with application to dna microarray data Journal of the Royal Statistical Society: Series B (Statistical Methodology), 67(4):555 572, 2005 ISSN 1467-9868 F Leisch and E Dimitriadou mlbench: Machine Learning Benchmark Problems, 2010 R package version 21-1 A Liaw and M Wiener Classification and regression by randomforest R News, 2(3):18 22, 2002 URL http://cranr-projectorg/doc/rnews/ B Liu, W S Lee, P S Yu, and X Li Partially supervised classification of text documents In ICML, volume 2, pages 387 394 Citeseer, 2002 N Meinshausen and J Rice Estimating the proportion of false null hypotheses among a large number of independently tested hypotheses The Annals of Statistics, 34(1):373 393, 2006 M N Nguyen, X-L Li, and S-K Ng Positive unlabeled learning for time series classification In Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence - Volume Volume Two, IJCAI 11, pages 1421 1426 AAAI Press, 2011 ISBN 978-1-57735-514-4 V H Nguyen and C Matias On efficient estimators of the proportion of true null hypotheses in a multiple testing setup Scandinavian Journal of Statistics, 41(4):1167 1194, 2014 ISSN 1467-9469 R K Patra and B Sen Estimation of a two-component mixture model with applications to multiple testing Journal of the Royal Statistical Society: Series B (Statistical Methodology), 2015 H Ramaswamy, C Scott, and A Tewari Mixture proportion estimation via kernel embedding of distributions PMLR, pages 2052 2060, 2016 16

S Robin, A Bar-Hen, J-J Daudin, and L Pierre A semi-parametric approach for mixture models: Application to local false discovery rate estimation Computational Statistics & Data Analysis, 51(12):5483 5493, 2007 M H Saier, Jr, C V Tran, and R D Barabote Tcdb: the transporter classification database for membrane transport protein analyses and information Nucleic Acids Research, 34(suppl 1):D181 D186, 2006 C Scott A rate of convergence for mixture proportion estimation, with application to learning from noisy labels In AISTATS, 2015 C Scott, G Blanchard, and G Handy Classification with asymmetric label noise: Consistency and maximal denoising In COLT, pages 489 511, 2013 J D Storey A direct approach to false discovery rates Journal of the Royal Statistical Society: Series B (Statistical Methodology), 64(3):479 498, 2002 ISSN 1467-9868 R Turner Iso: Functions to Perform Isotonic Regression, 2015 URL https://cranr-projectorg/ package=iso R package version 00-17 W N Venables and B D Ripley Modern Applied Statistics with S Springer, New York, fourth edition, 2002 URL http://wwwstatsoxacuk/pub/mass4 ISBN 0-387-95457-0 G Ward, T Hastie, S Barry, J Elith, and J R Leathwick Presence-only data and the em algorithm Biometrics, 65(2):554 563, 2009 H Wickham and W Chang devtools: Tools to Make Developing R Packages Easier, 2017 URL https: //CRANR-projectorg/package=devtools R package version 1132 J Wong pdist: Partitioned Distance Function, 2013 URL https://cranr-projectorg/package=pdist R package version 12 P Yang, X-L Li, J-P Mei, C-K Kwoh, and S-K Ng Positive-unlabeled learning for disease gene identification Bioinformatics, 28(20):2640 2647, 2012 17

Appendix A1 Appendix to A Flexible Procedure for Mixture Proportion Estimation in Positive Unlabeled Learning A1 Technical Notes A11 Proof of Theorem 1 Equivalently, we are trying to prove G (1 γ)g L γ is a CDF F (1 γ)f 1 γ is a CDF (A1) Sufficient to show G (1 γ)g L non-decreasing f (1 γ)f 1 0 with probability 1 (A2) First we show Consider any t 2 > t 1 Then (G(t 2 ) (1 γ)g L (t 2 )) (G(t 1 ) (1 γ)g L (t 1 )) = 0 {x:c(x) (t 1,t 2]} Now we show by proving the contrapositive By assumption there exists A = {x : f(x) (1 γ)f 1 (x) < 0} such that P (A) > 0 Further we have { (1 π) A = x : (1 γ) π So > f(x) f 1 (x) } (1 π) π 1 = x : < C(x) 1 + (1 γ) (1 π) π }{{} t (G(1) (1 γ)g L (1)) (G(t ) (1 γ)g L (t )) = A12 Proof of Theorem 2 < 0 A={x:C(x)>t } n β (G n (t) G(t)) = nβ ( n 1/2 n1/2 G n (t) E[1 Cn(X) t C n ] ) }{{} R n(t) + n β ( E[1 Cn(X) t C n ] G(t) ) }{{} Q n(t) f(x) (1 γ)f 1 (x) dµ(x) }{{} 0 by assumption f(x) (1 γ)f 1 (x)dµ(x)

Appendix A2 We now show that R n (t) and Q n (t) are O P (1) uniformly in t Together these facts show the expression is O P (1) uniformly in t R n (t): Note By the DKW inequality Thus R n is O P (1) Q n (t): We have R n (t) = n ( 1 n ) n 1 Cn(X i) t E[1 Cn(X) t C n ] i=1 P ( R n > x Cn ) 2e 2x2 T n {}}{ Q n (t) = E[ (1 Cn(X) t 1 C(X) t ) Cn ] E[T n 1 C(X) t ɛn C n ] }{{} B 1 + E[T n 1 C(X) t >ɛn 1 C(X) Cn(X) <ɛ n C n ] }{{} B 2 + E[T n 1 C(X) t >ɛn 1 C(X) Cn(X) >ɛ n C n ] }{{} B 3 Noting that T n 1 and C n is independent of C(X), we have B 1 P ( C(X) t ɛ n ) 2ɛ n sup g(t) t where g is the density of C(X), which exists and is bounded by Assumptions B B 2 is 0 because T n = 0 whenever the indicator functions in B 2 are both 1 Finally noting B 3 1 C(X) Cn(X) >ɛ n and using Markov s inequality twice, we have P (B 3 > r n ) P (E[1 C(X) Cn(X) >ɛ n C n ] > r n ) P ( C(X) C n(x) > ɛ n ) r n E[ C n(x) C(X) ] ɛ n r n If we choose ɛ n = n τ/3 and r n n τ/3, then we can set β = τ/3 and achieve the desired result Identical arguments hold for showing n β (G L,n (t) G L (t)) is O P (1) uniform in t A13 Proof of Theorem 4 Since t = inf{t : G L,n (t) 1 n q } n 1 and 0 < q < β, we have Recall by Theorem 2 we have (n β (1 G L,n ( t))) 1 = nq n β = o(1) n β (G L,n (t) G L (t)) d L (t) = O P (1) n β (G n (t) G(t)) d(t) = O P (1)

Appendix A3 where this and subsequent O P and o P are uniform in t We have Note that G n ( t) G L,n ( t) = G( t) G L ( t) 1 G L,n ( t) 1 G L,n ( t) + n β (d L ( t) d( t)) 1 G L,n ( t) ( ) ( ) 1 G L ( t) G( t) G L ( t) = + d L( t) d( t) 1 G L,n ( t) 1 G L ( t) n β (1 G L,n ( t)) }{{}}{{}}{{} A k( t) o P (1) A = 1 + d L ( t) n β (1 G L,n ( t)) = 1 + o P (1) Thus it is sufficient to show that k( t) α 0 By Lemma 1, k(t) α 0 as t t We show that for any ɛ > 0 P ( t (t ɛ, t )) 1 Thus by the continuous mapping theorem, the estimator is consistent Part 1: We show P (t t > ɛ) 0 By the definition of t, there exists γ > 0 such that G L (t ɛ/2) = 1 γ We have P (t t > ɛ) = P (G L,n (t ɛ + n 1 ) > G L,n ( t + n 1 )) P (G L,n (t ɛ + n 1 ) > 1 n q ) P (G L (t ɛ + n 1 ) > 1 n q γ/2) + P ( G L,n (t ɛ + n 1 ) G L (t ɛ + n 1 ) > γ/2) }{{}}{{} A 0 by Theorem 2 A 0 because for sufficiently large n, G L (t ɛ + n 1 ) G L (t ɛ/2) = 1 γ < 1 n q γ/2 Part 2: We show P ( t t ) 0 We have Since β > q we have the result A14 Proof of Theorem 3 P ( t t ) = P (G n,l ( t + n 1 ) G n,l (t + n 1 )) = P (1 n q G n,l (t + n 1 )) = P (1 G n,l (t + n 1 ) n q ) = P (n β (G L (t + n 1 ) G n,l (t + n 1 )) n β q ) }{{} O P (1) by Theorem 2 Proof ɛ > 0, we need to show P ( α cn 0 α 0 > ɛ) 0 Note P ( α cn 0 α 0 > ɛ) = P ( α cn 0 < α 0 ɛ) + P ( α cn 0 > α 0 + ɛ) First we show that P ( α cn 0 < α 0 ɛ) 0 If α 0 ɛ, then P ( α cn 0 < α 0 ɛ) P ( α cn 0 < 0) = 0

Appendix A4 If α 0 > ɛ, suppose we have α cn 0 < α 0 ɛ, then by Lemma 6, d n (Ĝα0 ɛ s,n, Ǧα0 ɛ s,n ) c n n β η (α 0 ɛ) The LHS of above converges to positive constant by Lemma 5, while the RHS converges to zero by the choice of c n, hence P ( α cn 0 < α 0 ɛ) 0 Now we show that P ( α cn 0 > α 0 + ɛ) 0 Suppose we have α cn 0 > α 0 + ɛ, then by Lemma 6, n β η c n d n (Ĝα0+ɛ s,n, Ǧα0+ɛ s,n ) > (α 0 ɛ) The LHS of above converges to zero by Lemmas 5 and 4, while the RHS converges to infinity by the choice of c n, hence P ( α cn 0 > α 0 + ɛ) 0 A2 Lemmas Lemma 1 lim t t k(t) = α 0 Proof Define α 0 = lim t t k(t) Show α 0 α 0 : By the definition of α 0 there exists cdf G α0 such that G(t) = α 0 G α0 (t) + (1 α 0 )G L (t) α 0 + (1 α 0 )G L (t) Thus for all t Thus α 0 = lim t t k(t) α 0 k(t) = G(t) G L(t) 1 G L (t) α 0 Show α 0 α 0 : Consider any γ < α 0 We show γ < α 0 Since γ < α 0, is not a cdf Thus there exists t 1 < t 2 such that G(t 1 ) (1 γ)g L (t 1 ) γ G (1 γ)g L γ > G(t 2) (1 γ)g L (t 2 ) (A3) γ Since the left hand side is bounded above by 1 and G(t) = 1 t t, t 2 < t From Equation (A3) we have G(t 1 ) G(t 2 ) > (1 γ)(g L (t 1 ) G L (t 2 )) which implies (since G L (t 1 ) G L (t 2 ) < 0) that G(t 2 ) G(t 1 ) < (1 γ) G L (t 2 ) G L (t 1 ) (A4) From Lemma 3 we have 1 G L (t 2 ) 1 G(t 2 ) = G L(1) G L (t 2 ) G L(t 2 ) G L (t 1 ) G(1) G(t 2 ) G(t 2 ) G(t 1 )

Appendix A5 Combining this result with Equation (A4) we obtain which implies 1 G(t 2 ) 1 G L (t 2 ) 1 γ γ G(t 2) G L (t 2 ) 1 G(t 2 ) Since k(t) as t t (see Lemma 2), we have the result Lemma 2 k(t) is increasing on t [0, t ) = k(t 2 ) Proof Recall Q(p) = inf{t (0, 1] : G L (t) p} and t = Q(1) Note that with a, b, c, d > 0 and a/b < c/d, Next note that by Lemma 3, for t > t 2 > t 1, Thus we have a + c b + d > a b G(t 2 ) G(t 1 ) G L (t 2 ) G L (t 1 ) > 1 G(t 2) 1 G L (t 2 ) 1 k(t 1 ) = 1 G(t 1) 1 G L (t 1 ) = 1 G(t 2) + G(t 2 ) G(t 1 ) 1 G L (t 2 ) + G L (t 2 ) G L (t 1 ) 1 G(t 2) 1 G L (t 2 ) = 1 k(t 2 ) Lemma 3 (Ratio) For all 0 t 1 < t 2 1 where G(t 2 ) G(t 1 ) > 0 we have where 1/0 1 π π t 1 < G L(t 2 ) G L (t 1 ) 1 π 1 t 1 G(t 2 ) G(t 1 ) π t 2 1 t 2 Proof The classifier is C(x) = Define A t = {x : C(x) t} = {x : 1 t t 1 t 2 t 2 πf L (x) πf L (x) + (1 π)f(x) = 1 1 + 1 π π π f(x) f L (x) 1 π f L(x) f(x)} Therefore on the set A t2 A C t 1 π 1 π f L(x) f(x) < 1 t 1 t 1 π 1 π f L(x) we have So G L (t 2 ) G L (t 1 ) G(t 2 ) G(t 1 ) A t2 f A = C L (x) t 1 A t2 f(x) > A Ct1 1 t 1 t 1 A t2 f A C L (x) t 1 A t2 f A C L (x) = t 1 1 π 1 t 1 π t 1 π 1 π We can obtain the upper bound in an identical manner

Appendix A6 Lemma 4 n β η d n (G, G n ) = o P (1), n β η d n (G L, G L,n ) = o P (1) Proof 2 n β η d n (G, G n ) = n η }{{} n β (G n (t) G(t)) dg n (t), }{{} =o P (1) =O P (1) where n β (G n (t) G(t)) = O P (1) uniformly, and then n η n β (G n (t) G(t)) = o P (1) uniformly Therefore n β η d n (G, G n ) sup n η n β (G n (t) G(t)) = o P (1) t The G L, G L,n case can be proved in an identical manner Lemma 5 For 1 γ α 0, Thus, Proof Let If γ α 0, then γd n (Ĝγ s,n, Ǧγ s,n) d n (G, G n ) + (1 γ)d n (G L, G L,n ) γd n (Ĝγ s,n, Ǧγ s,n) { 0 if γ α0, > 0 if γ < α 0 G γ s = G (1 γ)g L γ γd n (Ĝγ s,n, Ǧγ s,n) γd n (Ĝγ s,n, G γ s ) d n (G, G n ) + (1 γ)d n (G L, G L,n ) The first inequality holds by the definition of Ǧγ s,n due to the fact that G γ s is a valid CDF when 1 γ α 0, and the second inequality is due to triangle inequality Now we prove the limit property of γd n (Ĝγ s,n, Ǧγ s,n) If γ α 0, then γd n (Ĝγ s,n, Ǧγ s,n) 0 since d n (G, G n ) 0 and d n (G L, G L,n ) 0 by Lemma 4 If γ < α 0, by the definition of α G 0, G γ s is not a valid cdf Pointwisely, Ĝγ s,n G γ s So for large n, Ĝγ s,n is not valid cdf, while Ǧγ s,n is always a cdf So γd n (Ĝγ s,n, Ǧγ s,n) would converge to some positive constant Lemma 6 B n := {γ [0, 1] : n β η γd n (Ĝγ s,n, Ǧγ s,n) c n } is convex Thus, B n = ( α cn 0, 1] or B n = [ α cn 0, 1] Proof Obviously, 1 B n Assume γ 1 γ 2 from B n, let γ 3 = ξγ 1 + (1 ξ)γ 2, where ξ [0, 1] Then by definition of Ĝγ s,n, ξγ 1 Ĝ γ1 s,n + (1 ξ)γ 2 Ĝ γ2 s,n = γ 3 Ĝ γ3 s,n

Appendix A7 Note that 1 γ 3 ( ξγ1 Ǧ γ1 s,n + (1 ξ)γ 2 Ǧ γ2 s,n) is a valid cdf We have γ3 B n because ( d n (Ĝγ3 s,n, Ǧγ3 s,n) d n Ĝ γ3 s,n, 1 ( ) ) ξγ1 Ǧ γ1 s,n + (1 ξ)γ 2 Ǧ γ2 s,n γ 3 ( 1 ) = d n (ξγ 1 Ĝ γ1 s,n + (1 ξ)γ 2 Ĝ γ2 s,n, 1 ( ) ) ξγ1 Ǧ γ1 s,n + (1 ξ)γ 2 Ǧ γ2 s,n γ 3 γ 3 ξγ 1 γ 3 d n (Ĝγ1 s,n, Ǧγ1 ξγ 1 γ 3 s,n) + (1 ξ)γ 2 c n n β η γ 1 + (1 ξ)γ 2 γ 3 γ 3 c n n β η γ 2 = d n (Ĝγ2 s,n, Ǧγ2 s,n) c n n β η γ 3