Dear all,
I would like to generate a random sample (1 dependent variable, 1 independent variable, and 50 observations) which has the regression line (fitted values) come through the origin (Of course it doesn't look like the graph in the attached file. I want the value of Y to be somewhat "fluctuated"). However, I don't know how to do that?
Is there anybody here can help me?
I would really appreciate all the help I can get.
Best regards.
I would like to generate a random sample (1 dependent variable, 1 independent variable, and 50 observations) which has the regression line (fitted values) come through the origin (Of course it doesn't look like the graph in the attached file. I want the value of Y to be somewhat "fluctuated"). However, I don't know how to do that?
Is there anybody here can help me?
I would really appreciate all the help I can get.
Best regards.
Comment