valid_data function

Validates simulated observational data against data-generating values.