Reputation: 235
If I have a regression line and an r squared is there a simple numpy (or some other library) command to randomly draw, say, y values for an x that are consistent with the regression? The same way you could just draw a random value from a distribution?
Thanks!
Upvotes: 1
Views: 279