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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 07:30, Braxtonw875
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
image
Computers and Technology, 23.06.2019 12:30, umimgoingtofail
What is the difference between the internet and the world wide web?
Answers: 1
image
Computers and Technology, 24.06.2019 10:20, silviamgarcia
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
image
Computers and Technology, 25.06.2019 07:00, joey4843
What statement would cause polarization
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 in other subjects:

Konu
Mathematics, 17.07.2020 07:01
Konu
Geography, 17.07.2020 07:01
Konu
Mathematics, 17.07.2020 07:01
Konu
Mathematics, 17.07.2020 07:01