Finish first draft

This commit is contained in:
Andras Schmelczer 2022-08-19 16:36:28 +02:00
parent 35d400a9ed
commit 08a40bfaaf
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
14 changed files with 420 additions and 187 deletions

View file

@ -553,6 +553,13 @@
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.5157738095238095\n"
]
},
{
"data": {
"text/plain": [
@ -586,6 +593,8 @@
"\n",
"X = [x for x, y in best_practice_score_se]\n",
"Y = [y for x, y in best_practice_score_se]\n",
"\n",
"print(sum(Y) / len(Y))\n",
"sc = plt.scatter(X, Y, c=\"black\", s=[x * 50 for x, y in best_practice_score_ds])\n",
"plt.ylabel(\"Ratio of implemented deployment best practices\")\n",
"plt.xlabel(\"Years of professional software engineering experience\")\n",
@ -1136,7 +1145,10 @@
{
"data": {
"text/plain": [
"(0.5515422017785757, 0.09838124227663879)"
"pu 6.125\n",
"peou 5.450\n",
"itu 5.950\n",
"dtype: float64"
]
},
"execution_count": 10,
@ -1145,7 +1157,7 @@
}
],
"source": [
"stats.pearsonr(tam[\"peou\"], tam[\"pu\"])"
"tam[[\"pu\", \"peou\", \"itu\"]].mean()"
]
},
{
@ -1156,7 +1168,10 @@
{
"data": {
"text/plain": [
"(0.8066270322592023, 0.004809023073123024)"
"pu 6.375\n",
"peou 5.750\n",
"itu 6.250\n",
"dtype: float64"
]
},
"execution_count": 11,
@ -1165,7 +1180,7 @@
}
],
"source": [
"stats.pearsonr(tam[\"peou\"], tam[\"itu\"])"
"tam[[\"pu\", \"peou\", \"itu\"]].median()"
]
},
{
@ -1176,7 +1191,10 @@
{
"data": {
"text/plain": [
"(0.7880605510627579, 0.006774486564715021)"
"pu 0.859990\n",
"peou 1.039498\n",
"itu 1.321825\n",
"dtype: float64"
]
},
"execution_count": 12,
@ -1184,6 +1202,66 @@
"output_type": "execute_result"
}
],
"source": [
"tam[[\"pu\", \"peou\", \"itu\"]].std()"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(0.5515422017785757, 0.09838124227663879)"
]
},
"execution_count": 13,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"stats.pearsonr(tam[\"peou\"], tam[\"pu\"])"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(0.8066270322592023, 0.004809023073123024)"
]
},
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"stats.pearsonr(tam[\"peou\"], tam[\"itu\"])"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"(0.7880605510627579, 0.006774486564715021)"
]
},
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"stats.pearsonr(tam[\"pu\"], tam[\"itu\"])"
]