Uploaded August 2023 | Updated November 2026, 1 week ago
In this video tutorial I show you how to use the Noteable.io plug-in in ChatGPT Plus. The plug-in creates a notable.io Python notebook (similar to a Google Colab notebook or a Jupyter notebook), creating an editable record of your analysis.
The data file that I use is on GitHut at raw.githubusercontent.com/juanklopper/TutorialData/main/TODAY_MERGED.csv
As always, please read more about the Milken Institute School of Public Health at The George Washington University in Washington DC. The School offers great programs and courses for everyone considering a career in Public Health. https://publichealth.gwu.edu
The prompts that I use are used below.
Use this project: "copy and paste the URL from your notable.io project page"
Create a new notebook called “EDA.ipynb”.
Add the title “DATA ANALYSIS FOR THE HEART DISEASE PROJECT”
Add a subtitle “Data import”.
Import the data from the URL raw.githubusercontent.com/juanklopper/TutorialData/main/heartLLM.csv and assign to to the variable named df.
The CSV file contains 7 columns. Age describes the age of participants in years, BinarySex describes the gender of each participant, with two classes, M for male and F for female. Cholesterol is the serum cholesterol in mg/dL. RestingECG is a multilevel variable with classes Normal for a normal ECG, ST for ST-segment elevation, and LVH for left-ventricular hypertrophy. MaxHR is a continuous variable measured in beats per minute describing the maximum heart rate reached during exercise. ExerciseAngina is a binary variable with two classes, N for no and Y for yes and describes whether angina was induced by exercise. HeartDisease is a binary response variable a with 0 for no heart disease and 1 for the presence of heart disease.
Add a subtitle “Univariate summary statistics and data visualization”.
Add a sub-subtitle "Age analysis".
Calculate summary statistics of the Age column. Include the count, mean, median, variance, standard deviation, minimum, maximum, range, quartiles, and the interquartile range.
Create a histogram with kernel density estimate of the Age column. Add the title "Age distribution". Add the horizontal axis title "Age". Add the vertical axis label "Count". Add a grid to the plot.
Add the subtitle “Statistical analysis” to the notebook.
Add the sub-subtitle “ECG diagnosis grouped by heart disease”.
Create a contingency table of expected values using the HeartDisease and RestingECG columns.
Perform a chi-square test for independence to determine if the HeartDisease variable is independent of the RestingECG variable. Use a 5% level of significance.
In this video tutorial I show you how to use the Noteable.io plug-in in ChatGPT Plus. The plug-in creates a notable.io Python notebook (similar to a Google Colab notebook or a Jupyter notebook), creating an editable record of your analysis.
The data file that I use is on GitHut at raw.githubusercontent.com/juanklopper/TutorialData/main/TODAY_MERGED.csv
As always, please read more about the Milken Institute School of Public Health at The George Washington University in Washington DC. The School offers great programs and courses for everyone considering a career in Public Health. https://publichealth.gwu.edu
The prompts that I use are used below.
Use this project: "copy and paste the URL from your notable.io project page"
Create a new notebook called “EDA.ipynb”.
Add the title “DATA ANALYSIS FOR THE HEART DISEASE PROJECT”
Add a subtitle “Data import”.
Import the data from the URL raw.githubusercontent.com/juanklopper/TutorialData/main/heartLLM.csv and assign to to the variable named df.
The CSV file contains 7 columns. Age describes the age of participants in years, BinarySex describes the gender of each participant, with two classes, M for male and F for female. Cholesterol is the serum cholesterol in mg/dL. RestingECG is a multilevel variable with classes Normal for a normal ECG, ST for ST-segment elevation, and LVH for left-ventricular hypertrophy. MaxHR is a continuous variable measured in beats per minute describing the maximum heart rate reached during exercise. ExerciseAngina is a binary variable with two classes, N for no and Y for yes and describes whether angina was induced by exercise. HeartDisease is a binary response variable a with 0 for no heart disease and 1 for the presence of heart disease.
Add a subtitle “Univariate summary statistics and data visualization”.
Add a sub-subtitle "Age analysis".
Calculate summary statistics of the Age column. Include the count, mean, median, variance, standard deviation, minimum, maximum, range, quartiles, and the interquartile range.
Create a histogram with kernel density estimate of the Age column. Add the title "Age distribution". Add the horizontal axis title "Age". Add the vertical axis label "Count". Add a grid to the plot.
Add the subtitle “Statistical analysis” to the notebook.
Add the sub-subtitle “ECG diagnosis grouped by heart disease”.
Create a contingency table of expected values using the HeartDisease and RestingECG columns.
Perform a chi-square test for independence to determine if the HeartDisease variable is independent of the RestingECG variable. Use a 5% level of significance.










