Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
users:zhiliana

This is an old revision of the document!


~~DISCUSSION:off~~

Varianta A i B

f(x) = cxe^-x, určete c tak aby f(x) byla pravděpodobnostní fce, x(0,∞)

Řešení

Buď si říct, že po zintegrovani f(x) od -inf do inf to musí být 1. Integruje se per partes.
<math> \int_{-\infty }^{\infty } f(x) dx = 1 = \int_{0}^{\infty}cx e^{-x} dx = c\int_{0}^{\infty} xe^{-x}dx = c \cdot \left [ -xe^{-x}\right ]_0^\infty-\int_{0}^{\infty}-e^{-x}dx = c \cdot \left [ -xe^{-x}-e^{-x}\right ]_0^\infty = c \cdot \left [ -\frac{x}{e^{x}} - \frac{1}{e^{x}} \right ]_0^\infty =
= c \cdot \left [ (\lim_{x\to\infty} -\frac{x}{e^{x}} + \lim_{x\to\infty} -\frac{1}{e^{x}}) - (0 - 1) \right] = </math>
pomocí L'Hospitalova pravidla (typ inf/inf) pokračuji:
<math> c \cdot 1) = c = 1 </math>
Takže:
c=1
<math> f(x)=xe^{-x} </math>

Varianta A

Na 8 kluků ve tříde připadá jedna dívka, 60% dívek dlouhé vlasy, 3/24 kluků dlouhé vlasy (asi tak). Vidím před sebou dlouhé vlasy, jaká je pravděpodobnost, že to je dívka?

Řešení

V. Bayess

P(M)= 8/9

P(Z)= 1/9

P(D|M)= 3/24 = 1/8

P(D|Z)= 6/10 = 3/5

<math> P(Z|D)= {P(Z)*P(D|Z)\over P(Z)*P(D|Z)+P(M)*P(D|M)} = { { {1\over 9} * {3\over 5} }\over { {\over 1 9} * {\over 3 5} + {\over 8 9} * {\over 1 8} } } = {3\over 8} </math> myslim :D -edit: ano, potvrzuji

1)
0+0)-(0-1
users/zhiliana.1422105858.txt.gz · Last modified: 2015/01/24 13:24 by zhiliana