[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I am thinking maybe I could use one of the following way to do this: (1) During matrix calculation, I include the probability weight as an additional column. So, I can do the t-test without coming back to the original data set. (2)After matrix calculation, I convert the results into variables for each female and add the new variables to the original data set. Then do the t test in the original data set. As to (2), I am not sure using --svmat--how to make sure the new variables converted from matrices match the ID numbers in the original data set(each matrix is only for female, but the data set includes male and female). Could I expand the matrix by adding zero rows for male before converting variables? And I am not sure which one of the two ways is easier. If there is anything I need to clarify, please let me know. Thanks for your help! Mandy * * 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/

- Prev by Date:
**st: matching created matrix and the original data set** - Next by Date:
**Re: st: RE: Sargen-Hansen and instruments--RE vs. FE--Robust** - Previous by thread:
**st: matching created matrix and the original data set** - Next by thread:
**st: MLOGIT versus a set of LOGIT models** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |