Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2.8 Exercises 69 2. Consider the example of section 2.3 except with the variables reordered. Specif- ically, the variables are in the order age, name,

image text in transcribed
2.8 Exercises 69 2. Consider the example of section 2.3 except with the variables reordered. Specif- ically, the variables are in the order age, name, income, and female. The three observations are 29 "Barry" 40.990 0; 30 "Carrie" 37.000 1; and 31 "Gary" 48.000 0. Use input to read these data, along with names, into Stata and list the results. Use a text editor to create a comma-separated values file that includes variable names in the first line, read this file into Stata by using insheet, and list the results. Then drop the first line in the text file, read in the data by using insheet with variable names assigned, and list the results. Finally, replace the commas in the text file with blanks, read the data in by using infix, and list the results

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

Students also viewed these Economics questions

Question

We are interviewing quite a few people, why should we hire you?

Answered: 1 week ago