I'm having trouble with the syntax of matrix define (or input) when
using scalars. When I try the following:
scalar b3=2
matrix input Matrixnew=(1,`b3',`b3',`b3'\ `b3',1,0,0\ `b3',0,1,0\ `b3',0,0,1)
I get a syntax error even though I've put a space in between the
slashes and the scalars (per the manual) to avoid confusion. What am
I doing wrong?
Thanks,
Rachel
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/