0

Suppose I have data like this:

x y
5 10
10 12-30
15 45
20 50
25 55-60

I want to visualize it graphically. How can I do it? I googled how to describe intervals graphically, but didn't find anything. And I also want to do regression analysis on the data.

Oxbowerce
  • 7,472
  • 2
  • 8
  • 23

1 Answers1

0

You can visualize intervals using histograms. For regression, try out OLS. Or you can reframe it as a classification task.

Abhishek Verma
  • 682
  • 3
  • 4
  • Well, I want to do it (https://i.stack.imgur.com/UzK0M.png) on Python,but not with time series. Is it possible? – student0434 Apr 21 '21 at 13:37