Hi Guys!
Is there an easier way of creating a product variable column than making a loop?
It seems kind of strange that it is possible to gen var= sum(...) but not gen var= product(...)
Hope you can help me out?
Kind regards
Nick Ewbank
ps: for clarification, I need the column output to look like this:
1 = 1,01
2= 1,01*1,02
3= 1,01*1,02*1,03
4= etc..
Is there an easier way of creating a product variable column than making a loop?
It seems kind of strange that it is possible to gen var= sum(...) but not gen var= product(...)
Hope you can help me out?
Kind regards
Nick Ewbank
ps: for clarification, I need the column output to look like this:
1 = 1,01
2= 1,01*1,02
3= 1,01*1,02*1,03
4= etc..
Comment