Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
D5
Browse files Browse the repository at this point in the history
  • Loading branch information
przem85 committed May 13, 2017
1 parent 2afb528 commit b612483
Show file tree
Hide file tree
Showing 10 changed files with 1,740 additions and 0 deletions.
215 changes: 215 additions & 0 deletions D5/D5_Z1.ipynb

Large diffs are not rendered by default.

134 changes: 134 additions & 0 deletions D5/D5_Z10.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Zadanie 4\n",
"\n",
"Dwunastu tokarzy wykonuje takie same części. Ich średnia wydajności w sztukach na godzinę wynoszą odpowiednio: \n",
"\n",
"4.6, 6.1, 10.3, 9.8, 6.7, 12.3, 14.5, 8.7, 9.0, 7.3, 8.8, 11.2. \n",
"\n",
"Znaleźć $98\\%$--ową realizację przedziału ufności dla wariancji liczby sztuk wykonywanych w ciągu godziny przez jednego tokarza."
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"from scipy import stats\n",
"from scipy import integrate"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Zdefiniujmy zmienną losową"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Wylicz końce przedziałów"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Wypisz przedział ufności"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Zadanie 2\n",
"Wykonaj zadanie za pomocą <tt>scipy</tt> i <tt>funkcji stats.norm.interval</tt>."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Zadanie 3\n",
"Narysuj przedział ufności na wykresie gęstości i dystrybuanty odpowiedniego rozkładu."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
224 changes: 224 additions & 0 deletions D5/D5_Z2.ipynb

Large diffs are not rendered by default.

204 changes: 204 additions & 0 deletions D5/D5_Z3.ipynb

Large diffs are not rendered by default.

189 changes: 189 additions & 0 deletions D5/D5_Z4.ipynb

Large diffs are not rendered by default.

201 changes: 201 additions & 0 deletions D5/D5_Z5.ipynb

Large diffs are not rendered by default.

179 changes: 179 additions & 0 deletions D5/D5_Z6.ipynb

Large diffs are not rendered by default.

130 changes: 130 additions & 0 deletions D5/D5_Z7.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Zadanie 1\n",
"\n",
"W centrali telefonicznej dokonano 17 obserwacji długości losowo wybranych rozmów w ciągu jednego dnia i otrzymano (w min): $\\bar X = 5.48$, $S=1.2$; na tej podstawie -- przy założeniu, że długość rozmów telefonicznych mają rozkład normalny -- wyznaczyć $95\\%$-ową realizację przedziału ufności dla wartości przeciętnej długości rozmowy telefonicznej przeprowadzonej za pośrednictwem tej centrali w danym dniu. "
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"from scipy import stats\n",
"from scipy import integrate"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Zdefiniujmy zmienną losową"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Wylicz końce przedziałów"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Wypisz przedział ufności"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Zadanie 2\n",
"Wykonaj zadanie za pomocą <tt>scipy</tt> i <tt>funkcji stats.norm.interval</tt>."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Zadanie 3\n",
"Narysuj przedział ufności na wykresie gęstości i dystrybuanty odpowiedniego rozkładu."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Loading

0 comments on commit b612483

Please # to comment.