Session Ready
Exercise

Changing the order

By default the inference() function sets the parameter of interest to be (\(\mu_{\mathrm{nonsmoker}}-\mu_{\mathrm{smoker}}\)). We can easily change this order by using the order argument.

To set the order to \(\mu_{\mathrm{first}} - \mu_{\mathrm{second}}\) use:

order <- c("first","second").
Instructions
100 XP

Set the order of the interval to \(\mu_{\mathrm{smoker}}-\mu_{\mathrm{nonsmoker}}\) by adding the order parameter to the inference() function.