I wish to hide this unique within the blog along with other page I've this code :

<?php if (is_page(array ('2','4','6','8','10','12'))) : ?>
<?php else : ?>
<?php include('stats.php');?>
<?php endif; ?>

it will not show on 2,6,8,10,12 what are pagesbut it footwear in 4 the blog help.

Presuming 'blog' is really a category, and it is ID is 4 and you won't want to include 'stats.php' when viewing that category's archive page:

<?php if (!is_page(array('2','4','6','8','10','12')) && !is_category('4')) {
    include('stats.php');
} ?>

Otherwise, make reference to the documentation for Wordpress conditional tags.