what is relative entropy between to random binary string with length of $L_1$ & $L_2$?

259 Views Asked by At

I want calculate relative entropy between two strings of binary such as:

$L_1:11000100011101001$
$L_2:00101110110111001$
It is primarily when the lengths of two strings is same and in general when the length is not same. and how calculate $p$ and $q$. Is it related to frequency in string or need infer from some more general distribution or what?
For example what is the $q$ and $p$ here?