Premium Essay

Stata Guide

In:

Submitted By xparasx
Words 4290
Pages 18
Stata Guide (Version 10)
Sunaina Dhingra This guide introduces the basic commands of Stata. 1. Starting Stata    Start Stata by using shortcut on the desktop that you can double-click Start Stata using the Windows menu, click the Start > All Programs > Stata 10 Locate a Stata data file, with *.dta extension, and double-click

2. Stata environment     Command—this is where Stata command are typed Results—output from commands, and error messages, appear here Review—a listing of commands recently executed Variables—names of variables in data and labels (if created)

3. Recording Output

a. Log file
Log file keeps track of everything that happens in the result window. In short, it keeps a record of the commands you have issued and their results during your session. In STATA log files have the extension .smcl or .log


Go to File > Log > Begin to open a log file. A screen will pop up, asking for where you want the log file to be saved.



Use command: log using filename [, append replace text]


where filename is any name you wish to give the file. The append option simply adds more information to an existing file, whereas the replace option erases anything that was already in the file.



Full logs are recorded in one of two formats: SMCL (Stata Markup and Control Language) or text (meaning ASCII). The default is SMCL, but the option text can change that.



If you want to temporarily turn off the log session, type log off in the command window. The session will resume if you type in log on

 

At the end of your STATA session, type log close to close the log file To view the log file: go to File > Log > View. Since you will not be able to directly print from this window, the output can be copied and pasted into Microsoft Word and printed out. To directly print from STATA, type print and then the path and filename in the command window.

b. Do-Files A

Similar Documents

Premium Essay

Analog Devices, Incorporated: Microelectromechanical Systems (Mems)

...management control system case analysis solution and analysis Analog Devices, Incorporated: Microelectromechanical Systems (MEMS) From a conference room on the top floor of the four-story semiconductor manufacturing facility, Ray Stata briefly took in the view of the Massachusetts Institute of Technology (MIT) campus. In particular, he noticed the building under construction that would soon bear his name. Asked how this particular honor felt, Mr. Stata responded with a humble shrug. However, when asked about the Microelectromechanical Systems (MEMS) business, Mr. Stata was willing to show considerable pride. Mr. Stata was Chairman of Analog Devices, Incorporated (ADI), a company which he co-founded in 1965. MEMS was one division. He had invested a tremendous amount of personal attention and energy to the success of MEMS – and risked his reputation. In fact, without his vision and dedicated leadership, this ambitious, entrepreneurial effort would have collapsed under mounting losses several years earlier. During one three-year stretch, from 1997 to 2000, Mr. Stata had decided to simultaneously serve as Chairman of ADI and General Manager of the MEMS division in order to keep the venture alive. In 2002, Mr. Stata regarded the MEMS business as a jewel. With worldwide technical supremacy that had been built over fifteen years, the business was profitable, and the long-term growth prospects appeared tremendous. Still, he readily acknowledged that many...

Words: 278 - Pages: 2

Free Essay

Lallala

...Mohammed Rafi 1 Mohammed Rafi Mohammad Rafi Background information Born Origin 24 December 1924 Kotla Sultan Singh, Punjab, British India Indian Died 31 July 1980 (aged 55) Mumbai, Maharashtra, India Genres Indian classical, ghazal, playback singing Occupations Hindi and Punjabi playback singer Instruments Vocalist Years active 1944–1980 Mohammad Rafi (Urdu: ‫ ,عیفر دمحم‬Hindi: मोहम्मद रफ़ी; 24 December 1924 – 31 July 1980), was an Indian playback singer whose career spanned four decades.[1] He won a National Award and 6 Filmfare Awards. In 1967, he was honoured with the Padma Shri by the Government of India.[2] In a career spanning about 40 years, Rafi sang over 26,000 film songs.[3] His songs ranged from classical numbers to patriotic songs, sad lamentations to highly romantic numbers, qawwalis to ghazals and bhajans, and from slow melancholic tunes to fast and melodious fun filled songs. He had a strong command of Hindi and Urdu and a powerful range that could accommodate this variety.[4] He sang in many Indian languages including Hindi, Konkani, Urdu, Bhojpuri, Oriya, Punjabi, Bengali, Marathi, Sindhi, Kannada, Gujarati, Telugu, Maghi, Maithili and Assamese. He also recorded a few English, Persian, Spanish and Dutch songs. An article in Times of India, published on 24 July 2010 sums up his voice as, "If there are 101 ways of saying "I love you" in a song, Mohammed Rafi knew them all. The awkwardness of puppy love, the friskiness of teen romance, the philosophy of...

Words: 6669 - Pages: 27

Free Essay

A Dolls House

...www.Grammarly.com​/​Grammar_Check Who Uses Each Format MLA style was created by the Modern Language Association and is used primarily for writings about language and literature and is the go-to style for those studying or working in the humanities. APA style is intended to clarify and strengthen scientific writing. Organized by the American Psychological Association, APA style is used most often by those in the social science fields. Format The difference between a paper written in MLA style and one written in APA style should be apparent to a reader almost immediately. A paper written in APA style will always have a title page, while those written in MLA style will only have a title page if it has been specifically requested. APA style also requires the inclusion of an abstract, a brief summary of the paper, while MLA does not. The main body of documents written in the two formats will look very similar, but they diverge again later on. In an MLA paper, the full list of references will be found on the "Works Cited" page at the back of the document. APA documents, on the other hand, will include a "References" page at the end. Citations While both styles require clear and detailed attribution of sources, referred to as citations, MLA and APA styles require a slightly different presentation of that data. In-text or parenthetical citations are brief references directing the reader to the full source list appended to the end of the paper. In MLA style, in-text citations will...

Words: 410 - Pages: 2

Premium Essay

Pollution

...Week 4 Posted on: Monday, April 8, 2013 1. Watch: Food, Inc. 2. Write: Respond to Food, Inc. prompt in BB Discussion Board. Due Apr. 11 by 11:59pm. Respond to 2 (or more) classmates by Apr. 14 by 11:59pm. 3. Write: Response 3: Minimum Word Count: 500 words. Due Apr. 14 by 11:59pm in Assignments, R3. 4. Write: Essay 2 Rough Draft: Analysis. Due Apr. 17 by 11:59pm. Turn in under E2R in Assignments. Specifics for Response 3: 1. Prompt: Further the research of one topic in Food, Inc. (for example, you might further research cloned foods and the law regarding labeling, illegal immigrants' status in the meatpacking industry, or the level of chemical additives in foods...) Give an updated view of the issue, along with further analysis into that issue through your research. 2. Your research should come from EKU databases only. Of course, you can use the free web to get more background information, but that information can not be used as an outside source. 3. Your sources should be no older than 3 years, so anything published before 2010 is not allowed. 3. Minimum Word Count is 500 words (the word count is for essay text alone, not the word count of the works cited page). Minimum Sources: 3. Due: Apr. 14 by 11:59pm in Assignments, R3. 4. The purpose of this assignment is to practice analysis and focus on advanced & time-sensitive research. Specifics for Essay 2: 1. An analysis is an argument in which you study the parts of something to understand how it works, what...

Words: 856 - Pages: 4

Free Essay

Processing Information

...One of the many factors that make us unique as individuals is the way we interrupt and process information. Daily we absorb information through reading, conversations and social media, Sometimes we subconsciously take ownership of others ideas; allowing what we take in to influence our thoughts and actions. Ultimately, this can lead to poor habits such as lying when it comes to being responsible for our actions. As college students, we are expected to challenge ourselves by writing good scholarly papers. Collecting our thoughts about our research and putting them on paper is easy for some but difficult for others. While researching, we can take notes and reflect on them; this can help with the content and flow in our papers (Kirszner & Stephen, 2012). Our papers should capture the reader’s attention by explaining our thesis statement and providing adequate explanations that supports our findings. Papers can be formatted and written in various ways; the most common forms of writing are APA and MLA. Some colleges may require MLA style (Modern Language Association); which is used for humanities such as arts, literature, and history. On the other hand, other colleges may require their students to write their papers in APA style. APA means American Psychological Association. It was designed by anthropologist, business managers, and psychologists as a way of arranging the components of writing and reading (Kirszner & Stephen, 2012). The APA format consist of the body, in-text...

Words: 568 - Pages: 3

Free Essay

Engl101

...School: School of Arts and Humanities Course Number: ENGL101 Course Name: Proficiency in Writing Credit Hours: 3 Length of Course: 8 Weeks Prerequisite: COLL100 is recommended Table of Contents Course Description Course Scope Course Objectives Course Delivery Method Course Materials Evaluation Procedures Grading Scale Course Outline Policies Academic Services Selected Bibliography Table of Contents Course Description (Catalog) ENGL101 Proficiency in Writing (3 hours) This course provides instruction in the writing process with a focus on self-expressive and expository essays, and will include practice in the conventions of standard written English, responding to readings, and incorporating sources into essays with appropriate documentation. Table of Contents Course Scope This course gives students practice in the conventions of Standard Written English, responding to readings, and incorporating sources into essays with appropriate documentation. Thus the course prepares students for writing effectively in all undergraduate courses by sharpening the writing skills necessary to answer essay examinations, dialogue with reading assignments, and write term papers. Table of Contents Course Objectives Students who successfully complete this course will be able to: CO-1: Recognize and formulate the kind of writing required to respond properly to college-level assignments, examinations, and projects. (Essay types) CO-2: Use a process of writing from pre-writing...

Words: 2413 - Pages: 10

Free Essay

Autosomal Disorder

...|Discussion Board |Percentage of |Letter Grade |Letter Grade |Letter Grade |Letter Grade |Letter Grade | |Assignment Points |points |A |B |C |D |F | |Total= 85 | |Point Spread |Point Spread |Point Spread |Point Spread |Point Spread | |Grammar, punctuation, |10% |Student has 0-2 mechanical errors and no spelling|Student has 2-4 mechanical and/or|Student has 4-6 mechanical and/or |Student has 6-8 mechanical and/or |Same as D | |spelling, mechanics | |errors. No run-on sentences or fragments. |spelling errors |spelling errors, such as a run-on |spelling errors. Appears to lack |0-5 | |        | |Student does not write in the second person. |8 |or fragment |proofreading. Run on sentences and| | |= 10% | |9 | |7 ...

Words: 770 - Pages: 4

Free Essay

Writing a Bibliography

...The citation goes first and is followed by the annotation. Make sure that you follow your faculty’s preferred citation style. The summary needs to be concise (please note the following example is entirely fictitious). In the sample annotation below, each element is numbered (see Key). (1) Trevor, C.O., Lansford, B. and Black, J.W., 2004, ‘Employee turnover and job performance: monitoring the influences of salary growth and promotion’, Journal of Armchair Psychology, vol 113, no.1, pp. 56-64. (2) In this article Trevor et al. review the influences of pay and job opportunities in respect to job performance, turnover rates and employee motivation.(3) The authors use data gained through organisational surveys of blue-chip companies in Vancouver, Canada to try to identify the main causes of employee turnover and whether it is linked to salary growth.(4) Their research focuses on assessing a range of pay structures such as pay for performance and organisational reward schemes.(5) The article is useful to my research topic, as Trevor et al. suggest that there are numerous reasons for employee turnover and variances in employee motivation and performance.(6) The main limitation of the article is that the survey sample was restricted to mid-level management,(7) thus the authors indicate that further, more extensive, research needs to be undertaken to develop a more in-depth understanding of employee turnover and job performance.(8) This article will not form the basis of my research;...

Words: 300 - Pages: 2

Free Essay

Effect of Marine Pollution

...CITATION The Meaning of Citation Citation is a way writer tells his readers that certain materials in his work comes from another source, it is also a quotation from or reference to a book, paper, or author, especially in a scholarly manner, It is an abbreviated alphanumeric (combination of both numbers and letters) e.g (Newell84). It gives the readers information necessary to find that source again. This information includes: 1. Information about the author. 2. The title of the book. 3. The name and location of the company that published the copy of your source. 4. The date the copy was published. 5. The page numbers of the material you are borrowing. Importance Of Citation 1. To uphold intellectual honesty and avoid plagiarism or piracy. 2. To attribute prior on unoriginal work and ideas to correct sources, to allow the readers to determine independently whether the referred material supports the argument in the claimed way and to help the readers gauge the strength and validity of the materials the author has used. 3. Allows readers to locate and further explore the source you consulted, show the depth and scope of your research and give credit to authors for their research. Types of Citation and Their Parts 1. Book citation Author Date of publication Title Place of publication Publisher 2. Popular magazine article citation Author Title of article Date Magazine title Volume number Page 3. Scholarly...

Words: 639 - Pages: 3

Free Essay

Mla Style for Essay

...work is cited, should be given in parentheses before the page nnumber. The items in parentheses should be divided by a comma. For example: 1. Joseph Gibaldi points out,“Nearly all research builds on previous research. Researchers commonly begin a project by studying past work in the area and deriving relevant informaton and ideas from their predecessors. This processs is largely responsible for the continual expansion of human knowledge”(Handbook, 114). 2. What is plagiarism? Simply speaking, “Using another person’s ideas or expressions in your writing without acknowledging the source constitues plagiarism”(Gibaldi, Manual, 151). Works Cited Gibaldi, Joseph. MLA Style Manual and Guide to Scholarly Publishing. 2nd...

Words: 2000 - Pages: 8

Free Essay

Attracted to Hot Daugther

...Complete all assessment tasks below in a Microsoft Office compatible document or a PDF. • If you need to provide supporting documentation please ensure it is in Microsoft Office or Office compatible document such as PDF. • It is recommended that you include your name on each page of all documents you submit. For more information on assessment procedures, appeals and recognition of prior learning please refer to the student handbook. Task 1 If you are in a workplace, locate your company style guide and document storage policy. If you are not in a workplace (or your workplace does not have a style guide or document storage policy) use the XYZ Company style guide and the XYZ Company document storage policy. (The XYZ Company style guide and document storage policy can be downloaded from the screen where you accessed this assessment.) Imagine you have to create a text from notes. a) Referring to your style guide, list two (2) requirements you would need to consider with regards the presentation of the text that you will produce from your notes. b) Referring to the document storage policy,...

Words: 1235 - Pages: 5

Premium Essay

Educational Leadership

...Resource 1: EDA 575 Educational Leadership in a Changing World Benchmark Assessment and Rubric Targeted Essential Learning Students will examine the fundamental concepts of organizational theories and leadership models on a macro level as they relate to educational enterprises in their quest for school improvement. (ISLLC 2008: 1, 3) Assessment Tool Selected * Essay Specific Performance/Task(s) Create plans to achieve defined organizational goals. (ISLLC 2008: 1C; ELCC 1.1, 1.2) Establish effective management of the organization to support the learning environment. (ISLLC 2008: 3A; ELCC 3.3) Relevancy of Task to Principal Candidate An effective leader must understand the fundamental concepts of organizational theories and leadership at a macro level, as well as the complexity of being a school leader with a vision for systematic change and practical skills that work to ensure smooth day-to-day operations of a school. Assessment: Student Prompts/Directions 1) Individual: The Big Picture: A Strategic Plan (Benchmark Assessment) a) School Profile i) In Module 3 and using the institution you with which you are associated, you wrote a school profile (1000–1250 words). The school profile’s major goal is to describe the school and its programs with the intent to improve the institution through informed decision making. Issues to consider when developing the school profile included: (1) Philosophy, mission, and vision. ...

Words: 1273 - Pages: 6

Premium Essay

Course Syllabus Com172

...Maevers - Course Syllabus COM/172 r4 1 Course Syllabus College of Humanities and Sciences Copyright © 2013, 2011, 2009 by University of Phoenix. All rights reserved. COM/172 r4 Elements of University Composition and Communication 2 Course Start Date: February 1, 2014 Course End Date: March 1, 2014 Campus/Learning Center: San Diego Campus – Palm Desert Learning Center Facilitator Information Kevin L. Maevers, MA, MBA klmaevers@email.phoenix.edu (University of Phoenix) or kevin@kozma-maevers.org (Personal) 760-799-7790 (Mobile) or 760-296-1625 (Home Office) - Pacific Daylight Time Skype: kevin.maevers (please make an appointment for a Skype conversation) I also stay connected with students through social media. You can find me on: LinkedIn (www.linkedin.com/in/kevinmaevers); Twitter (http://twitter.com/KevinMaevers); Facebook (https://www.facebook.com/kevin.maevers); and Google+ (http://google.com/+KevinLMaevers); In addition, if you like any of the videos that I use in class, you can find them on my YouTube channel at http://www.youtube.com/user/klmaevers. Enjoy! Course Description This course builds upon the foundations established in COM/170. It addresses the various rhetorical modes necessary for effective college essays: narration, illustration, description, process analysis, classification, definition, comparison and contrast, cause and effect, and argumentation. In addition, requirements for research essays, including the use of outside sources and appropriate...

Words: 5349 - Pages: 22

Free Essay

Macbeth

...Study Guides and Lesson PlansStudy smarter. Welcome, Guest!Set Background  Blackboard Green Chalkboard Desk Sign In Join eNotes . HOMEWORK HELPSTUDY GUIDESLESSON PLANSQUIZZESeBOOKS & DOCUMENTSETEXTSSHAKESPEAREMATH HELPSCIENCE HELPSUBJECTS subjects LITERATUREHISTORYSCIENCEMATHARTSBUSINESSSOCIAL SCIENCESLAW AND POLITICSHEALTHBLOGJOIN eNOTESeNOTES PEOPLE Homework Help Better Students Ask More Questions. In Macbeth, how does the sergeant characterize Macbeth in Act I? What images does he... user profile pic hyun980106 Student Undergraduate -------------------------------------------------------------------------------- eNotes Newbie Up1 DownTopic: Macbeth In Macbeth, how does the sergeant characterize Macbeth in Act I? What images does he associate with Macbeth? Posted by hyun980106 on March 5, 2009 at 9:55 AM via web and tagged with act i, literature, macbeth, sergeants description, the tragedy of macbeth 1 Answer | add yours user profile pic mshurn -------------------------------------------------------------------------------- College Teacher -------------------------------------------------------------------------------- (Level 1) Educator Emeritus Up2 DownFrom the sergeant's description of Macbeth in battle, we can conclude that Macbeth is a strong and valiant soldier who does not retreat, despite the odds against him. Macbeth fights furiously in defense of his King and country, his sword...

Words: 448 - Pages: 2

Free Essay

School

...ANALYZING AND SYTHESIZING IDEAS The English Department description: The ENC 1101 capstone project focuses on analyzing and synthesizing ideas from at least two complex texts. At the end of the unit, students should * Interact with a group of texts, explore alternative perspectives, and present a new perspective of their own; * Summarize multiple complex texts indicating understanding of the authors’ arguments and rhetorical strategies; * Develop a focused thesis that indicates their analysis and synthesis of assigned readings to arrive at their own perspective; * Use textual evidence effectively to support claims; * Cite sources appropriately using MLA or other assigned style manual; * Use syntax, punctuation, and spelling effectively in service of rhetorical purpose. Assignment: Your final essay will loosely based on the structure of a ‘literature review.’ As such, it will be either a closed-form, thesis-based structure or a thesis-seeking structure. You will choose one of the following topics and at least two of the assigned articles and create a synthesis essay based on them. Your paper should do the following: 1) introduce your research question and thesis (the answer to your research question and the argument you are defending), 2) summarize the articles from the authors’ perspectives, 3) compare and contrast the themes of the articles according to your research question, and 4) analyze the articles from your perspective and come to a conclusion...

Words: 771 - Pages: 4