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 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
question
Computers and Technology, 24.06.2019 00:30
Setting up a home network using wireless connections is creating a a. vpn b. lan c. wan d. mini-internet
Answers: 2
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, 26.09.2021 20:00
question
Mathematics, 26.09.2021 20:00
question
Mathematics, 26.09.2021 20:00
question
English, 26.09.2021 20:00
question
Chemistry, 26.09.2021 20:00