I want to estimate the relationship between two variables (e.g. probability to do something versus temperature).
I obtained (almost) the graph I want by doing
However, for some reason, the fitted values on the graph go beyond the y-range 0-1. In the graph below, the go below 0 while in my dataset, the probabilities do not go beyond the 0-1 range.
I managed to change the X-axis, but I do not seem to change the y-axis. Any suggestions? Thank you very much!
I obtained (almost) the graph I want by doing
Code:
twoway qfit vary varx
I managed to change the X-axis, but I do not seem to change the y-axis. Any suggestions? Thank you very much!
Comment