On Sat, 6 Dec 2014, Miles Higbie wrote:
Hello I was trying to find the Real GDP Growth rates by comparing to
countries and my teacher gave me this script to do so
g = (1/10) ∗ ln(Y r1970/Y r1960)
but it is not working I was wondering what is the issue, it keeps saying
syntax but I do not know what to do.
The main problem is in the expression "(ln(Y r1970/Y r1960)". You
have some spaces in there that make no sense. Here's one
possibility: the dataset you're working with has variables named
"Y_r1970" and "Y_r1960" (with underscores, not spaces). In that case
the following would work:
g = (1/10) * ln(Y_r1970/Y_r1960)
Allin Cottrell