Answered step by step
Verified Expert Solution
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,
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
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started