Hi,
I'm trying to calculate the determinant of a matrix within a Monte Carlo
simulation program. The matrix takes variables that are calculated in
previous steps in the program.
The specific command I included is:
matrix H = (0,Fc,Fk,Fl\Fc,Fcc,Fck,Fcl\Fk,Fck,Fkk,Fkl\Fl,Fcl,Fkl,Fll)
gen detH = det(H)
Fc, Fk, etc are calculated earlier in the program file.
However - I get an error message "Fc not found"
Can anybody help?
Sincerely,
Dorit Nevo
PhD Candidate, MIS
Faculty of Commerce, University of British Columbia
*
* 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/