example to probe fitting errors depending on sampling size