First generate the log series of m/ y and r by typing the
"genr lnmy = log ((nm/p)/(nni/p))" and "genr lnr = log r"
into the command line. And then use "Estimate Equation" from
the "Quick" option
, typing "lnmy c lnr" into the dialog box.
And here are the results: