Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. (20points) A. (1 point) Obtain the Trade Data of monthly export of grains from Statistics Canada' s Open Government. See also I n .
3. (20points) A. (1 point) Obtain the Trade Data of monthly export of grains from Statistics Canada' s Open Government. See also I n . ' . 2020/07/24ftrade-data-monthly-exports-of-grains- open-canadal. Clean and organize your data as you observe on the website provided. Make a scatter plot of the year of export (year) against the total exports in tonnes (total) B. (3points) Remake the plot in part A but first subset the data so that you are only considering two commodities: \"Barley". "Oats". Make sure you color the points with the type of commodity. Include in your plot one single regression line for this subset of the dataset, add a second regression line for this subset of data, but make sure you force the line to have a zero intercept. C. (6points, 3points for each model ) Write down the mathematical formulae for the two regression models included in your plot in B and provide clearly how you will fit these two models in FL Make a 95% confidence interval for the slope and intercept for the first model Make a 95% confidence interval for the slope for the second model Finally put your answer into a complete sentence for each model. D. (5points each: 1 point hypotheses, Spoints appropriate number to do the problem mathematically by hand, 1 point conclusion) Test the hypothesis that total export of Barley and Oats are increasing by 5 tonnes. Test the hypothesis that when there is no fiscal year, there are no exports of Barley and Oats. STAT 3503 Regression Analysis 4. (16 points) Modify your data from part B by adding a dummy variable with Barley ==1 and Oats== A. (2points) Write down the appropriate regression model for this new dataset. State clearly the intercepts for commodities Barley and Oats. B. (2points) Make a 95% confidence interval for the intercept of Barley C. (2 points} Make a 95% confidence interval for the intercept of Oats D. (3p0ints: 1 point hypotheses, 1 point appropriate numbers to do the problem mathematical by hand, 1 point conclusion} Test the hypothesis that total export of Barley is greater than the total export for Oats. E.(7points) Consider the data for only Barley using your data in pan D. Make a 90% Confidence Interval for the mean observation for year 2019
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