Hello stata commune,
i plot my data with the lowess command "lowess yvar xvar". Hence, i receive a graph with a scatterplot and the smoothed curve. The range of the x-axis is from 0 to 1, Thats fine. Indeed, the range of the y-axis is from -1 to +2. The reason is that the largest y-value is +2 and the smallest -1, but they are outliers. Hence, i would like to have a y-axis range from -0.1 to +0.5 so that the figure illustrates predominatly the smoothed curve. I would like to avoid to delete the outliers!
I tried to solve the probelm with the graph editor. When i try to define the desired range in the editor, it does not work due to the outliers.
I did not find a solution for the relatively easy problem.
Thank you for help!
Best regards
Marian
i plot my data with the lowess command "lowess yvar xvar". Hence, i receive a graph with a scatterplot and the smoothed curve. The range of the x-axis is from 0 to 1, Thats fine. Indeed, the range of the y-axis is from -1 to +2. The reason is that the largest y-value is +2 and the smallest -1, but they are outliers. Hence, i would like to have a y-axis range from -0.1 to +0.5 so that the figure illustrates predominatly the smoothed curve. I would like to avoid to delete the outliers!
I tried to solve the probelm with the graph editor. When i try to define the desired range in the editor, it does not work due to the outliers.
I did not find a solution for the relatively easy problem.
Thank you for help!
Best regards
Marian
Comment