Documentos de Académico
Documentos de Profesional
Documentos de Cultura
CÓDIGO DE PROGRAMACIÓN - Allison López PDF
CÓDIGO DE PROGRAMACIÓN - Allison López PDF
leyes=[]
variograma=[]
for p in range(0,q):
leyes.append(ley)
print(leyes)
def y(h):
s=0
numero_parejas=0
for x in leyes:
u=leyes.index(x)+h
if u<len(leyes):
s=s+(x-leyes[u])**2
numero_parejas=numero_parejas+1
y=s/(2*(numero_parejas))
return y
for h in range(1,len(leyes)):
variograma.append(y(h))
h = range(0,len(leyes))
pyplot.xlim(0,len(leyes))
pyplot.ylim(0,max(variograma))
pyplot.show()