Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Use the table in State to solve the question of the class. The due date of the problem set is 9/22/2021. For STATA questions, submit

Use the table in State to solve the question

image text in transcribed
of the class. The due date of the problem set is 9/22/2021. For STATA questions, submit the codes and prints of the screenshots of the results window. 1. [STATA] The table given below shows the relationship between cigarettes consumed and lung cancer. Observation # Country Cigarettes consumed Lung cancer deaths per per capita in 1930 (X) million people in 1950 (Y 1 Switzerland 530 250 2 Finland 1115 350 3 Great Britain 1145 465 4 Canada 510 150 Denmark 380 165 - Calculate the below statistics using STATA. B1, the OLS estimated slope coefficient from the regression Yi = Bo + BIX; + ui Bo, the OLS estimated intercept term from the same regression 1, 1=1,...,n, the predicted values for each country from the regression un, the OLS residual for each country - Using "graph twoway" command in STATA, graph the scatterplot of the five data points and the regression line. Interpret sample slope and sample intercept. STATA HINTS: First load STATA and type "edit," which brings up something that looks like a spreadsheet. Enter the smoking and cancer values in the first two columns. Double- click the column headers to enter variable names (e.g. "smoke", "death"). Close the editor window when you are done. The following commands will be useful: list: lists the data (to be sure you typed it in correctly) regress: estimates regression by OLS predict: compute OLS predicted values and residuals twoway scatter: plot the twoway scatter graph

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

Dynamic Business Law

Authors: Nancy Kubasek, M. Neil Browne, Daniel Herron, Lucien Dhooge, Linda Barkacs

6th Edition

1260733971, 978-1260733976

Students also viewed these Economics questions

Question

Describe four common misunderstandings of Gestalt psychology.

Answered: 1 week ago