This graphic is a typical representation of the problem of heteroskedasticity in a model of linear regression. If someone could guide me on how to do with tikz , I would be very grateful.
Regards
tikz-pgf
This graphic is a typical representation of the problem of heteroskedasticity in a model of linear regression. If someone could guide me on how to do with tikz , I would be very grateful.
Regards
Best Answer
Here's one approach using PGFPlots, based on the 2D version found at Plotting Population Regression Function with pgfplot
Here's a version with a different viewpoint and dots that are randomly distributed using a normal distribution with a varying standard deviation (using the approach used in Plotting a 2D gaussian sample):
And using a phenomenon that's discrete in x: