In STATA you will see /// followed by green text. In the R code you will see # followed by gray/green text. R and STATA use other odd character combinations to indicate that the rest of the line is a comment. The SAS code shows comments as green text that begin with a * and end with a or begin with a /* and end with */. The "syntax" to indicate comments is slightly different across the languages. Something like 90% of the text is just explanation. So, don't panic when you look at the code and you see a huge amount of text. The code on this site has a LOT of comments. First, they contain both cryptic instructions for the computer to follow and "comments" for humans to read to help explain what the code is doing. The "coding" languages (R, SAS and STATA) share a few things in common. Don't panic if you don't know the "programming languages." On this page are links to introductions which give you a gentle introduction to the analysis software packages. When you see something useful in PMSPP you can jump directly to the instructions to make it by clicking the Code and Output link above. Don't you hate it when you see an analysis, table or graphic that would be perfect for your paper but you don't know how to make it? This website provides the instructions so you can replicate and expand the tables and graphics in Presenting Medical Statistics from Proposal to Publication (PMSPP) to support your own work.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |