Statistics for Hybrid Approach for Automatic Drug Dispensing and Control