Skip to content

Instantly share code, notes, and snippets.

View leonardoriviere's full-sized avatar

Leonardo Riviere leonardoriviere

View GitHub Profile
@cristianmiranda
cristianmiranda / estimadores.java
Created June 18, 2015 19:43
Estimadores poblacionales
private double[] getValues() {
return new double[]{ 100, 115, 70, 115, 75, 80, 100, 90, 100, 95 };
}
@Test
public void calculateEstimatedParameters() {
double[] values = getValues();
double sum = 0D;
for (double value : values) {
sum += value;