Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local linear regression does not follow the formula #4

Open
vnmabus opened this issue Jun 30, 2021 · 0 comments
Open

Local linear regression does not follow the formula #4

vnmabus opened this issue Jun 30, 2021 · 0 comments

Comments

@vnmabus
Copy link

vnmabus commented Jun 30, 2021

In Wasserman the formula for the Local linear regression smoothing matrix is
image

As you can see the term (x_i - x) is signed. However in the code the distances are used instead, both for smoothing and regression, which is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant