1 Introduction

When being asked about a quantity, people often answer with an interval if they are not certain. For example, when asked about the distance to a given town, we would say “it is about 60–70 km”. This is one of the reasons why in questionnaire surveys respondents are often allowed to give an answer in the form of an interval to a quantitative question. One common question format is the so-called range card, where the respondent is asked to select from several pre-specified intervals (called “brackets”). Another approach is known as unfolding brackets. In this case the respondent is asked a sequence of yes-no questions that narrow down the range in which the respondent’s true value is. For example, the respondent is first asked “In the past year, did your household spend less than 500 EUR on electrical items?”. If the answer is “yes”, the next question asks if they spent more than 400 EUR. If the response to the first question is “no”, the next question asks if they spent less than 600 EUR and so on. Unfolding brackets can be designed such that they elicit the same information as in a range-card question. These formats are often used for asking sensitive questions, e.g. asking about income, because they allow partial information to be obtained from respondents who are unwilling to provide exact amounts.

However, there are some issues associated with these approaches. Studies have found that the choice of bracket values in range-card questions is likely to influence responses. This is known as the bracketing effect or range bias (see, e.g., McFadden et al. 2005; Whynes et al. 2004). In questions about usage frequency (e.g. “How many hours per day do you spend on the internet?”), respondents might assume that the range of response alternatives represents a range of “expected” behaviors. Thus, they seem reluctant to report behaviors that are “extreme”, i.e. the bottom and top brackets (see Schwarz et al. 1985). The unfolding brackets format is susceptible to the so-called anchoring effect (see, e.g., Furnham and Boo 2011; Van Exel et al. 2006), i.e. answers are biased toward the starting value (500 EUR in the example above). Respondents might perceive the initial value as representing a reasonable value of the quantity in question. It serves as an “anchor” or reference point, and respondents adjust their answer to be closer to the anchor than the estimate they had before seeing the question.

It is intuitively plausible that bracketing and anchoring effects would be avoided if the respondent is free to state any interval without having any hints like pre-specified values, in other words, if the question is open-ended. One such format is called respondent-generated intervals, proposed and investigated by Press and Tanur (see, e.g., Press and Tanur 2004a, b and the references therein). In this approach the respondent is asked to provide both a point value (a best guess for the true value) and an interval (a lower and an upper bound) to a question. They used hierarchical Bayesian methods to obtain point estimates and credibility intervals that are based on both the point values and the intervals.

Related to the respondent-generated intervals approach is the self-selected interval (SSI) approach suggested by Belyaev and Kriström (2010), where the respondent is free to provide any interval containing his/her true value. They proposed a maximum likelihood estimator of the underlying distribution based on SSI data. However, this estimator relies on certain restrictive assumptions on some nuisance parameters. To avoid such assumptions, Belyaev and Kriström (2012, 2015) introduced a novel two-stage approach. In the first stage of data collection (we will call it the pilot stage), respondents are asked to state single self-selected intervals. In the second stage (the main stage), each respondent from a new sample is asked two questions: (i) to provide a SSI and then (ii) to select from several sub-intervals of the SSI the one that most likely contains his/her true value. The sub-intervals in the second question of the main stage are generated from the SSIs collected in the pilot stage. Belyaev and Kriström (2012, 2015) developed a nonparametric maximum likelihood estimator of the underlying distribution for two-stage SSI data.

Data consisting of self-selected intervals or respondent-generated intervals (without the point values) are a special case of interval-censored data. Let X be a random variable of interest. An observation on X is interval-censored if, instead of observing X exactly, only an interval \((L,R\,]\) is observed, where \(L < X \le R\). Interval censoring also contains right censoring and left censoring as special cases, and if \(R=\infty \), the observation is right-censored, while if \(L=-\infty \) the observation is left-censored (see, e.g., Zhang and Sun 2010). Interval-censored data are encountered most commonly when the observed variable is the time to some event (known as time-to-event data, failure time data, survival data, or lifetime data). The problem of analyzing time-to-event data appears in many areas such as medicine, epidemiology, engineering, economics, and demography.

With regard to statistical analysis of interval-censored data, Peto (1973) considered nonparametric maximum likelihood estimation and employed a constrained Newton-Raphson algorithm. Turnbull (1976) extended the work of Peto to allow for truncation and suggested a self-consistency algorithm. Considering the case of no truncation, Gentleman and Geyer (1994) provided conditions under which Turnbull’s estimator is indeed a maximum likelihood estimator and is unique. All these methods rely on the assumption of noninformative censoring, which implies that the joint distribution of L and R contains no parameters that are involved in the distribution function of X and therefore does not contribute to the likelihood function (see, e.g., Sun 2006). In the sampling schemes considered by Belyaev and Kriström (2010, 2012, 2015) this is not a reasonable assumption, thus the standard methods are not appropriate. The existing methods for analysis of time-to-event data in the presence of informative interval censoring require modeling the censoring process and estimating nuisance parameters (see Finkelstein et al. 2002) or making additional assumptions about the censoring process (see Shardell et al. 2007). These estimators are specific for time-to-event data and are not directly applicable in the context that we are discussing.

In this paper, we extend the work of Belyaev and Kriström (2012, 2015) by considering a sampling scheme where the number of sub-intervals in the second question of the main stage is limited to two or three, which is motivated by the fact that a question with a large number of sub-intervals might be difficult to implement in practice (e.g., in a telephone interview). In Sect. 2, we describe the sampling scheme. Section 3 introduces the statistical model. In Sect. 4, a nonparametric maximum likelihood estimator of the underlying distribution is proposed, and some of its properties are established. In Sect. 5, the results of a simulation study are presented, and Sect. 6 concludes the paper. Proofs and auxiliary results are given in the Appendix.

2 Sampling scheme

We consider the following two-stage scheme for collecting data. In the pilot stage, a random sample of \(n_0\) individuals is selected and each individual is asked to state an interval containing his/her value of the quantity of interest. It is assumed that the endpoints of the intervals are rounded, for example, to the nearest integer or to the nearest multiple of 10. Thus, instead of (21.3, 47.8] respondents will answer with (21, 48] or (20, 50].

Let \( d_0< d_1< \ldots< d_{k-1} < d_k \) be the endpoints of all observed intervals. The set \( \{ d_0, \ldots , d_k \} \) can be seen as a set of typical endpoints. The data, collected in the pilot stage are used only for constructing the set \( \{ d_0, \ldots , d_k \} \), which is then needed for the the main stage. In the case that a similar survey is conducted again, a new pilot stage is not necessary—the data from the previous survey can be used for constructing \( \{ d_0, \ldots , d_k \} \).

In the main stage, a new random sample of individuals is selected and each individual is asked to state an interval containing his/her value of the quantity of interest. We refer to this first question as Qu1. If the interval has endpoints that do not belong to \( \{ d_0, \ldots , d_k \} \), we exclude the respondent from the collected data. If the endpoints of the stated interval belong to \( \{ d_0, \ldots , d_k \} \), then the interval is split into two or three sub-intervals with endpoints from \( \{ d_0, \ldots , d_k \} \) and the respondent is asked to select one of these sub-intervals (the points of split are chosen in some random fashion; for details see Sect. 3). We refer to this second question as Qu2. The respondent may refuse to answer Qu2, and this will be allowed for.

Let us define a set of intervals \( {\mathcal {V}} = \{ \mathbf {v}_1, \ldots , \mathbf {v}_k \} \), where \( \mathbf {v}_j = (d_{j-1}, d_{j}], \; j=1, \ldots , k \), and let \( {\mathcal {U}} = \{ \mathbf {u}_1, \ldots , \mathbf {u}_m \} \) be the set of all intervals that can be expressed as a union of intervals from \( {\mathcal {V}} \), i.e. \( {\mathcal {U}} = \{ (d_l, d_r] : \,\, d_l < d_r, \,\, l,r=0,\ldots ,k \} \). For example, if \( {\mathcal {V}} = \{ (0,5], \, (5,10], \, (10,20] \}\), then \( {\mathcal {U}} = \{ (0,5], \, (5,10], \, (10,20], \, (0,10], (5,20], \, (0,20] \} \). We denote \({\mathcal {J}}_{\scriptstyle h}\) to be the set of indices of intervals from \({\mathcal {V}}\) contained in \(\mathbf {u}_h\) and \({\mathcal {H}}_{\scriptstyle j}\) to be the set of indices of intervals from \({\mathcal {U}}\) containing \(\mathbf {v}_j\):

$$\begin{aligned}&{\mathcal {J}}_{\scriptstyle h} = \{ j: \,\, \mathbf {v}_j \subseteq \mathbf {u}_h \}, \quad h=1, \ldots , m ; \\&{\mathcal {H}}_{\scriptstyle j} = \{ h: \,\, \mathbf {v}_j \subseteq \mathbf {u}_h \}, \quad j=1, \ldots , k . \end{aligned}$$

In the example with \( {\mathcal {V}} = \{ (0,5], \, (5,10], \, (10,20] \}, \mathbf {u}_5 = (5,20] = \mathbf {v}_2 \cup \mathbf {v}_3 \), hence \( {\mathcal {J}}_5 = \{2,3\} \). Similarly, the interval \( \mathbf {v}_3 = (10, 20] \) is contained in \( \mathbf {u}_3, \mathbf {u}_5 \) and \( \mathbf {u}_6 \), thus \( {\mathcal {H}}_3 = \{3,5,6\} \).

We can distinguish three types of answers in the main stage:

type 1.:

\( \; ( \mathbf {u}_h; \text{ NA }) \), when the respondent stated interval \(\mathbf {u}_h\) at Qu1 and refused to answer Qu2;

type 2.:

\( \; ( \mathbf {u}_h; \mathbf {v}_j ) \), when the respondent stated interval \(\mathbf {u}_h\) at Qu1 and \(\mathbf {v}_j\) at Qu2, where \( \mathbf {v}_j \subseteq \mathbf {u}_h \);

type 3.:

\( \; ( \mathbf {u}_h; \mathbf {u}_s ) \), when the respondent stated interval \(\mathbf {u}_h\) at Qu1 and \(\mathbf {u}_s\) at Qu2, where \(\mathbf {u}_s\) is a union of at least two intervals from \({\mathcal {V}}\) and \( \mathbf {u}_s \subset \mathbf {u}_h \).

In the case when \( \mathbf {u}_h \in {\mathcal {V}} \), Qu2 is not asked, but we input the answer from Qu1, and we consider this as an answer of type 2 : \( ( \mathbf {u}_h; \mathbf {v}_j=\mathbf {u}_h ) \). The number of respondents in the main stage is denoted by n (not counting those who were excluded).

Remark 1

This sampling scheme has two essential differences from the one introduced by Belyaev and Kriström (2012, 2015), namely (i) they include in the data for the main stage only respondents who stated at Qu1 an interval that was observed at the pilot stage, while we allow any interval with endpoints from \( \{ d_0, \ldots , d_k \} \), and (ii) in their scheme the interval stated at Qu1 is split into all the sub-intervals \(\mathbf {v}_j\) that it contains, while in our scheme it is split into two or three sub-intervals with endpoints from \( \{ d_0, \ldots , d_k \} \).

Remark 2

A question that arises naturally is: How large should the sample in the pilot stage be so that the proportion of excluded respondents in the main stage is sufficiently small? As noticed by Belyaev and Kriström (2015), this question is related to the problem of estimating the number of species in a population, which dates back to a work by Good (1953) and has been extensively treated in the literature since then. Belyaev and Kriström (2015) suggested a rule for determining the sample size for the pilot stage (stopping the sampling process) based on results by Good (1953). A similar stopping rule can be utilized for our sampling scheme.

3 Statistical model

The unobserved (interval-censored) values \( x_1, \ldots , x_n \) of the quantity of interest are considered to be values of independent and identically distributed (i.i.d.) random variables \( X_1, \ldots , X_n \) with distribution function \( F(x) = \mathrm {P}\,(X_i \le x) \). Our goal is to estimate F(x) by estimating the probability mass placed on each interval \(\mathbf {v}_j = (d_{j-1}, d_j]\), i.e. estimating the probabilities

$$\begin{aligned} q_j = \mathrm {P}\,(X_i \in \mathbf {v}_j) = F(d_j) - F(d_{j-1}), \quad j=1, \ldots , k . \end{aligned}$$

Thereby, the estimated distribution function will be a step function with jumps only at the points \( d_1, \ldots , d_k \). To avoid complicated notation, we assume that \( q_j > 0 \) for all \( j=1,\ldots ,k \). The case when \( q_j=0 \) for some j can be treated similarly. Actually, if we have observed at Qu1 an interval \(\mathbf {u}_h\) containing \(\mathbf {v}_j\), it is plausible to assume that \( q_j > 0 \). If for some \(j_0\) we have not observed any \(\mathbf {u}_h\) containing \(\mathbf {v}_{j_0}\), then we can assume that \( q_{j_0}=0 \) and proceed by estimating the remaining \(q_j\)’s.

Let \( H_i, \; i=1,\ldots ,n \), be i.i.d. random variables. If the i-th respondent has stated interval \(\mathbf {u}_h\) at Qu1, then \( H_i = h \). The event \( \{H_i = h\} \) implies \( \{X_i \in \mathbf {u}_h\} \). Let us denote

$$\begin{aligned} w_{h|j} =&~ \mathrm {P}\,( H_i = h \,|\, X_i \in \mathbf {v}_j ) , \\ p_{j|h} =&~ \mathrm {P}\,( X_i \in \mathbf {v}_j \,|\, H_i=h ) . \end{aligned}$$

The probabilities \(q_j\) are the main parameters of interest, while the conditional probabilities \(w_{h|j}\) are nuisance parameters. If \(w_{h|j}\) does not depend on j, the assumption of noninformative censoring will be satisfied. In our case, there are no grounds for making such assumptions about \(w_{h|j}\), and therefore we need the data on Qu2 in order to estimate \(w_{h|j}\).

We are considering a sampling scheme where, for the purpose of asking Qu2, the interval stated at Qu1 is split into two or three sub-intervals (we refer to these as 2-split design and 3-split design, respectively). We will now discuss how the points of split are determined. Let \({\mathcal {J}}_{h}^{\circ }\) be the set of indices of points from \( \{ d_0, \ldots , d_k \} \) that are in the interior of interval \(\mathbf {u}_h\), i.e. \({\mathcal {J}}_{h}^{\circ } = \{ j: \,\, d_{l_h}< d_j < d_{r_h}, \, (d_{l_h}, d_{r_h}] = \mathbf {u}_h \}, \; h=1, \ldots , m . \) In case of a 2-split design, the interval \(\mathbf {u}_h\) (stated at Qu1) is split into two sub-intervals: \((d_{l_h}, d_j]\) and \((d_j, d_{r_h}]\), and the respondent is asked to select one of these sub-intervals. The point \(d_j\) is chosen with probability \(\delta _{h,d_j}, \sum _{j \in {\mathcal {J}}_{h}^{\circ }} \delta _{h,d_j} = 1 \). In case of a 3-split design, \(\mathbf {u}_h\) is split into three sub-intervals: \((d_{l_h}, d_i]\), \((d_i, d_j]\), and \((d_j, d_{r_h}]\). The points \(d_i\) and \(d_j\) are chosen with probability \(\delta _{h,d_i,d_j}, \sum _{i,j \in {\mathcal {J}}_{h}^{\circ }, \;i<j} \delta _{h,d_i,d_j} = 1 \).

We denote by \(\gamma _t\) the probability that a respondent gives an answer of type t, for \(t=1,2,3\), and similarly \(\gamma _{ht}\) denotes the probability that a respondent, who stated \(\mathbf {u}_h\) at Qu1, gives an answer of type t for \(t=1,2,3\). Later on, we will need to assume that \(\gamma _2 > 0\) and \(\gamma _{h2} > 0\). Sufficient conditions for this are given by the following proposition.

Proposition 1

  1. (i)

    If \( \delta _{h,d_j} > 0 \) for all \( j \in {\mathcal {J}}_{h}^{\circ } \), and \( p_{l_h+1|h} > 0 \) or \( p_{r_h|h}>0 \), then \( \gamma _2 > 0 \) and \( \gamma _{h2} > 0 \).

  2. (ii)

    If \( \delta _{h,d_i,d_j} > 0 \) for all \( i,j \in {\mathcal {J}}_{h}^{\circ } \), and \( p_{l_h+1|h} > 0 \) or \(p_{r_h|h}>0 \), then \( \gamma _2 > 0 \) and \( \gamma _{h2} > 0 \).

Let \(\delta _{h,j}\) be the probability that \(\mathbf {u}_h\) is split so that one of the resulting sub-intervals is \(\mathbf {v}_j\), and let \(\delta _{h*s}\) be the probability that \(\mathbf {u}_h\) is split so that one of the resulting sub-intervals is \(\mathbf {u}_s\). It is easy to see that the probabilities \(\delta _{h,j}\) and \(\delta _{h*s}\) can be expressed in terms of \(\delta _{h,d_j}\) in case of a 2-split design, and in terms of \(\delta _{h,d_i,d_j}\) in case of a 3-split design.

4 Estimation

In this section we discuss the estimation of the distribution function F(x). We prove the consistency of a proposed nonparametric maximum likelihood estimator of the probabilities \(q_j\) given that the conditional probabilities \(w_{h|j}\) are known. We then show that if we plug in a consistent estimator of \(w_{h|j}\), the estimator of \(q_j\) is still consistent. Thereafter, we suggest an estimator of \(w_{h|j}\) and show its consistency. Iterative procedures are proposed for finding the estimates of \(q_j\) and \(w_{h|j}\).

4.1 Estimating the probabilities \(q_j\)

Henceforth we will need the following frequencies:

\(n_{h,\mathrm {NA}}\) :

\(=\) Number of respondents who stated \(\mathbf {u}_h\) at Qu1 and NA (no answer) at Qu2;

\(n_{hj}\) :

\(=\) Number of respondents who stated \(\mathbf {u}_h\) at Qu1 and \(\mathbf {v}_j\) at Qu2, where \( \mathbf {v}_j \subseteq \mathbf {u}_h \);

\(n_{h*s}\) :

\(=\) Number of respondents who stated \(\mathbf {u}_h\) at Qu1 and \(\mathbf {u}_s\) at Qu2, where \(\mathbf {u}_s\) is a union of at least two intervals from \({\mathcal {V}}\) and \( \mathbf {u}_s \subset \mathbf {u}_h \);

\(n_{h \bullet }\) :

\(=\) Number of respondents who stated \(\mathbf {u}_h\) at Qu1 and any sub-interval at Qu2;

\(n_{\bullet j}\) :

\(=\) Number of respondents who stated \(\mathbf {v}_j\) at Qu2.

We denote by \(n', n''\), and \(n'''\) the number of respondents who gave an answer of type 1, 2, and 3, respectively. The following are satisfied:

$$\begin{aligned} n' = \sum _h n_{h,\mathrm {NA}} , \qquad n'' = \sum _j n_{\bullet j} , \qquad n''' = \sum _{h,s} n_{h*s} , \qquad n' + n'' + n''' = n . \end{aligned}$$

If respondent i has given an answer of type 1, i.e. \(\mathbf {u}_h\) at Qu1 and \(\text{ NA }\) at Qu2, then the contribution to the likelihood is \( \mathrm {P}\,( H_i = h ) = \sum _{j\in {\mathcal {J}}_{\scriptstyle h}} w_{h|j} \, q_j \), where the equality follows from the law of total probability. If an answer of type 2 is observed, i.e. \(\mathbf {u}_h\) at Qu1 and \(\mathbf {v}_j\) at Qu2, then the contribution to the likelihood is \( \delta _{h,j} \, w_{h|j} \, q_j \). And in the case that we observe an answer of type 3, i.e. \(\mathbf {u}_h\) at Qu1 and \(\mathbf {u}_s\) at Qu2, the contribution to the likelihood is \( \delta _{h*s} \, \sum _{j\in {\mathcal {J}}_{\scriptstyle s}} w_{h|j} \, q_j \). Thus, the log-likelihood function (normed by n) corresponding to the main-stage data is

$$\begin{aligned} \frac{\log L(\mathbf {q})}{n}&= \frac{1}{n} \sum _h n_{h,\mathrm {NA}} \log \Biggl ( \,\sum _{j\in {\mathcal {J}}_{\scriptstyle h}} w_{h|j} \, q_j \Biggr ) + \frac{1}{n} \sum _{h,j} n_{hj} \log ( \delta _{h,j} \, w_{h|j} \, q_j ) \nonumber \\&\quad + \frac{1}{n} \sum _{h,s} n_{h*s}\log \Biggl ( \delta _{h*s} \sum _{j\in {\mathcal {J}}_{\scriptstyle s}} w_{h|j} \, q_j \Biggr ) + c_{1} \nonumber \\&= \frac{n'}{n} \sum _h \frac{n_{h,\mathrm {NA}}}{n'} \log \Biggl ( \,\sum _{j\in {\mathcal {J}}_{\scriptstyle h}} w_{h|j} \, q_j \Biggr ) + \frac{n''}{n} \sum _j \frac{n_{\bullet j}}{n''} \log q_j \nonumber \\&\quad + \frac{n'''}{n} \sum _{h,s} \frac{n_{h*s}}{n'''} \log \Biggl ( \,\sum _{j\in {\mathcal {J}}_{\scriptstyle s}} w_{h|j} \, q_j \Biggr ) + c_{2} , \end{aligned}$$
(1)

where \(c_{1}\) does not depend on \( \mathbf {q}= (q_1, \ldots , q_k) \) and

$$\begin{aligned} c_{2} = c_{1} + \frac{1}{n} \sum _{h,j} n_{hj} \log ( \delta _{h,j} \, w_{h|j} ) + \frac{1}{n} \sum _{h,s} n_{h*s} \log \delta _{h*s} . \end{aligned}$$

Remark 3

If \(n'''=0\), the log-likelihood (1) has essentially the same form as the one in Belyaev and Kriström (2012).

We say that \({\widetilde{\mathbf {q}}}\) is an approximate maximum likelihood estimator (see, e.g., Rao 1973 p. 353) of \(\mathbf {q}\) if

$$\begin{aligned} L({\widetilde{\mathbf {q}}} ) \ge c \, \sup _{\mathbf {q}\in A} L(\mathbf {q}) , \quad 0<c<1 , \end{aligned}$$
(2)

where \(L(\mathbf {q})\) is the likelihood function and A is an admissible set of values of \(\mathbf {q}\). In our case the admissible set is \( A = \{ \mathbf {q}: \; 0< q_j < 1, \; \sum _{j=1}^k q_j = 1 \} . \)

Theorem 1

Let \({\widetilde{\mathbf {q}}}\) be an approximate maximum likelihood estimator of \(\mathbf {q}\) and \(\mathbf {q}^0\) be the vector of true probabilities. If the conditional probabilities \(w_{h|j}\) are known and \( \gamma _2>0 \), then \( {\widetilde{\mathbf {q}}} \;\overset{{{\mathrm{a.s.}}}}{\longrightarrow }\mathbf {q}^0 \) as \( n \longrightarrow \infty \).

In order to find the maximizer of the log-likelihood \(\log L(\mathbf {q})\), we will consider the Lagrange function:

$$\begin{aligned} {\mathcal {L}} (\mathbf {q}, \lambda ) = \frac{\log L(\mathbf {q})}{n} + \lambda (q_1 + \cdots + q_k) . \end{aligned}$$

If \(\mathbf {q}= (q_1, \ldots , q_k)\) is a stationary point of the log-likelihood function \(\log L(\mathbf {q})\) in A, then there exists \(\lambda \) such that \((\mathbf {q}, \lambda )\) is a solution of

$$\begin{aligned} \frac{\partial {\mathcal {L}} (\mathbf {q}, \lambda )}{\partial q_j} = 0, \quad j=1,\ldots ,k . \end{aligned}$$
(3)

From the concavity of the log-likelihood function (see Proposition 2 in the Appendix), it follows that it can have no more than one stationary point. It is easy to see that the same is true for \({\mathcal {L}} (\mathbf {q}, \lambda )\). Therefore, if we find a stationary point of \({\mathcal {L}} (\mathbf {q}, \lambda )\), it corresponds to the unique stationary point of the log-likelihood, which will be the maximum likelihood estimate.

By taking the derivative of \({\mathcal {L}} (\mathbf {q}, \lambda )\) with respect to \(q_j\), we can write equations (3) as follows:

$$\begin{aligned}&\frac{n'}{n} \sum _{h\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h,\mathrm {NA}}}{n'} \frac{w_{h|j}}{\sum _{i\in {\mathcal {J}}_{\scriptstyle h}} w_{h|i} \, q_i} + \frac{n''}{n} \frac{n_{\bullet j}}{n''} \frac{1}{q_j} \nonumber \\&\quad + ~\frac{n'''}{n} \sum _{h,s\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h*s}}{n'''} \frac{w_{h|j}}{\sum _{i\in {\mathcal {J}}_{\scriptstyle s}} w_{h|i} \, q_i} + \lambda = 0 . \end{aligned}$$
(4)

By multiplying (4) by \(q_j\), then taking the sum over \(j=1,\ldots ,k\) and using the identities

$$\begin{aligned} \sum _{j=1}^k \Biggl ( \,\sum _{h\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h,\mathrm {NA}}}{n'} \,\frac{w_{h|j} \, q_j}{\sum _{i\in {\mathcal {J}}_{\scriptstyle h}} w_{h|i} \, q_i} \Biggr ) = 1 , \;\quad \sum _{j=1}^k \Biggl ( \,\sum _{h,s\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h*s}}{n'''} \,\frac{w_{h|j} \, q_j}{\sum _{i\in {\mathcal {J}}_{\scriptstyle s}} w_{h|i} \, q_i} \Biggr ) = 1 , \end{aligned}$$

we get that \(\lambda = -1\). Thus, equations (4) can be written as:

$$\begin{aligned} q_j = \frac{n''}{n} \,\frac{n_{\bullet j}}{n''} + \frac{n'}{n} \sum _{h\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h,\mathrm {NA}}}{n'} \,\frac{w_{h|j} \, q_j}{\sum _{i\in {\mathcal {J}}_{\scriptstyle h}} w_{h|i} \, q_i} + \frac{n'''}{n} \sum _{h,s\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h*s}}{n'''} \,\frac{w_{h|j} \, q_j}{\sum _{i\in {\mathcal {J}}_{\scriptstyle s}} w_{h|i} \, q_i} .\nonumber \\ \end{aligned}$$
(5)

For finding the solution of (5), we suggest the following iterative process, which is similar to the one proposed by Belyaev and Kriström (2012):

$$\begin{aligned} q_j^{(1)}&= 1/k, \\ q_j^{(r+1)}&= \frac{n''}{n} \,\frac{n_{\bullet j}}{n''} + \frac{n'}{n} \sum _{h\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h,\mathrm {NA}}}{n'} \,\frac{w_{h|j} \, q_j^{(r)}}{\sum _{i\in {\mathcal {J}}_{\scriptstyle h}} w_{h|i} \, q_i^{(r)}} \\&\qquad + \frac{n'''}{n} \sum _{h,s\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h*s}}{n'''} \,\frac{w_{h|j} \, q_j^{(r)}}{\sum _{i\in {\mathcal {J}}_{\scriptstyle s}} w_{h|i} \, q_i^{(r)}} , \qquad r=1,2,\ldots \end{aligned}$$

When \(\mathbf {q}^{(r+1)}\) is close enough to \(\mathbf {q}^{(r)}\), the process is stopped. Our simulation experiments showed a very fast convergence of this iterative procedure to the true solution.

Corollary 1

If we insert a strongly consistent estimator of \(w_{h|j}\) into the log-likelihood (1) and \( \gamma _2>0 \), then the approximate maximum likelihood estimator \({\widetilde{\mathbf {q}}}\) is strongly consistent.

4.2 Estimating the conditional probabilities \(w_{h|j}\)

We propose an estimator of the probabilities \( p_{j|h}, \;j \in {\mathcal {J}}_{\scriptstyle h} \). Then, an estimator of \(w_{h|j}\) can be obtained using the Bayes formula:

$$\begin{aligned} {\widetilde{w}}_{h|j} = \frac{{\widetilde{p}}_{j|h} \, \widehat{w}_h}{\sum _{s\in {\mathcal {H}}_{\scriptstyle j}} {\widetilde{p}}_{j|s} \, \widehat{w}_s} , \end{aligned}$$
(6)

where \({\widetilde{p}}_{j|h}\) is an estimator of \(p_{j|h}\) and

$$\begin{aligned} \widehat{w}_h = \frac{n_{h \bullet } + n_{h,\mathrm {NA}}}{n} \end{aligned}$$

is a strongly consistent estimator of \( w_h = \mathrm {P}\,( H_i = h )\). Note that we need to estimate \(w_{h|j}\) only for those h that have been observed at Qu1.

Let

$$\begin{aligned} n''_h = \sum _j n_{hj} , \qquad n'''_h = \sum _s n_{h*s} , \qquad n''_h + n'''_h = n_{h \bullet } . \end{aligned}$$

We will consider the estimation of \(p_{j|h}\) for a given h. For simplicity, we assume that \( p_{j|h} > 0 \) for all \( j \in {\mathcal {J}}_{\scriptstyle h} \); the case when some of them are zero can be treated similarly. Let \(\mathbf {p}^h\) be the vector of \(p_{j|h}\) for \( j \in {\mathcal {J}}_{\scriptstyle h} \). The log-likelihood function (normed by \(n_{h \bullet }\)), based on the respondents who stated the interval \(\mathbf {u}_h\) at Qu1 and any sub-interval at Qu2, will be:

$$\begin{aligned} \frac{\log L_h(\mathbf {p}^h)}{n_{h \bullet }}&= \frac{1}{n_{h \bullet }} \sum _{j} n_{hj} \log ( \delta _{h,j} \, p_{j|h} ) + \frac{1}{n_{h \bullet }} \sum _{s} n_{h*s}\log \Biggl ( \delta _{h*s} \sum _{j\in {\mathcal {J}}_{\scriptstyle s}} p_{j|h} \Biggr ) + c_{3} \nonumber \\&= \frac{n''_h}{n_{h \bullet }} \sum _{j} \frac{n_{hj}}{n''_h} \log p_{j|h} + \frac{n'''_h}{n_{h \bullet }} \sum _{s} \frac{n_{h*s}}{n'''_h} \log \Biggl ( \,\sum _{j\in {\mathcal {J}}_{\scriptstyle s}} p_{j|h} \Biggr ) + c_{4} , \end{aligned}$$
(7)

where \(c_{3}\) does not depend on \(\mathbf {p}^h\) and

$$\begin{aligned} c_{4} = c_{3} + \frac{1}{n_{h \bullet }} \sum _{j} n_{hj} \log \delta _{h,j} + \frac{1}{n_{h \bullet }} \sum _{s} n_{h*s}\log \delta _{h*s} . \end{aligned}$$

The admissible set is \( A_h = \{ \mathbf {p}^h : \; 0< p_{j|h} < 1, \; \sum _{j\in {\mathcal {J}}_{\scriptstyle h}} p_{j|h} = 1 \} . \)

Theorem 2

Let \({\widetilde{p}}_{j|h} \) be an approximate maximum likelihood estimator of \(p_{j|h}\) and \(p^0_{j|h}\) be the true probability,  \( j \in {\mathcal {J}}_{\scriptstyle h} . \) If \( \gamma _{h2}>0 , \) then \( {\widetilde{p}}_{j|h} \;\overset{{{\mathrm{a.s.}}}}{\longrightarrow }p^0_{j|h} \) as \( n \longrightarrow \infty . \)

Remark 4

From the strong law of large numbers, it follows that \(\widehat{w}_h\) is a strongly consistent estimator of \(w_h\). This, together with Theorem 2, implies that the estimator \({\widetilde{w}}_{h|j}\) is strongly consistent.

The maximizer of the log-likelihood function \(\log L_h(\mathbf {p}^h)\) can be found by employing the same method we used for \(\log L(\mathbf {q})\). The concavity of \(\log L_h(\mathbf {p}^h)\) is shown in Proposition 3 (see the Appendix). The unique stationary point is the solution of:

$$\begin{aligned} p_{j|h} = \frac{n''_h}{n_{h \bullet }} \,\frac{n_{hj}}{n''_h} + \frac{n'''_h}{n_{h \bullet }} \sum _{s\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h*s}}{n'''_h} \,\frac{p_{j|h}}{\sum _{i\in {\mathcal {J}}_{\scriptstyle s}} p_{i|h}}, \qquad j \in {\mathcal {J}}_{\scriptstyle h} . \end{aligned}$$

Again, we suggest an iterative process for finding the solution:

$$\begin{aligned} p_{j|h}^{(1)}&= \frac{1}{\,|{\mathcal {J}}_{\scriptstyle h}|\,} , \\ p_{j|h}^{(r+1)}&= \frac{n''_h}{n_{h \bullet }} \,\frac{n_{hj}}{n''_h} + \frac{n'''_h}{n_{h \bullet }} \sum _{s\in {\mathcal {H}}_{\scriptstyle j}} \frac{n_{h*s}}{n'''_h} \,\frac{p_{j|h}^{(r)}}{\sum _{i\in {\mathcal {J}}_{\scriptstyle s}} p_{i|h}^{(r)}}, \qquad r=1,2,\ldots \end{aligned}$$

Remark 5

If \(n_{h \bullet } = 0\), i.e. if the interval \(\mathbf {u}_h\) has not been observed in type 2 or in type 3 answers, we do not have any observations in order to estimate the probabilities \(p_{j|h}, \;j \in {\mathcal {J}}_{\scriptstyle h}\). In that presumably rare case, we need to make assumptions about those probabilities. In our simulation experiments, we have assumed that all sub-intervals \(\mathbf {v}_j, \;j \in {\mathcal {J}}_{\scriptstyle h}\), are equally likely, i.e. \(p_{j|h}=1/|\mathcal {J}_{\scriptstyle h}|\)

5 Simulation study

We have conducted a simulation study in order to investigate the behavior of the proposed estimator. The data for the pilot stage and for Qu1 at the main stage are generated in the same way. Here we describe it for Qu1 in order to avoid unnecessary notations. In all simulations, the random variables \(X_1, \ldots , X_n\) are independent and have a Weibull distribution:

$$\begin{aligned} F(x) = \mathrm {P}\,(X_i \le x) = 1 - \exp (-(x/\sigma )^a), \quad \text{ for }\; x>0, \end{aligned}$$

where \(a=1.5\) and \(\sigma =80\). Let \(U_{1}^{\mathrm {L}}, \ldots , U_{n}^{\mathrm {L}}\) and \(U_{1}^{\mathrm {R}}, \ldots , U_{n}^{\mathrm {R}}\) be sequences of i.i.d. random variables defined below:

$$\begin{aligned} \begin{aligned} U_{i}^{\mathrm {L}} =&~M_i \,U_{i}^{(1)} + (1 - M_i) \,U_{i}^{(2)} , \\ U_{i}^{\mathrm {R}} =&~M_i \,U_{i}^{(2)} + (1 - M_i) \,U_{i}^{(1)} , \end{aligned} \end{aligned}$$
(8)

where \( M_i \sim \mathrm {Bernoulli}(1/2), \; U_{i}^{(1)} \sim \mathrm {Uniform}(0,20) \), and \( U_{i}^{(2)} \sim \mathrm {Uniform}(20,50) \). Let \( ( L_{1i}, R_{1i} ] \) be the interval stated by the i-th respondent at Qu1. The left endpoints are generated as \( L_{1i} = (X_i - U_{i}^{\mathrm {L}}) \,\mathbbm {1}\{X_i - U_{i}^{\mathrm {L}} > 0\} \) rounded downwards to the nearest multiple of 10. The right endpoints are generated as \( R_{1i} = X_i + U_{i}^{\mathrm {R}} \) rounded upwards to the nearest multiple of 10. For the second question (Qu2) we have considered three different designs: splitting the interval stated at Qu1 into two sub-intervals, into three sub-intervals, and into all sub-intervals \(\mathbf {v}_j\) that it contains. The latter corresponds to the sampling scheme explored by Belyaev and Kriström (2012). In case of a 2-split design, the point of split is chosen equally likely from all the possible points \(d_j\) that are within the interval. Similarly, in case of a 3-split design, both points of split are chosen equally likely. The probability that a respondent gives no answer to Qu2 is 1/6, and the sample size for the pilot stage is equal to 200 unless stated otherwise. The computations were performed in R (R Core Team 2015).

Some descriptive statistics about the length of the interval at Qu1 for a simulated sample of size 2000 are shown in Table 1.

Table 1 Summary statistics about the length of the interval at Qu1 (sample size is 2000)
Fig. 1
figure 1

True c.d.f. (the smooth curve), estimated c.d.f. \({\widetilde{F}} (x)\) using the 2-split design (the stepwise curve with jumps at \(10, 20, 30, \ldots \)), and empirical c.d.f. \(\widehat{F}_n (x)\) of the uncensored observations for sample size \( n=400 \)

Fig. 2
figure 2

True c.d.f. (the smooth curve), estimated c.d.f. \({\widetilde{F}} (x)\) using the 2-split design (the stepwise curve with jumps at \(10,20,30,\ldots \)), and empirical c.d.f. \(\widehat{F}_n (x)\) of the uncensored observations for sample size \( n=2000 \)

Fig. 3
figure 3

Root mean square error (top) and root relative mean square error (bottom) for different estimators of \(q_j = F(d_j) - F(d_{j-1}), \, j=1, \ldots , k\), for \( n=400 \). The vertical dashed lines correspond to the points \( d_0, \ldots , d_k \). The respective error for each estimator of \(q_j\) is plotted against x-coordinate \(d_j\)

Fig. 4
figure 4

Root mean square error (top) and root relative mean square error (bottom) for different estimators of \(q_j = F(d_j) - F(d_{j-1}), \, j=1, \ldots , k\), for \( n=2000 \). The vertical dashed lines correspond to the points \( d_0, \ldots , d_k \). The respective error for each estimator of \(q_j\) is plotted against x-coordinate \(d_j\)

Figures 1 and 2 illustrate the results of simulations with the 2-split design for sample sizes \(n=400\) and \(n=2000\). The estimated distribution function \( {\widetilde{F}} (x) = \sum _{j: \; d_j \le x} \,{\widetilde{q}}_j \) is plotted together with the true distribution function F(x) and the empirical cumulative distribution function (e.c.d.f.) of the uncensored observations \(x_1, \ldots , x_n\), i.e. \( \widehat{F}_n (x) = (1/n) \sum _{i=1}^n \mathbbm {1}\{x_i \le x\} \). We can see that the estimate \( {\widetilde{F}}(d_j) \) is very close to true probability \( F(d_j) \) for most j, and when \( {\widetilde{F}}(d_j) \) deviates from \( F(d_j) \) a similar deviation is observed for \( \widehat{F}_n (d_j)\).

It is of interest to compare the mean square error of different estimators of the probabilities \(q_j, \; j=1,\ldots ,k\), based on different sampling schemes. We have generated 5000 samples (only the main stage is repeated 5000 times) according to the three designs described above and calculated the root mean square error (RootMSE) and the root relative mean square error (RootRelMSE). These are compared with the corresponding error when \(q_j\) is estimated from the empirical c.d.f. \(\widehat{F}_n (x)\) of the uncensored observations. Figure 3 shows the results for sample size \(n=400\) and Fig. 4 shows the results for \(n=2000\). The design, corresponding to the sampling scheme in Belyaev and Kriström (2012), is denoted as “all-split”. The error when using the all-split design is fairly close to the error when \(q_j\) is estimated using the uncensored observations \(x_1, \ldots , x_n\). As we can expect, when using the 2-split or 3-split designs, the errors are a bit larger. We observe similar patterns for \(n=400\) and \(n=2000\), the main difference is that the error decreases with increasing sample size.

In relation to Remark 2, we have performed simulations in order to see what proportion of respondents will be accepted at the main stage when the data are generated according to the model described above. The results are given in Table 2, where \(n_0\) is the number of respondents at the pilot stage and \(n + n_{\text {rej}}\) is the number of respondents at the main stage (accepted and rejected). In the third column are the proportions when using the sampling scheme of Belyaev and Kriström (2012), and in the fourth column are the proportions when using the sampling scheme suggested in this paper (the average proportion over 3000 replications is reported). As expected, the proportion of accepted is larger for our scheme. For both schemes, the proportion gets close to one with increasing values of \(n_0\).

Table 2 Average proportion of accepted respondents in the main stage (based on 3000 replications)
Fig. 5
figure 5

Bias and root mean square error for our estimator (solid curve) and Turnbull’s estimator (dashed curve), for \(n=2000\). The vertical dashed lines correspond to the points \( d_0, \ldots , d_k \). The respective bias and error for each estimator of \(q_j\) are plotted against x-coordinate \(d_j\)

We have carried out simulations to examine potential bias due to wrongly assuming that \(w_{h|j}\) does not depend on j. This assumption implies noninformative censoring and in this case our method is essentially equivalent to the estimator proposed by Turnbull (1976). We compare the estimator suggested in this paper (i.e. estimating both \(w_{h|j}\) and \(q_j\) from the data) with Turnbull’s estimator (i.e. assuming that \(w_{h|j}\) does not depend on j). For generating data, we use the model stated above with \( M_i \sim \mathrm {Bernoulli}(0.02) \) in (8). This model corresponds to a specific behavior of the respondents, that is, at Qu1 they tend to choose an interval in which the true value is located in the right half of the interval. Figure 5 presents the bias and the root mean square error of the two estimators based on 5000 simulated samples (only the main stage is repeated) of size \(n=2000\) for both the 2-split and 3-split designs. The bias of our estimator is negligible, while the bias of Turnbull’s estimator is substantially larger. The RootMSE of Turnbull’s estimator is larger, as well. We see that Turnbull’s method on average overestimates the mass in the left tail because it puts mass uniformly over the observed interval when in fact it should put more mass to the right. It is also of interest to compare Turnbull’s estimator applied to Qu1 data with Turnbull’s estimator applied to 2-split data. The results, based on 5000 simulated samples of size \(n=2000\), are shown in Fig. 6. As we might expect, the bias is much larger if only the data from Qu1 are used.

Fig. 6
figure 6

Bias of Turnbull’s estimator applied to Qu1 data (short-dashed curve) and applied to 2-split data (long-dashed curve), \(n=2000\)

6 Concluding comments

In this paper, we considered a two-stage scheme for collecting self-selected interval data in which the number of sub-intervals in the second question of the main stage is limited to two or three. We suggested a nonparametric maximum likelihood estimator of the underlying distribution function and showed its strong consistency under easily verifiable conditions. Our simulations indicated a good performance of the proposed estimator—its error is comparable with the error of the empirical c.d.f. of the uncensored observations. It is important to note that the censoring in this context is imposed by the design of the question. A design allowing uncensored values might introduce bias in the estimation if respondents are forced to give an exact value of a quantity that is hard to evaluate exactly (e.g., number of hours spent on the internet), and consequently they give a rough “best guess”. We also showed via simulations that ignoring the informative censoring and thus applying a standard method (Turnbull’s estimator) can lead to serious bias.

It would be of interest to investigate the accuracy of the estimator theoretically, but we leave that as a future work.