Increase sample size for logistic regression

95 Views Asked by At

Is it possible to somehow increase the number of my sample size for a logistic regression.

enter image description here

The red data dots are false cases and the green ones are true cases. I want to create more data (let's say 500 points) which are sampled from the data in the figure. The reason for this is that the logistic regression line will tilt more to the right, like this: enter image description here

What is an easy way to do this?

Regards,

Dante

1

There are 1 best solutions below

0
iven On

There are multiple ways of doing it but the quickest one i would say is to generate data with random x (btw 25 and 200) and y (btw 0.5 and 1.5) . It's definitely not a clean way to do it, but it is fast