1 / 11

Streamlining Clinical Trials Reporting with Report.ado Command

Report.ado is a powerful command for creating tables in XML format, particularly beneficial for clinical trials reporting. This report showcases the automation of table production using the citytemp2 dataset. From basic tables to two-way frequency tables and summary statistics, Report.ado simplifies the process and allows for customization. Conclude your reports efficiently with this versatile tool.

wenda
Download Presentation

Streamlining Clinical Trials Reporting with Report.ado Command

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Report.ado Prof. Adrian Mander Cardiff University Centre for Trials Research

  2. Introduction • Report.ado is a command that produces tables in XML • Most of the code uses -putdocx- commands to construct tables • The automation of table production is really useful for clinical trials reporting • Going to use the citytemp2 data set to demonstrate • webuse citytemp2, clear

  3. The basic table (listing unique values) report, rows(region) nofreq file(test) replace The file test.docx contains this table

  4. Adding a title and row percentages with test.docx report, rows(region) title(Frequency and row percentages) file(test) row Frequency and row percentages Row percentages

  5. Frequency table with two variables report, rows(region agecat) file(test) row

  6. Two way frequency table with column percentages report, rows(region) cols(agecat) column totals file(test)

  7. report, rows(division region) cols(agecat)

  8. Summary statistics report, rows(tempjan, mean %5.2f | tempjan, sd %5.2f| tempjan, count | tempjuly, mean %5.2f| tempjuly, median %5.2f) cols(region agecat) font(,8) file(test)

  9. Summary statistics with adjacent by columns report, rows(tempjan, mean %5.2f | tempjan, sd %5.2f| tempjan, count | tempjuly, mean %5.2f| tempjuly, median %5.2f) cols(region agecat) font(,8) file(test) adjacentcolumns

  10. Summary statistics by a row variable report, rows(tempjan, mean %5.2f | tempjan, sd %5.2f| tempjan, count | tempjuly, mean %5.2f| tempjuly, median %5.2f) cols(agecat) rowsby(region) font(,8) file(test)

  11. Conclusions • The –report- command is able to produce most frequency and summary statistics tables • Can be used in conjunction with other -putdocx- commands to create a complete document • This is still a work in progress and I am happy to handle different table formats

More Related