I am trying to find price elasticity of a set of products. For this I have 2 categorical variables. Country and Product ID. Since price elasticity is for a individual product, I need to loop through the group of rows created by combination of Country and Product ID.
How can I run the regression in loop to collect the regression coefficients for every single Product ID.
For Loop you have Group Loop Start node that should do it. You can put both Country and Product ID in it. For finish you got Loop End node. In between I leave to you