I'm assuming you are looking for a way to "ignore" views by some roles or anonymous users, and not for "disable of the statistics module" for those roles/users (there is no way in Drupal to enable/disable a module for selected roles).
Below are some suggestions about contributed modules. In case none of them are an actual fit for what you're looking for, you may want to look at them to get inspiration that you could use in a custom module.
Node view count
You may want to use the Node view count module for this. Here is a quote about it (from its project page):
... allows to count node views. Unlike statistics module, this module records each view of node with user uid and timestamp. So now you can know how many times a user viewed node by day, week, month and etc.
This module is integrated with Views module. You can use it to create different statistics pages, output new not viewed nodes for user and many more.
Specific to the D7 version of it, this is what is included also on the project page:
Also now we count node views for anonymous users.
The Statistics Advanced (*) module is another option to consider. Here is a quote about it (from its project page):
Provides a few advanced options to the core Statistics module.
Be aware however of the issue "Port Statistics Advanced Settings to D7", with current status = needs review.
My "recommendation" for anybody looking for a D7 version of it, is to review what is attached to Comment # 55 in that issue. And report any potential deficiencies in that same issue (confirmations that it works fine would be appreciated too, also via that same issue).
Yet another module is the Statistics Filter module. Here is a quote about it (from its project page):
This module allows customizable filtering of hits from particular user roles or from crawlers.
For sites with light traffic (i.e., most sites), a large percentage of the gross hits recorded by statistics.module are either from the site administrator or from search engines. Filtering out these hits makes the collected statistics more accurately reflect traffic from real, human visitors.
Other modules to consider
If none of the above modules fit your needs, then you may want to consider reviewing this shortlist of possible alternatives (quotes are from their project pages).
Disclosure: I'm the maintainer of the modules marked with (*).