subject

Please answer the following questions which are based on the dataset (Cars). You can only use Stata class materials or online sources. 1. What percent of sampled cars were foreign in 1978?
a. Syntax:
2. What is the mean weight of cars in 1978?
a. Syntax:
3. Compute the average prices for mpg greater than 20
a. Syntax:
4. Create a histogram for the variable mpg.
a. Syntax:
5. What are the four most expensive cars in 1978?
a. sort Syntax:
b. list Syntax:
6. Perform a regression to determine if a car’s mpg helps determine its price.
Produce an appropriate scatter plot.
a. regress Syntax:
b. scatter Syntax:
7. What happens if we add weight as an independent variable to our analysis?
a. Syntax:
8. Create a new variable efficiency that groups different levels of mpg efficiency. Assume the following: a car that gets less than 15 mpg is “inefficient”, between 15 and 30 mpg is “moderately efficient”, and above 30 mpg is “efficient”.
How many are considered “efficient”?
a. recode, gen() Syntax:
b. label variable Syntax:
c. tabulate Syntax:

just need Syntax not in prgram
just the code by STATA language

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:50
What is the difference between windows 7 and windows 10?
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Intellectual property rights are exclusive rights that protect both the created and the creation. ipr offers exclusively what benefits to the person or people covered by it
Answers: 3
question
Computers and Technology, 24.06.2019 16:00
Which of the following characters is acceptable to use in a filename? ? / – %
Answers: 1
You know the right answer?
Please answer the following questions which are based on the dataset (Cars). You can only use Stata...
Questions
question
Mathematics, 30.01.2021 01:00
question
History, 30.01.2021 01:00
question
Mathematics, 30.01.2021 01:00
question
Mathematics, 30.01.2021 01:00
Questions on the website: 13722361