Skip to content
Snippets Groups Projects
Commit 96f7ca79 authored by rubegar's avatar rubegar
Browse files

Upload New File

parent 1adb22c8
No related branches found
No related tags found
No related merge requests found
import csv
import math
def confianza(xa, xb, sa, sb, na, nb):
d = xa - xb
s = math.sqrt(((sa ** 2) / na) + ((sb ** 2) / nb))
intervalo = (d - 1.96 * s, d + 1.96 * s)
return intervalo
print(confianza(11226, 3342.3, 7350.85, 1651.23, 1912, 6424))
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment