O'Reilly logo

R Statistical Application Development by Example Beginner's Guide by Prabhanjan Narayanachar Tattar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Bagplot – a bivariate boxplot

In Chapter 3, Data Visualization, we saw the effectiveness of boxplot. For independent variables, we can simply draw separate boxplots for the variables and visualize the distribution. However, when there is dependency between two variables, distinct boxplot loses the dependency among the two variables. Thus, we need to see if there is a way to visualize the data through a boxplot. The answer to the question is provided by bagplot or bivariate boxplot.

The bagplot characteristic is described in the following steps:

  • The depth median, denoted by * in the bagplot, is the point with the highest half space depth.
  • The depth median is surrounded by a polygon, called bag, which covers n/2 observations with the largest depth. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required