SAS function for using 'power' / exponential

exponent, sas

Solution

got it! there is no function.

you need to do:

variable1 ** variable2;

Problem

I may be missing something obvious, but how do you calculate 'powers' in SAS? Eg X squared, or Y cubed? what I need is to have variable1 ^ variable2, but cannot find the syntax... (I am using SAS 9.1.3)

Original source