Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
C
covid_analysis
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
COMPARA
covid_analysis
Commits
4474be13
Commit
4474be13
authored
Apr 22, 2024
by
Joaquin Torres
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comparing PRE vs POST
parent
ac24b62c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
18 deletions
+36
-18
EDA.ipynb
EDA.ipynb
+36
-18
No files found.
EDA.ipynb
View file @
4474be13
...
...
@@ -991,7 +991,7 @@
},
{
"cell_type": "code",
"execution_count":
35
,
"execution_count":
63
,
"metadata": {},
"outputs": [],
"source": [
...
...
@@ -1005,13 +1005,13 @@
" for j, var_j in enumerate(cols):\n",
" # If difference greater than certain threshold, print variables \n",
" diff = abs(m_pre[i][j] - m_post[i][j])\n",
" if diff > 0.
25
:\n",
" print(f\"{var_i}--
{var_j}: {diff:.2f}\")\n
"
" if diff > 0.
4 and 'ledge' not in (var_i+var_j) and 'Desc' not in (var_i+var_j)
:\n",
" print(f\"{var_i}--
-{var_j}: {diff:.2f}\")
"
]
},
{
"cell_type": "code",
"execution_count":
3
4,
"execution_count":
6
4,
"metadata": {},
"outputs": [
{
...
...
@@ -1019,30 +1019,48 @@
"output_type": "stream",
"text": [
"------SIT_TTO 1: NO FILTERING------\n",
"Alucinogenos_DXCIE_REDEF--Ed_Secondary more technical education: 0.55\n",
"Alucinogenos_DXCIE_REDEF--JobIn_Stable: 0.64\n",
"Alucinogenos_DXCIE_REDEF--SocInc_live alone: 0.53\n",
"Frec30_2-3 días/semana--Alucinogenos_DXCIE_REDEF: 0.54\n",
"Alucinogenos_DXCIE_REDEF---Ed_Secondary Education: 0.42\n",
"Alucinogenos_DXCIE_REDEF---Ed_Secondary more technical education: 0.55\n",
"Alucinogenos_DXCIE_REDEF---JobIn_Stable: 0.64\n",
"Alucinogenos_DXCIE_REDEF---SocInc_Live with families or friends: 0.50\n",
"Alucinogenos_DXCIE_REDEF---SocInc_live alone: 0.53\n",
"Alucinogenos_DXCIE_REDEF---Sex_REDEF: 0.40\n",
"Alucinogenos_DXCIE_REDEF---Opiaceos_DxCIE_REDEF: 0.45\n",
"Frec30_2-3 días/semana---Alucinogenos_DXCIE_REDEF: 0.54\n",
"Tx_previos_REDEF---Alucinogenos_DXCIE_REDEF: 0.48\n",
"\n",
"\n",
"\n",
"\n",
"------SIT_TTO 2: ABANDONO-----\n",
"Alucinogenos_DXCIE_REDEF--Ed_Secondary more technical education: 0.51\n",
"Alucinogenos_DXCIE_REDEF--JobIn_Stable: 0.58\n",
"Alucinogenos_DXCIE_REDEF---Ed_Secondary more technical education: 0.51\n",
"Alucinogenos_DXCIE_REDEF---JobIn_Stable: 0.58\n",
"Alucinogenos_DXCIE_REDEF---JobIn_Unemployed: 0.44\n",
"Alucinogenos_DXCIE_REDEF---SocInc_Live with families or friends: 0.48\n",
"Alucinogenos_DXCIE_REDEF---SocInc_live alone: 0.50\n",
"Alucinogenos_DXCIE_REDEF---Risk_stigma_REDEF: 0.46\n",
"Alucinogenos_DXCIE_REDEF---Opiaceos_DxCIE_REDEF: 0.49\n",
"Frec30_2-3 días/semana---Alucinogenos_DXCIE_REDEF: 0.44\n",
"Frec30_Menos de 1 día/semana---Hous_Unstable: 0.41\n",
"Tx_previos_REDEF---Alucinogenos_DXCIE_REDEF: 0.44\n",
"\n",
"\n",
"\n",
"\n",
"------SIT_TTO 3: ALTA-----\n",
"Hous_Unstable--Ed_Secondary Education: 0.62\n",
"Opiaceos_DxCIE_REDEF--Hous_Unstable: 0.53\n",
"BZD_DxCIE_REDEF--Ed_Tertiary: 0.60\n",
"Alucinogenos_DXCIE_REDEF--Ed_Primary education: 0.61\n",
"Alucinogenos_DXCIE_REDEF--JobIn_Non-stable: 0.54\n",
"Frec30_Desconocido--JobIn_Stable: 0.60\n",
"Frec30_Desconocido--JobIn_Unemployed: 0.66\n",
"Frec30_No consumio--BZD_DxCIE_REDEF: 0.55\n"
"Hous_Stable---Ed_Secondary Education: 0.42\n",
"Hous_Unstable---Ed_Secondary Education: 0.62\n",
"Hous_Unstable---Hous_Institutional: 0.42\n",
"SocInc_live alone---Alterations_early_childhood_develop_REDEF: 0.47\n",
"Opiaceos_DxCIE_REDEF---Hous_Unstable: 0.53\n",
"BZD_DxCIE_REDEF---Ed_Tertiary: 0.60\n",
"Alucinogenos_DXCIE_REDEF---Ed_Primary education: 0.61\n",
"Alucinogenos_DXCIE_REDEF---JobIn_Non-stable: 0.54\n",
"Frec30_Menos de 1 día/semana---BZD_DxCIE_REDEF: 0.49\n",
"Frec30_No consumio---Hous_Unstable: 0.45\n",
"Frec30_No consumio---BZD_DxCIE_REDEF: 0.55\n",
"OtrosDx_Psiquiatrico_REDEF---Hous_Unstable: 0.42\n",
"Tx_previos_REDEF---BZD_DxCIE_REDEF: 0.41\n"
]
}
],
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment