A Distribution-free Approach in Statistical Modelling with Repeated Measurements and Missing Values