Question
Use gretl and the State Smoking dataset to answer the questions below. Upload a Word or PDF document that contains your answers. Upload your gretl
Use gretl and the State Smoking dataset to answer the questions below. Upload a Word or PDF document that contains your answers. Upload your gretl script file in addition to your Word or PDF document. 1. Dataset: a) How many variables are in this dataset? b) How many observations are in this dataset? c) What are the elements/entities in this dataset? 2. Descriptive statistics: a) Calculate descriptive statistics for the variables "consumption" and "cig_price". b) What types of variables are "consumption" and "cig_price"? c) Provide a scatterplot between cigarette consumption and cigarette prices (do not include a fit line). Describe the relationship between the two variables shown in the scatterplot. d) Provide an estimated density plot for the variable "consumption". Is the variable skewed? If yes, in which direction? e) Calculate separate descriptive statistics for each region for the variables "consumption" and "cig_price". f) What type of variable is "region"? g) In which region is the average price of a pack of cigarettes the highest? In which region is per capita cigarette consumption the highest?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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