Mathematica for healthcare and life science statistics
4.7 (30 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
171 students enrolled

Mathematica for healthcare and life science statistics

Learn an easy, yet powerful computer language and how to use it to do your own statistical analysis.
Highest Rated
4.7 (30 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
171 students enrolled
Created by Juan Klopper
Last updated 12/2017
English [Auto-generated]
Current price: $11.99 Original price: $44.99 Discount: 73% off
2 days left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5 hours on-demand video
  • 28 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to Udemy's top 3,000+ courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Understand the Wolfram computer language
  • Import your own data into Mathematica

  • Do statistical analysis of the data

  • Create plots and graphs from your data
  • A basic understanding of statistical terms.

This course is for anyone in the healthcare and life sciences interested in doing their own statistical analysis.  You will learn an easy to use, powerful computer language and how to use it to do statistical analysis.  The introduction shows you how to get a copy of Mathematica or how to use the free version in the cloud.  The Wolfram company also provides complimentary access to Wolfram|One for all students who take this course.  More information is available in the BONUS MATERIAL video lecture.

Although the course assumes some knowledge of statistical concepts, it does supply enough information on the basics of statistics, so that most learners will find it a useful resource enough resource to learn these concepts, over and above learning how to write code to do the actual analysis.

The course is made up of clearly defined sections, each with its own set of video lectures.  The first video in each section is accompanied by notebook files and, where required, a spreadsheet data file.  The notebook in each section marked Recording... is a copy of the notebook that I use in the video lectures.  The other notebook file contains much more description of both the code and the statitics.  You can use this as an additional study resource as you learn how to use Mathematica.

The course starts with a gentle introduction to using Mathematica by showing you how to perform simple calculations. From here it progresses through descriptive statistics, plotting and charting, the creation of simulated data and the importation of existing data.  

Before too long you will be able to do advanced statistical tests such as parametric and nonparametric tests and even survival analysis.  All with a few short lines of code.

Get ready to understand and do your own statistics.

Who this course is for:
  • Healthcare and life science students and professionals interested in the statistical analysis of their own data.
Course content
Expand all 69 lectures 05:00:22
+ Course orientation
4 lectures 17:58

In this video I tell you about how to get hold of a copy of Mathematica and how to use it free of charge, in the cloud.

Getting Mathematica

In this video I show you around the user interface of the desktop version of Mathematica.  The coding environment is the notebook.  It allows for the entry of titles, subtitles, text, paragraphs, and computer code.

Desktop Mathematica

The cloud version of Mathematica is free to use.  It offers the same notebook environment as the desktop version.

Mathematica in the cloud
+ Mathematica, the fancy calculator
3 lectures 11:38

In this first proper look at Mathematica we complete a few simple arithmetical calculations.

Preview 06:08

Now that we know how to do simple arithmetic, we take a look at calculating powers.  We also consider the order of arithmetical operations and how to manually change the usual order.  Finally, we calculate the mean or average of a set of numerical values.

02 Powers, order, and the simple mean
+ Collections
7 lectures 26:52

Introduction to this section.

Preview 00:47

In this video we take a look at creating a list of elements.

Preview 05:42

Lists can contain other lists as elements.  This video will show you how these are used to build up matrices.

02 Nested lists and matrices

Instead of typing in each element of a list, you can use a formula to create the elements of a list for you.

03 List comprehension

Once you have a list or lists, you might want to access only certain of the elements.  Each element in a list has an address, which is what allows us to make this selection.

04 Accessing elements of a list

Lists come in various shapes and sizes.  This video will show you how to calculate the number of elements in a list.

05 The length of a list

It is straight forward top add elements to a list that has already been created.  This video also shows you how to extract all the elements of nested lists into one single list.

06 Appending to or flattening a list
+ Descriptive statistics
4 lectures 14:00

Measures of central tendency calculate a single value to represent a list of values.  These include the mean or average, the median, and the mode.

01 Measures of central tendency

Measures of dispersion give us an idea of the spread of the data.  These include the standard deviation, the range, the interquartile range and various quartiles and percentiles.

02 Measures of dispersion

It can be tedious to calculate each individual measure of central tendency and dispersion.  This video will show you how to create a short Mathematica function.  You can use it to calculate all of the descriptive statistics for a list of values in one go.

03 Functions
+ Random variables
5 lectures 18:32

This video shows you how to create random integers and random real numbers.

Preview 05:49

Introduction to this section.

Preview 00:44

Mathematica can also choose random categorical variables from a list.

02 Random categorical variables

In this video we take a closer look at the normal distribution.

03 The normal distribution

Now that you know how to create random values, this video shows you how to select values at random that follow a specified distribution, i.e. the normal distribution, given a mean and a standard deviation.

04 Random values following a distribution
+ Confidence intervals
3 lectures 09:38

Introduction to this section.

Preview 00:25

In this video we import the HypothesisTesting package into Mathematica and use it to calculate the confidence interval around the mean of a list of values.

01 Confidence intervals around the mean
02 Confidence intervals around the difference in means and variances
+ Parametric tests
8 lectures 40:45

Introduction to this section.

Preview 00:16

In this first video we create lists of values to use in our parametric tests.

01 Creating lists

In this vodeo we calculate a p-value for the comparison of a mean for the list of values to a given mean.

02 One sample t-test

In this video we use the famous Student's t-test to calculate the p-value for the difference in means between two lists of values.

03 The t-test

If the two lists of values are not independent, i.e. they come from the same individual such as before and after an intervention, we need a different version of the t-test.

04 Paired-sample t-test

One-way analysis of variance allows us to compare the means of three or more lists of values.

05 Analysis of variance

Instead of calculating the p-value for ANOVA manually, we can import and use the ANOVA package.

06 More on ANOVA

In this video we compare pairs of numerical values for two variables using simple linear regression or the strength of the correlation between two variables.

07 Linear regression
+ Working with data
9 lectures 43:02

Introduction to this section.

Preview 00:31

Until now we have created our own lists of values.  More commonly, data is already stored in spreadsheets.  In this video I show you the structure of a dataset in Mathematica by manually creating one.

01 Introduction

In this video we take a look at specifying the directory or folder on your computer where the spreadsheet file resides so as to make it easier for Mathematica to import the file.

If you are using the cloud version, simply upload the spreadsheet file into the Home directory (where your notebook file should also be kept).

02 Specifying the directory and importing a file.

Just as we references elements of a list (collections), we can also access data point values in a data file.

03 Referencing dataset values

At times we only want to select a subgroup of patients or subjects to use in our analysis.  We can do this by creating a rule (or recipe) that will only select these cases.

04 Selecting rows based on rules

We can calculate simple descriptive statistics on data in our dataset, similar to the way in which we calculated it for lists of values.

05 Simple descriptive statistics

Instead of simply selecting a subset of subjects based on a rule, we can also group our dataset into subgroups for easier calculations.

06 Using GroupBy to select data

For really complex calculations we can create standalone sub-datasets and even extract lists from a dataset.  This is a very useful way of working with the data.

07 Creating sub datasets and lists

While it is easy to use SemanticImport[] to work with a spreadsheet file in the desktop version of Mathematica, it is a bit more complicated to achieve this in the Cloud.  In this video lecture we look at how to upload a spreadsheet file and use it in an online notebook as a dataset.

Preview 04:39
+ Plotting
8 lectures 33:04

Introduction to this section.

Preview 00:21

Plotting or charting is one of the most powerful ways of getting to know and understand your data.  In this first video, we create some data that we will plot.

01 Creating simulated data

A list plot is used to plot pairs of values, i.e. one on the x-axis and one on the y-axis.  A point is created where they meet.  This first video looks at plotting the values in a list one-by-one.

02 The list plot

The bubble chart adds a third dimension (another value to the pairs) that is plotted as the size of each point.

03 The bubble chart

A histogram plot the frequency of occurrence of numerical values in interval ranges.

04 The histogram

A smooth histogram creates a smooth curve from a kernel density estimate of the frequency distribution of a list of values.  A 3D histogram plots the frequency of the combination of two numerical variables.

05 The smooth and 3D histograms

The box-and-whisker plot is one of the most common plots in healthcare analysis.  It charts the middle two quartiles and median of a list of values, together with any outliers.

06 The box-and-whisker cahrt

A bar chart shows the counts of categorical variables.  A pie chart does the same, but represents the whole as a full circle, with proportional slices that make of the frequency of the categorical variable.

07 The bar and pie charts
+ More about parametric tests
6 lectures 28:49

More than one independent variable can be used to compare three or more numerical variables.  In this video we look at two-factor ANOVA.

01 Two-way ANOVA

In this video we look at three independent factor ANOVA.

02 Three way ANOVA

We take a closer look at linear regression in this video.

03 Fitting a curve

We take a closer look at linear regression in this video.

04 Simple linear regression

The values that we compare need not only come in pairs, but also in triplets and even more.

05 Multiple linear regression