I want to do a regression to figure out the relationship between $y$ and $x$ given some sample data. My problem is that within the sample data, while $x_i$ is always observed, I do not directly observe $y_i$. Instead, I observe if $y_i>z_i$, where $z_i$ is some observed number.
For example, I will have to train the model $y=\hat{f}(x)$ on the below sample data: $$(x_1=2, y_1>1)$$ $$(x_2=3, y_2<4)$$ $$(x_3=10, y_3>2)$$ ...
Then I can use the trained $\hat{f}(x)$ to make predictions of $y$ on any new $x$, $y^*=\hat{f}(x^*)$
How do you think I can approach this problem?