Martin Horvat 1 год назад
Родитель
Сommit
cb6ef57495
1 измененных файлов с 23 добавлено и 7 удалено
  1. 23 7
      python/logistic/logit_reg_fit.ipynb

+ 23 - 7
python/logistic/logit_reg_fit.ipynb

@@ -227,7 +227,7 @@
          "type": "float"
         }
        ],
-       "ref": "f3aae3c6-f11a-4234-ad63-287af6c89f82",
+       "ref": "d7e2eb90-ee4f-4a41-9d9a-059fe24771ed",
        "rows": [
         [
          "('plain', 'b0')",
@@ -384,6 +384,11 @@
          "type": "float"
         },
         {
+         "name": "A",
+         "rawType": "float64",
+         "type": "float"
+        },
+        {
          "name": "n",
          "rawType": "int64",
          "type": "integer"
@@ -399,7 +404,7 @@
          "type": "integer"
         }
        ],
-       "ref": "8909e19f-16bf-4243-ba9e-06e829111097",
+       "ref": "41b39871-5b55-41d6-a947-656a9aa52de7",
        "rows": [
         [
          "plain",
@@ -408,6 +413,7 @@
          "22.90927767563837",
          "23.105937357608315",
          "0.9999705652971257",
+         "0.9655172413793104",
          "58",
          "2",
          "56"
@@ -419,13 +425,14 @@
          "21.711643332814454",
          "19.34046691560593",
          "0.9999987944563601",
+         "0.9655172413793104",
          "58",
          "2",
          "56"
         ]
        ],
        "shape": {
-        "columns": 8,
+        "columns": 9,
         "rows": 2
        }
       },
@@ -453,6 +460,7 @@
        "      <th>BIC</th>\n",
        "      <th>chi2</th>\n",
        "      <th>p-value(chi2)</th>\n",
+       "      <th>A</th>\n",
        "      <th>n</th>\n",
        "      <th>k</th>\n",
        "      <th>dof</th>\n",
@@ -467,6 +475,7 @@
        "      <th></th>\n",
        "      <th></th>\n",
        "      <th></th>\n",
+       "      <th></th>\n",
        "    </tr>\n",
        "  </thead>\n",
        "  <tbody>\n",
@@ -477,6 +486,7 @@
        "      <td>22.909278</td>\n",
        "      <td>23.105937</td>\n",
        "      <td>0.999971</td>\n",
+       "      <td>0.965517</td>\n",
        "      <td>58</td>\n",
        "      <td>2</td>\n",
        "      <td>56</td>\n",
@@ -488,6 +498,7 @@
        "      <td>21.711643</td>\n",
        "      <td>19.340467</td>\n",
        "      <td>0.999999</td>\n",
+       "      <td>0.965517</td>\n",
        "      <td>58</td>\n",
        "      <td>2</td>\n",
        "      <td>56</td>\n",
@@ -497,10 +508,15 @@
        "</div>"
       ],
       "text/plain": [
-       "            LLF        AIC        BIC       chi2  p-value(chi2)   n  k  dof\n",
-       "scale                                                                      \n",
-       "plain -7.394196  18.788392  22.909278  23.105937       0.999971  58  2   56\n",
-       "log   -6.795379  17.590757  21.711643  19.340467       0.999999  58  2   56"
+       "            LLF        AIC        BIC       chi2  p-value(chi2)         A   n  \\\n",
+       "scale                                                                           \n",
+       "plain -7.394196  18.788392  22.909278  23.105937       0.999971  0.965517  58   \n",
+       "log   -6.795379  17.590757  21.711643  19.340467       0.999999  0.965517  58   \n",
+       "\n",
+       "       k  dof  \n",
+       "scale          \n",
+       "plain  2   56  \n",
+       "log    2   56  "
       ]
      },
      "execution_count": 10,