What is the formal charge of the oxygen atom in the Lewis structure for cyanate shown below?
What is the formal charge on the carbon atom in CO?
What is the formal charge on the carbon atom in CO?
A light emitting diode (L.E.D.) emits photons with an energy…
A light emitting diode (L.E.D.) emits photons with an energy of J. What is the energy per mole of photons emitted?
If a cordless phone operates at a frequency of 9.00 × 108 s–…
If a cordless phone operates at a frequency of 9.00 × 108 s–1, what is the wavelength of this radiation?
In the Lewis formula for sulfur dioxide, SO2, the number of…
In the Lewis formula for sulfur dioxide, SO2, the number of lone pairs of electrons around the sulfur atom is
Which of the following molecules or ions are isoelectronic:…
Which of the following molecules or ions are isoelectronic: SO3, NF3, NO3–, CO32–?
Which of the following ranks the regions of the electromagne…
Which of the following ranks the regions of the electromagnetic spectrum from shortest to longest wavelength.
The energy associated with a stretched spring is called ____…
The energy associated with a stretched spring is called _____.
The R Markdown and Jupyter Notebook files include the questi…
The R Markdown and Jupyter Notebook files include the questions, the empty code chunk sections for your code, and the text blocks for your responses. Answer the questions below by completing either the R Markdown or the Jupyter Notebook file. You will submit a html file using either the R Markdown or the Jupyter Notebook file. You may make slight adjustments to get the file to knit/convert but otherwise keep the formatting the same. Once you’ve finished answering the questions, submit your responses in a single knitted file (just like the homework data analysis assessments). There are three Data Analysis questions for this section. You will only submit your responses for the Data Analysis questions in the knitted file. Partial credit may be given depending on your response. Next Steps: Save the .Rmd file/Jupyter Notebook in your R working directory – the same directory where you will download the data file for this midterm exam. Having both files in the same directory will help in reading the .csv file. Read the question and create the R code necessary within the code chunk section immediately below each question. Knitting this file will generate the output and insert it into the section below the code chunk. Type your answer to the questions in RMD file/Jupyter Notebook within each question section. Once you’ve finished answering all questions, knit this file and submit the knitted file as HTML on Canvas. Ready? Let’s begin. We wish you the best of luck! Data Set (Click the link to open in new window/tab) cpi.csv gdp.csv interest rate.csv unemployment rate.csv R Markdown Starter Template Midterm 2 Fall 2024 Template.Rmd Jupyter Notebook Starter Template Midterm 2 Fall 2024Template-1.ipynb
Part I: ARIMA and GARCH Modelling 1a. Plot the time series…
Part I: ARIMA and GARCH Modelling 1a. Plot the time series and the ACF for all variables and their differenced data (4 plots total for each time series) and comment on their stationarity properties and how it would affect the use of the VAR model. 1b. Divide the data in training and testing sets, using the period January 1980 to October 2022 to train and the last 4 observations for testing, i.e. January 2023 to October 2023. Using the Interest Rate differenced data, apply the iterative BIC selection process to find the best, *non-trivial* ARIMA-GARCH model order using the ARIMA max orders given by pmax = 5, qmax = 5, d order of max =0 (you are already using differenced data), and max orders given by m=2, n=2 for the GARCH model. Explain how the selected model captures features of the time series. 1c. Evaluate the Box-Ljung test results and the ACF on the residuals and squared residuals from the model you chose in Question 1b. Comment on your results. 1d. Apply the selected model in (1b) and obtain the rolling forecasts for the 4 months of data for 2023. Visualize the predictions versus the observed data and derive the MAPE and PM for each time series. What can you say about the accuracy of the predictions over the two year period? Note: If your model uses the differenced data, you will have to get the predictions for the actual time series data from your forecast outcome. Part II: Multivariate Modeling 2a. Fit a VAR(p) model for p up to an order equal to 8 using the training data. Use the BIC as the order selection criterion. Display the model summary of the selected VAR model. What is the selected order? Is the fitted model stable? Comment on the model results in terms of the significance (at 95% of confidence) of the estimated coefficients and interpret it. 2b. Using the model in Question 2a, evaluate the model’s assumptions to ensure its validity, i.e. serial correlation, heteroscedasticity and normality of the residuals. 2c. For the equation that corresponds to Interest Rate, comment on any potential relationships with the other variables. Use a significance level of