From 9b12c4a8b3d4e71bf1f101db8000bef587a34153 Mon Sep 17 00:00:00 2001 From: Lyanis Souidi Date: Sat, 20 May 2023 23:31:11 +0200 Subject: [PATCH] [Ex4 - Q1] Ajout Co-authored-by: Dimitrijevic --- README.md | 2 ++ ex3/README.md | 2 +- ex4/README.md | 30 ++++++++++++++++++++++++++++++ ex4/img/ex4-1.png | Bin 0 -> 13393 bytes ex4/scripts/ex4-1.sce | 20 ++++++++++++++++++++ 5 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 ex4/README.md create mode 100644 ex4/img/ex4-1.png create mode 100644 ex4/scripts/ex4-1.sce diff --git a/README.md b/README.md index 4291f6d..deafabf 100644 --- a/README.md +++ b/README.md @@ -52,3 +52,5 @@ Les réponses aux questions des exercices sont situées dans les README des doss 3. [Moyenne](ex3/#q3) 4. [Moyenne par continent](ex3/#q4) 5. [Estimation de la population mondiale en 2050](ex3/#q5) +4. [Analyse des relations et dépendances](ex4/) + 1. [Proportion de moins de 15 ans en fonction du taux de fécondité](ex4/#q1) diff --git a/ex3/README.md b/ex3/README.md index 646ba78..ddffa45 100644 --- a/ex3/README.md +++ b/ex3/README.md @@ -121,4 +121,4 @@ end --- -[⬅️](../ex2/ "Exercice précédent (Exercice 2)") | [🏠](../ "Retour au sommaire") +[⬅️](../ex2/ "Exercice précédent (Exercice 2)") | [🏠](../ "Retour au sommaire") | [➡️](../ex4/ "Exercice suivant (Exercice 4)") diff --git a/ex4/README.md b/ex4/README.md new file mode 100644 index 0000000..44a4301 --- /dev/null +++ b/ex4/README.md @@ -0,0 +1,30 @@ +# Exercice 4 : Analyse des relations et dépendances + +## Table des matières +1. [Proportion de moins de 15 ans en fonction du taux de fécondité](#q1) + +--- + +### Question 1 : Proportion de moins de 15 ans en fonction du taux de fécondité {#q1} + +> Afficher la proportion de moins de 15 ans en fonction du taux de fécondité. Essayer de caractériser au mieux la dépendance entre les deux quantités, en faisant une régression. + +**[Script Scilab](scripts/ex4-1.sce) :** + +```scilab +X = mtlb_t(data(:,8)); +Y = mtlb_t(data(:,9)); + +plot2d(X,Y,-1); + +[a,b] = reglin(X, Y); +plot(X,a*X+b); +``` + +**Résultat :** + +![Proportion de moins de 15 ans en fonction du taux de fécondité](img/ex4-1.png) + +--- + +[⬅️](../ex3/ "Exercice précédent (Exercice 3)") | [🏠](../ "Retour au sommaire") diff --git a/ex4/img/ex4-1.png b/ex4/img/ex4-1.png new file mode 100644 index 0000000000000000000000000000000000000000..7ef6e1e6b1c374d2825edbde118842b8ce3bbaa0 GIT binary patch literal 13393 zcmcJ0bzD^I_wFD9qaY3{NQf|C90jFBq)SkwEJ}JPMG$GpK|)4BLX;2zgOmp8))5c} zP`Xj+mTtIf59fU2{_f{9XwYN8QtX2d*Dk*;=(t{fqfXz(I;1)ILmCZd^C|sCoF< ztt080CSpoL>Bfhy+-nUQS7~Wi>xmRgPgfFtO^p2Lcl&gEWU_*P$muXv9_)`(H~Ccs zxt|knyUXoWh~3=W9+<@k9j}#~ou26{GZYGZXjkA?;^tL|to<4ngD6yiihRs*|Zd3AcNwM#Pgie^GRgx`ns#j_S)!hzuRoyR-t0|ANe`a)ZsIHe3?BpXU?Aw_oF?k zNOZVuQ#a92R8|(#p+qRH-otWKXtW@->D-|XTVH0YHE%0R%NL$o>yGO&U;Ga$%gM>r zjNHrfUTe$rJo)tL)8+yj!zclhC!3?vJL3*<>AD4V=>`2~DQW0mGV*AS)j0kc*>3zY z^&s`>LZREjqqF>10-3RrZp%~JH;S9PyU$8*{yMlcc=F`QZ$a$h4_<2qOD;#!9hcDF zX>9Ub7V_Y5ZYfGmzPhs=f|WPz$k3nP7}zoRJveB?dekO1prEOKF2d#Z?U$yerepUk z+wC>W=bqctR%|b2K8O%n(q_A8^~Y6bYq3RrSbShDh>q=|%KG9sw@Gzi=+?#xjoFV4-*9-q(b$TW;l2w+mOvPuhN6H${|{Ye?|C1>8TxzFACD20AaU$o22#N238 z93SkKyu^z%rI{zh&*NT1pJ2=2gv1M3Q-o8r=|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3>-p%ency{Vu8nblo>$^hr{jj=_J({WaIo`U;}B2j5HLMtoQef?ghci5FAqz626+8|6_&C{rfGt2@=mUOE!{W!gr=ub%jF!cezHB zKhM!>_0O-E<0bj|`8~!(Y|dH(ZX0h9TR>;iBRwwR`|V@t*9rzaOFFQL`Q9mUsi~#&wzq4sj=y*=KIh=@;7y8suC?1}%Qt zNh$IQ3Ecu-E+d#>0~w@m8T>ey-JY(S6rAh2`paKj@&VM>?u$RJtZyUZ(q&5WJbYifwRR9M-%fK(P#CBH90~)uJE%tlBggJ>~rSo+> zg1~{7DO~ybY+?2iJq`x`B4DMAp4?N0Zqvfhz;09xc7yi#H$dRPx3bGO2B!vfyq3n7 zFHUx-)97nxysDXVbmqv5cIYj%bq$E<&KZ51|2xI@mW6NQYhmS`DOCcfX>@kBWL63x zoZMa20G@!GlKq$Lu;k1CyZ`=g4*%cpdxfmv(+lE@2|jzLVR4j_g4*Q_IV11?1!2}u A-2eap literal 0 HcmV?d00001 diff --git a/ex4/scripts/ex4-1.sce b/ex4/scripts/ex4-1.sce new file mode 100644 index 0000000..565d98a --- /dev/null +++ b/ex4/scripts/ex4-1.sce @@ -0,0 +1,20 @@ +data = csvRead("data.csv"); + +// Proportion de moins de 15 ans +X = mtlb_t(data(:,8)); +// Taux de fécondité +Y = mtlb_t(data(:,9)); + +// Affichage de la proportion de moins de ans en % en fonction du taux de natalité + +plot2d(X,Y,-1) + +// création de la droite de régression et affichage de celle ci dans le graphe + +[a,b] = reglin(X, Y); + +plot(X,a*X+b); +title("Proportion de moins de 15 ans en fonction du taux de fécondité"); +xlabel("Taux de fécondité"); +ylabel("Proportion de moins de 15 ans (%)"); +xs2png(0,"ex4/img/ex4-1.png");