This book is an introductory guide to programming and coding in Stata. Commonly encountered code in the field of medical statistics as well as the analyses of observational data are presented.For those who are involved in the analyses of observational studies, the need to sometimes assemble large datasets will necessitate a detailed understanding of loops and macros. This book covers these materials early on and then describes other commonly required coding commands.For those who program in a controlled environment (.e.g. medical statisticians who perform analyses for regulatory bodies), the production of log files, a suggested folder structure and analysis pathway are covered. This book also includes a wide range of tabulation commands and other methods of producing tables of descriptive statistics. The text also then provides a clear explanation of how to perform some inferential analyses (including how to extract and format the coefficients for use in subsequent reports).The focus on coding allows beginners to grasp the basics of coding and programming, as well as allowing established researchers to hone their skills and become more advanced programmers.Key Features:Covers the fundamental of using and understanding Stata.Able to be used by anyone looking to learn the basics of coding.Introduces and explains difficult concepts such as macros from the outset.
Les mer
This book is an introductory guide to programming and coding in Stata. Commonly encountered code in the field of medical statistics as well as the analyses of observational data are presented.This book covers loops and macros and then describes other commonly required coding commands.
Les mer
Foreword1. Introduction2. Temporary names, variables and files3. Macros and other data storage mechanisms used by Stata4. Variables, variable names, value label names, value labels & values5. Loops6. Append, Merge & Collapse7. Reshape8. Dates9. BITS & BOBS10. Helpful hints when doing regression11. Time series operators and survival analyses12. Exporting output13. Stata Programming14. Tables of Baseline Characteristics15. Automated Reporting16. pretty_baseline package for easy tables17. Tables with output from statistical tests
Les mer

Produktdetaljer

ISBN
9781032775654
Publisert
2024-07-31
Utgiver
Vendor
Chapman & Hall/CRC
Vekt
320 gr
Høyde
234 mm
Bredde
156 mm
Aldersnivå
U, P, 05, 06
Språk
Product language
Engelsk
Format
Product format
Heftet
Antall sider
164

Forfatter

Biographical note

Rafael Gafoor is a Chartered Statistician at the Comprehensive CTU at University College London (UCL). Dr. Gafoor obtained both his master’s degrees in Epidemiology and Medical Statistics from The London School of Hygiene and Tropical Medicine and his PhD from the Institute of Psychiatry (King’s College London). He has worked as a medical statistician as well as an epidemiologist. His research interests include epidemiology, clinical sciences, public health and health services and systems. Dr. Gafoor is a consultant psychiatrist in the NHS and has a keen interest in the analysis of datasets with Mental Health outcomes (from both observational as well as experimental studies).