I have a dependent variable, Y, and an independent variable, X. For each value of the independent variable (there are four values for the independent variable "X"), I have a cluster of data points of dependent variable "Y". I want to build a linear model with logarithmic scales (so basically modelling a power law).
Do I have to take the mean of the cluster of data points for each independent variable value, or should I build the linear model with the cluster of points themselves?
What is the right approach in this case?