Comparing groups

Let's go ahead and (like we did previously in this chapter) use the R commands colnames and summary; this time on our new data file:

As can be seen, there is an additional field (or component) present in our file, sale_type, and executing the summary command yields the following statistics, including a breakdown of the sale types:

The next step will depend on your hypothesis. If, for example, you have some idea that the type of sale (sale_type) has some effect on the overall sales performance, you then need to produce the ...

Get Statistics for Data Science now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.