Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Below is code to load in patients data, which is monthly data for 12 years of the number of patients seen at a dentist office.
Below is code to load in patients data, which is monthly data for 12 years of the number of patients seen at a dentist office. Suggest a MA model for this data. To fit a moving average model of order m the code is arima(patients,order=c(0,0,m)). In addition, provide and explain a forecast of the model using the plot() function to the fitted model.
patients <- as.ts(read.csv("https://sites.google.com/site/bsherwood/patients.csv",header=T)$patients)
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