script for grabing particular elements from a survival analysis and outputing them to a single MS word
Jul 17, 2012 11:29 PM(2057 views)
I am intended to grab particular elements from a survival analysis and export these to a single MS word. The following analysis is based on a single data table "qryAFF14." There are three treatment groups, selected in the WHERE clause, of my interest. I'd like to make a failure plot for the 3 groups and two pair comparisons (acetone vs nil, acetone vs methoprene) and get their estimates. My codes below have produced what I need. My data table is attached. Thanks. My questions:
How do I output these three elements to a MS word?
Could the WHERE clauses be simplified to one as in SAS "where treatment in ('acetone', 'nil')?