From the course: Complete Guide to Generative AI for Data Analysis and Data Science

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Visualizing distributions

Visualizing distributions

- [Instructor] The next visualization I want to look at is visualizations that are associated with normality. So if we want to make or apply a statistic test that assumes that the data that we're looking at or analyzing is normally distributed, we're going to want to check to make sure it's normal. Well, one quick way to do that, at least to get a rough idea, is to use visualization. So here we have some data from our hospital admission data set, and it shows the type of admission and the admission deposit. Well, I'm particularly interested in the admission deposit data, so I'm going to copy that and I'm going to jump over to ChatGPT and ask to "create a script to visualize distribution of the following data. I want to assess normality." And let's pop that in with the data and send that off. Okay, so I can tell already that ChatGPT is going above and beyond the call of duty here, because we're actually doing statistical tests as well as visualizations. So I know we're doing…

Contents