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

Help on calculating mean for variance() #8

Closed
bobhancock opened this issue Jul 31, 2012 · 0 comments
Closed

Help on calculating mean for variance() #8

bobhancock opened this issue Jul 31, 2012 · 0 comments
Assignees

Comments

@bobhancock
Copy link
Owner

Assuming R^2 for the example coordinates (x, y).

Points [ 3, 4
5, 6]

Centroid [ 4, 5]

is the mean of x = [(4 - 3) + (4 - 5)] / 2 ?

Or do we need to square it as in [ (4 - 3) ^2 + (4 - 4)^2 ] / 2 and then take the square root?

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

2 participants