By the same token, it would have been useful to contrast the gtl scatter plot by groups code with its…