Extending the two-sample empirical likelihood method J¯ anis Valeinis