Skip to content

Instantly share code, notes, and snippets.

@yogeshchappewar
Created January 14, 2023 13:48
Show Gist options
  • Save yogeshchappewar/f1150171389ffacd637937629b24049a to your computer and use it in GitHub Desktop.
Save yogeshchappewar/f1150171389ffacd637937629b24049a to your computer and use it in GitHub Desktop.
standard_normal_distributionb_example
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"ExecuteTime": {
"start_time": "2023-01-14T13:15:19.186182Z",
"end_time": "2023-01-14T13:15:20.468901Z"
},
"trusted": true
},
"cell_type": "code",
"source": "from scipy import stats\nstats.norm.cdf(70,60,10)",
"execution_count": 1,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 1,
"data": {
"text/plain": "0.8413447460685429"
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2023-01-14T13:17:11.896140Z",
"end_time": "2023-01-14T13:17:11.912318Z"
},
"trusted": true
},
"cell_type": "code",
"source": "stats.norm.cdf(1)",
"execution_count": 2,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 2,
"data": {
"text/plain": "0.8413447460685429"
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2023-01-14T13:20:04.182211Z",
"end_time": "2023-01-14T13:20:04.198523Z"
},
"trusted": true
},
"cell_type": "code",
"source": "from scipy import stats \nstats.norm.cdf(680,711,29)",
"execution_count": 3,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 3,
"data": {
"text/plain": "0.14254260383881612"
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2023-01-14T13:26:23.103318Z",
"end_time": "2023-01-14T13:26:23.110581Z"
},
"trusted": true
},
"cell_type": "code",
"source": "1-stats.norm.cdf(680,711,29)",
"execution_count": 4,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 4,
"data": {
"text/plain": "0.8574573961611839"
},
"metadata": {}
}
]
},
{
"metadata": {
"ExecuteTime": {
"start_time": "2023-01-14T13:31:06.425109Z",
"end_time": "2023-01-14T13:31:06.433071Z"
},
"trusted": true
},
"cell_type": "code",
"source": "stats.norm.cdf(740,711,29)-stats.norm.cdf(697,711,29)",
"execution_count": 8,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 8,
"data": {
"text/plain": "0.5267111786415019"
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3 (ipykernel)",
"language": "python"
},
"language_info": {
"name": "python",
"version": "3.9.13",
"mimetype": "text/x-python",
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"pygments_lexer": "ipython3",
"nbconvert_exporter": "python",
"file_extension": ".py"
},
"gist": {
"id": "",
"data": {
"description": "standard_normal_distributionb_example",
"public": true
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment