what happens if you put the if qualifier in front of the comma and the options?
Richard Ochmann
[email protected] schrieb: -----
An: "[email protected]" <[email protected]>
Von: "Stephan Rudolfer" <[email protected]>
Gesendet von: [email protected]
Datum: 31.07.2008 07:03PM
Thema: st: use of if command after commands with options
I wish to use the if command to select a subset for estimation purposes, but also use options for the main command. This doesn't seem to work, since stata thinks that "if" is a further option. For example, pca..., comp(6). If I follow this with "if x==1", it won't work because stata thinks that "x==1" is a further option for pca.
Comments please!
Stephan Rudolfer
--
Dr Stephan M Rudolfer
Honorary Research Fellow
in Biostatistics & Mathematical Statistics
Chairman, Manchester Group, Royal Statistical Society
Biostatistics, Health Methodology Research Group
School of Community Based Medicine
University Place (1st Floor)
University of Manchester
Oxford Road, Manchester M13 9PL.
Tel: +44 161 275 1650 Fax: +44 161 275 5205
Email: [email protected]
Web: http://www.maths.man.ac.uk/DeptWeb/Homepages/smr/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/