# local

1. ### How to differentiate between a global and a local method?

Hello, I am trying to write a report based on prediction models and my topic requires me to cover one global method(regression for example) and a local method( nearest neighbour for example). I do not quite understand the term global and local in this context. Some help to explain these terms...
2. ### Local polynomial regression

Hi, I have "smoothed" rather than using a linear line between X and Y. My R code is the following : # Loess model plot(Y ~ X) loess.model <- loess(Dataset$Y ~ Dataset$X) loess.model hat <- predict(loess.model) lines(Dataset$X[order(Dataset$X)], hat[order(Dataset\$X)], col="red")...