Ashish,
1.
You recoded powerpoint to powerpoint2, but had problems with the labels.
You did:
. recode powerpoint (1 2 3 = 2) (4 5 = 4), gen(powerpoint2)
. label values powerpoint2 powerpoint
but the powerpoint label does not correspond to the recoded values.
Do this:
. recode powerpoint (1 2 3 = 2) (4 5 = 4), gen(powerpoint2)
. label define powlabel2 2 "Useful" 4 "Not useful" 6 "Not applicable"
. label values powerpoint2 powlabel2
Right?
2.
You had problems controlling where to store your log files. Include the
folder name in the -log- command. Assuming that you want to put the
logfile in the c:\tmp folder:
. log using "c:\tmp\xxx.log"
Hope this helps
Svend
BTW: In general it is a good idea to include only ONE question in each
posting.
__________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone: +45 8942 6090
Home: +45 8693 7796
Email: [email protected]
__________________________________________
*
* 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/