Skip to content

Commit

Permalink
a tentar resolver 1 exercicio de ME
Browse files Browse the repository at this point in the history
  • Loading branch information
OnikenX committed Sep 3, 2020
1 parent 8af8e98 commit 8b814ca
Show file tree
Hide file tree
Showing 12 changed files with 299 additions and 10 deletions.
142 changes: 142 additions & 0 deletions Metodos-Estatisticos/apontamentos/apontamentos.html

Large diffs are not rendered by default.

117 changes: 117 additions & 0 deletions Metodos-Estatisticos/apontamentos/apontamentos.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# **Apontamentos**

# Resoluções dos apontamentos

## 1. Probablidades

### **1.a**

Companhia de seguros

- Tendo o Venus:

![](./ex1/venus-ex1.png)

Riscos de haver pelo menos 1 acidente:
- baixo → 1%
- medio → 10%
- alto → 25%

Probablidade de ter um cliente de ter a classificacao:
- baixa → 0.1
- media → 0.6

agora considerando os acontecimentos:
- A : "ter pelo menos 1 acidente"
- B : ser um cliente classificado na categoria de baixo risco
- M : ser um cliente classificado na categoria de medio risco
- E : ser um cliente classificado na categoria de elevado risco

Logo as probablidades sao:
- $P(A/B)=0.01$
- $P(A/M)=0.1$
- $P(A/E)=0.25$
- $P(B)=0.1$
- $P(M)=0.6$
- Problema: $P(A) = ??$
- $P(E) = 0.3$

Se: $P(\Omega) = P(B) + P(M) + P(E)$

Então:

$P(E)=P(\Omega)-( P(B) + P(M))\Leftrightarrow \\
\Leftrightarrow P(E) = 1 - (0.1+0.6)\\
\Leftrightarrow P(E) = 1 - (0.7) =0.3$


- Considerando que:



Então podemos concluir que:

$
P(A) = P(A \cap M )+P(A \cap B )+P(A \cap E ) \\
P(A) = 0.06 + 0.001 + 0.075 \\
P(A) = 0.136
$

- $P(A \cap M ) = 0.06$

Pois:

$P(A/M) = \frac{P(A \cap M )}{P(M)}\Leftrightarrow$

$P(A \cap M )=P(A/M)·P(M)\Leftrightarrow$

$\Leftrightarrow P(A \cap M )=0.1·0.6=0.06$

- $P(A \cap B ) = 0.001$

Pois:

$P(A/B) = \frac{P(A \cap B )}{P(B)}\Leftrightarrow$

$P(A \cap B )=P(A/B)·P(B)\Leftrightarrow$

$\Leftrightarrow P(A \cap B )=0.01·0.1=0.001$
- $P(A \cap E ) = 0.075$

Pois:

$P(A/E) = \frac{P(A \cap E )}{P(E)}\Leftrightarrow\\
\Leftrightarrow P(A \cap E )=P(A/E)·P(E)\\
\Leftrightarrow P(A \cap E )=0.25·0.3=0.075$


**Resposta: $P(A) =0.2126$**

### **1.b**

**Problema: $P(E/A) = ??$**

$
P(E/A) = \frac{P(E \cap A )}{P(A)}\Leftrightarrow\\
P(E/A) = \frac{0.075}{0.136} = 0.5514705882352941 \approx 0.5515
$

### **1.c**

Problema: $P(E/ \overline{A})$

$
P(M/ \overline{A}) = P(M \cap \overline{A} )·P(\overline{A})\\
P(M/ \overline{A}) = (P(M)- P(M\cap A)) · (1- P(A))\\
P(M/ \overline{A}) = (0.6 - 0.06) · (1 - 0.136)\\
P(M/ \overline{A}) = 0.54 · 0.864\\
P(M/ \overline{A}) = 0.46656
$

$
P(E/ \overline{A}) = P(E \cap \overline{A} )/P(\overline{A})\\
P(E/ \overline{A}) = (P(\overline{A} / E )·P(E))/P(\overline{A})\\
P(E/ \overline{A}) = ((1- P(A/E)) ·P(E))/(1-P(A))\\
P(E/ \overline{A}) = ((1-0.25) ·0.3)/(1-0.2126)\\
P(E/ \overline{A}) = 0.177165
$
Binary file not shown.
Binary file added Metodos-Estatisticos/apontamentos/ex1/ex1.kra
Binary file not shown.
Binary file not shown.
Binary file added Metodos-Estatisticos/apontamentos/ex1/ex1.kra~
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions Metodos-Estatisticos/pratica/pratica.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>**Pratica ME**</title>
<style>
</style>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/markdown.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/highlight.css">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif;
font-size: 14px;
line-height: 1.6;
}
</style>
<style>
.task-list-item { list-style-type: none; } .task-list-item-checkbox { margin-left: -20px; vertical-align: middle; }
</style>



</head>
<body>
<h1 id="pratica-me"><strong>Pratica ME</strong></h1>
<h1 id="ficha">Ficha</h1>

</body>
</html>
4 changes: 4 additions & 0 deletions Metodos-Estatisticos/pratica/pratica.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# **Pratica ME**

# Ficha

3 changes: 2 additions & 1 deletion Metodos-Estatisticos/teorica/teorica.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
<link rel="stylesheet" href=../../css/dark.css>
</head>
<body>
<h1 id="teorica-de-me">Teorica de ME</h1>
<p><a href="../notas.html">voltar</a></p>
<h1 id="teorica-de-me">Teorica de ME</h1>
<h2 id="probablidades---teoremas-e-axiomas">Probablidades - Teoremas e Axiomas</h2>
<h3 id="teoremas-de-probablidades">Teoremas de probablidades</h3>
<p>Considera <em>A</em> e <em>B</em> acontecimentos de um universo <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi mathvariant="normal">Ω</mi></mrow><annotation encoding="application/x-tex">\Omega</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.68333em;vertical-align:0em;"></span><span class="mord">Ω</span></span></span></span></p>
Expand Down
1 change: 1 addition & 0 deletions Metodos-Estatisticos/teorica/teorica.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[voltar](../notas.html)
# Teorica de ME

## Probablidades - Teoremas e Axiomas
Expand Down
12 changes: 3 additions & 9 deletions css/dark.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
body {
background-color: black;
color: white;
}
@media screen and (prefers-color-scheme: light) {
body {
background-color: white;
color: black;
}
}
background-color: #1E1E1E;
color: #f7f9ff
}

0 comments on commit 8b814ca

Please sign in to comment.