Dear Statalisters,

I have 2 sets Set_1= {HH, HT, TT, TH} and Set_2 = {1, 2, 3, 4}. These are the initial column values and names.
I want to expand this 4X2 dataset to a 4X 4 such that the new data set is a 'Cartesian Product' like so:
Set_1 Set_2
HH 1
HH 2
HH 3
HH 4
HT 1
I am searching for element-wise multiplication and cartesian products and I am getting the wrong kind of command (for this job).
I don't have a Dataset yet & I have to construct one, so I couldn't post one here. I am also aware of the command
Code:
cross
which performs pairwise merge. But in my case, the issue is slightly different.

Do help and thank you, in advance!