Criteria for selecting the maximum interaction (r) in adaptive methods

Hello,

I was wondering what is the criteria for choosing the maximum interaction parameter (r) in adaptive methods of PCE construction where a candidates of p and q are given. I tried to suggest candidates for maximum interaction, but this approach doesn’t seem to work with r parameter.