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

add sum of squares (ss) as a function #48

Open
jiyunson opened this issue Jul 22, 2023 · 1 comment
Open

add sum of squares (ss) as a function #48

jiyunson opened this issue Jul 22, 2023 · 1 comment

Comments

@jiyunson
Copy link

jiyunson commented Jul 22, 2023

Hi, big fan of this package. I use it to teach and I'd like students to be able to use a similar syntax to quickly look at SS versus MSE or RMSE. Would you be able to add this function to your package?

ss <- function(actual, predicted){sum((actual-predicted)^2)}

It's not so much for actual research but it would be nice from a teaching perspective! Thank you for considering.

@jiyunson
Copy link
Author

jiyunson commented Aug 2, 2023

Ah, disregard my request. I just found sse() which is exactly what I needed. I had trouble finding it initially because it wasn't on the list of Metrics on this page: https://github.com/mfrasco/Metrics

Thanks!

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