Hello there I am trying to compare the differences between using

vs

I pretty much got the same graphs
Can anyone point me in any direction what the difference is between twoway vs not using twoway?
Agreed the graphs using twoway is cleaner without the data points, but it pretty much shows the same result with an increase in revision rate of mesh up to the number 20 (mean no of cases done by the surgeon), with an associated decrease in revision rate as the number of cases increases....
Both graphs show the same thing, perhaps twoway is of course much clearer.
QUESTION: However, what exactly is the difference? And can you point out a resource?
I actually asked chatgpt - who answered that twoway lowess treat both variables as smoothing - which led me to Nick Cox article here Speaking Stata: Smoothing in Various Directions (sagepub.com)
However, I still' don't understand smoothing in his article, perhaps as it's more about the program theroy....
I continued to read which also led me to another resource who state 'smoothing parameters typically lie in the range of 0.25 to 0.5 for most LOESS applications' - how I supposed to know what is the degree of the smoothing parameter? - this resource goes on to say bandwith is interchangeable with smoothing parameter - which I don't really agree with.... as otherwise why would stata give an option of bandwith in lowess? this would make it onpar with twoway.....
FYI - I understand that bandwidth is controlling how much of data points to use.
Code:
lowess yvar xvar
vs
Code:
twoway(lowess yvar xvar), xlabel(0[2]40)
I pretty much got the same graphs
Can anyone point me in any direction what the difference is between twoway vs not using twoway?
Agreed the graphs using twoway is cleaner without the data points, but it pretty much shows the same result with an increase in revision rate of mesh up to the number 20 (mean no of cases done by the surgeon), with an associated decrease in revision rate as the number of cases increases....
Both graphs show the same thing, perhaps twoway is of course much clearer.
QUESTION: However, what exactly is the difference? And can you point out a resource?
I actually asked chatgpt - who answered that twoway lowess treat both variables as smoothing - which led me to Nick Cox article here Speaking Stata: Smoothing in Various Directions (sagepub.com)
However, I still' don't understand smoothing in his article, perhaps as it's more about the program theroy....
I continued to read which also led me to another resource who state 'smoothing parameters typically lie in the range of 0.25 to 0.5 for most LOESS applications' - how I supposed to know what is the degree of the smoothing parameter? - this resource goes on to say bandwith is interchangeable with smoothing parameter - which I don't really agree with.... as otherwise why would stata give an option of bandwith in lowess? this would make it onpar with twoway.....
FYI - I understand that bandwidth is controlling how much of data points to use.
Comment