Getting Started with Stata at Norwegian University of Life Sciences
Discover a comprehensive guide on how to start using Stata at the Norwegian University of Life Sciences. This resource provides datasets, exercises, cheat sheets, and other useful information to help you practice and master the software. Learn about Stata's graphical user interface, syntax, common commands, and how to work with do-files effectively. Prepare yourself by setting up the necessary folders and downloading essential files before launching Stata.
Uploaded on | 3 Views
Download Presentation
Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Getting started with Stata September 2017 0 Norwegian University of Life Sciences
Webpage http://arken.nmbu.no/~kiau/Stata Here you can find: Datasets we use today Exercise Set for today Dummy do-file Cheat-sheet with Stata code and useful information Other useful resources for Stata 1 Norwegian University of Life Sciences
Practice using Stata and avoid.. 2 Norwegian University of Life Sciences
GUI: Graphical User Interface 3 Norwegian University of Life Sciences
Graphical user interface Interface Result window Variable window Command review window Command window (write commands here) 4 Norwegian University of Life Sciences
Syntax command varlist, options Syntax is case sensitive type help name_of_command if you need help 5 Norwegian University of Life Sciences
Syntax: Common Logical > < >= <= == != ~= Greather than Less than Greather than or equal Less than or equal Equal Not equal Not equal Arithmetic + - * / ^ ( ) Addition Subtraction Multiplication Division Power brackets Numeric and string & | ! ~ and or not not Mathematical functions Exp() Log() Sqrt() Exponential function Natural logarithm Square root 6 Norwegian University of Life Sciences
Do-file Keep track Re-run commands Make modifications Make comments in do-file // comment ** comment /* comment */ 7 Norwegian University of Life Sciences
Before get to work.. Create a folder for this course on your server Go to webpage http://arken.nmbu.no/~kiau/Stata and download Excel file country_short and the pdf-file To Do List to the folder. 8 Norwegian University of Life Sciences
Launch Stata Start -> Programs -> Stata 9 Norwegian University of Life Sciences
Exercise Set Go to webpage http://arken.nmbu.no/~kiau/Stata and download Excel file country_long and the pdf-file Exercise Set and get cracking! 10 Norwegian University of Life Sciences