estim_var_somxi_somxi2_n.py

Created by ludorousseau209

Created on January 08, 2026

481 Bytes


# Copyright 2023-2026 Ludovic Rousseau, TSSU
# Distribuée sous licence CC BY-NC-ND 4.0 
# Attribution-NonCommercial-NoDerivatives 4.0 International  
# https://creativecommons.org/licenses/by-nc-nd/4.0/
from math import*
var=0
s=0
a=float(input("Somme des xi= "))
b=float(input("Somme des xi carré= "))
n=float(input("taille de l'échantillon= "))
var=(b-((a**2)/n))/(n-1)
s=sqrt(var)
print("var=")
print(var)
print("")
print("s= ")
print(s)
  
  

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.