Medical statistics and Data Science: Statistics

Advanced graphics in Stata

     

News:

As the saying goes, everything is difficult at the beginning. An entry-level textbook is far more important than we might think. The best entry-level textbook guides you start a topic smoothly and gives you confidence to go further. On the contrary, you might get confused at the beginning if an entry-level textbook is unsatisfied.

This book is based on 10-years experiences in teaching Stata to new beginners. Be aware of that the beginners here refer to those who has limited experience just in Stata. The beginners in Stata might either be young researchers who just embark their research career or be very experienced researchers but just new to Stata.

A book “How to get started with Stata”, which is scheduled to be published in Amazon

How to get started with Stata for beginners

Link to the book description

Content

  1. Odds ratios with 95% confidence interval
  2. Crude and adjusted odds ratios with 95%CI
  3. Standard normal distribution
  4. Type I, II error and power (version 1)
  5. Type I, II error and power (version 2)
  6. Bar plot with frequencies
  7. Bar plot with percentages
  8. Bar plot with 95%CI
  9. Bar plot with error bars (Version 1)
  10. Bar plot with error bars (Version 2)
  11. Questions with Likert scale from survey data
  12. Odd ratio over-estimates risk ratio (version 1-1)
  13. Odd ratio over-estimates risk ratio (version 1-2)
  14. Odd ratio over-estimates risk ratio (version 2-1)
  15. Odd ratio over-estimates risk ratio (version 2-2)
  16. Odd ratio over-estimates risk ratio (version 3-1)
  17. Odd ratio over-estimates risk ratio (version 3-2)
  18. Odd ratio over-estimates risk ratio (version 4-1)
  19. Odd ratio over-estimates risk ratio (version 4-2)
  20. Cox regression with the restricted cubic spline: version 1
  21. Cox regression with the restricted cubic spline: version 2
  22. Cox regression with the restricted cubic spline: version 3
  23. Area for stacked percent/proportions

Odds ratios with 95% confidence interval

Be aware of that the graph neither reflect any scientific researches nor convey any scientific knowledge. We are focusing on how teachnically make the graph. All the titles and numerical values are purely hypothetical.

The technics can be applied to any regression coefficient such as risk ratio, prevalence ratio, hazard ratio etc.

You can view and download the Stata do.file to reproduce the exactly same graph.

Both crude and adjusted odds ratios with 95%CI

Be aware of that the graph neither reflect any scientific researches nor convey any scientific knowledge. We are focusing on how teachnically make the graph. All the titles and numerical values are purely hypothetical.

Standard normal distribution

Type I, II error and power (Version 1)

Type I, II error and power (Version 2)

Bar plot with frequencies

Bar plot with percentages

Bar plot with 95%CI

Odd ratio over-estimates risk ratio (version 1-1)

Odd ratio over-estimates risk ratio (version 1-2)

Odd ratio over-estimates risk ratio (version 2-1)

Odd ratio over-estimates risk ratio (version 2-2)

Odd ratio over-estimates risk ratio (version 3-1)

Odd ratio over-estimates risk ratio (version 3-2)

Odd ratio over-estimates risk ratio (version 4-1)

Odd ratio over-estimates risk ratio (version 4-2)

Cox regression with the restricted cubic spline: version 1

Cox regression with the restricted cubic spline: version 2

Cox regression with the restricted cubic spline: version 3

Area for stacked percent/proportions