Skip to content
Snippets Groups Projects
plots_fig1.ipynb 429 KiB
Newer Older
  • Learn to ignore specific revisions
  •      ]
        }
       ],
       "source": [
        "para = 'emodulus'\n",
        "\n",
        "Result = linmixmod(xs=df_myelo[para], treatment=df_myelo['treatment'],\n",
        "                   #df_rbc['repeat'] begins at 0, but 0 values are excluded from the computation\n",
        "                   timeunit=df_myelo['repeat']+1, model='lmm')\n",
        "\n",
        "print(\"p-Value (Likelihood Ratio Test):\", Result[\"p-Value (Likelihood Ratio Test)\"])\n",
        "print(\"Estimate:\", Result[\"Estimate\"])\n",
        "print(\"Std. Error (Estimate):\", Result[\"Std. Error (Estimate)\"])\n",
        "print(\"Fixed Effect:\", Result[\"Fixed Effect\"])\n",
        "print(\"Std. Error (Fixed Effect)\", Result[\"Std. Error (Fixed Effect)\"])"
       ],
       "metadata": {
        "collapsed": false,
        "pycharm": {
         "name": "#%%\n"
        }
       }
      }
     ],
     "metadata": {
      "kernelspec": {
       "display_name": "Python 3",
       "language": "python",
       "name": "python3"
      },
      "language_info": {
       "codemirror_mode": {
        "name": "ipython",
        "version": 2
       },
       "file_extension": ".py",
       "mimetype": "text/x-python",
       "name": "python",
       "nbconvert_exporter": "python",
       "pygments_lexer": "ipython2",
       "version": "2.7.6"
      }
     },
     "nbformat": 4,
     "nbformat_minor": 0
    }