Question

I'm trying to run a time series that proves a correlation between two surveys that each...

I'm trying to run a time series that proves a correlation between two surveys that each have 10 months of data. What would I use in R to try and prove correlation?

Homework Answers

Answer #1

You may draw the acf and pacf plots of the time series data. For that use the command acf(model name) and pacf(model name) respectively. You get the generated plots with several vertical lines and two blue colored horizontal lines. If all the vertical lines lie in between the two blue horizontal lines, it indicate that the data does not have auto correlation. If the vertical lines lie beyond the two blue horizontal lines, it shows that the data exhibits serial correlation.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
If im trying to determine correlation between two variables, BMI & ethnicity what kind of stastical...
If im trying to determine correlation between two variables, BMI & ethnicity what kind of stastical test should i run? Race is a independent categorical , and nominal. BMI is dependent is quantitive and continuous Hypothesis: In a systematic review researchers found a higher prevalence among racial minorities compared to white/Anglos or any other race. In conclusion, it is hypothesized that participants which are Latinos will show a positive correlation of increase BMI compared to other ethnic groups.
I am trying to prove that (sn) is a Cauchy sequence where |sn+1-sn| < 2-n. So...
I am trying to prove that (sn) is a Cauchy sequence where |sn+1-sn| < 2-n. So far, I have figured out that |sm-sn| <= 1/2m+1 + 1/2m+2 + ... + 1/2n. I want to try to not use the geometric series condition. My professor hinted that the right hand side is less than 2/2n but I'm not sure how to find that or how to go from here!
Hello! So I'm doing an experiment for an upper division bio class and trying to figure...
Hello! So I'm doing an experiment for an upper division bio class and trying to figure out which statistical test (done in R) would be best for analyzing the kind of data I have. My experiment was tracking the behavior of hummingbirds to see if UV properties attract them to certain flowers. I carried it out using a UV light source attached to one feeder and no light attached to a second (only these two groups). The number of hummingbirds...
I am trying to put together a research determining the relationship between age and exercise time...
I am trying to put together a research determining the relationship between age and exercise time and if there is a significant difference in gender and exercise times. I would like to determine the dependent variable normality using SPSS. Gender is always independent, but when I'm trying to assess the normality for the age and exercise times. Exercise will always be dependent, but will in this case is age also dependent or independent? How would I determine this on SPSS?
I am using forecast package for time series analysis. I have a dataset with hourly data...
I am using forecast package for time series analysis. I have a dataset with hourly data from oct 3 2016 to oct 23 2016. I used the following code to convert my data into a time series object. Dataset is about citibike stations I’m only using 6 stations I’m not sure if Im supposed to use my time column or include my time column. This is what i have so far. data.ts <- ts(CitiBike[,2:7], freq = 504, start = 2016)...
Suppose we have the correlation coefficient for the relationship between two variables, A and B. Determine...
Suppose we have the correlation coefficient for the relationship between two variables, A and B. Determine whether each of the following statement is true or false. (a) The variables A and B are categorical. (b) The correlation coefficient tells us whether A or B is the explanatory variable. (c) If the correlation coefficient is positive, then lower values of variable A tend to correspond to lower values of variable B. (d) If the correlation between A and B is r...
You wish to determine if there is a linear correlation between the two variables at a...
You wish to determine if there is a linear correlation between the two variables at a significance level of α=0.01. You have the following bivariate data set. x y 8.8 46.6 30.2 68.7 42.7 61.8 30.8 83.1 27.3 45.1 26.9 46.1 32 110.2 9.2 25.9 18.4 102.7 42 51.8 10.4 86.1 46.3 41.1 12.7 42.9 19.6 27.3 22.9 59.5 26.9 59.7 2.4 46.8 What is the critical value for this hypothesis test? rc.v. =   What is the correlation coefficient for...
1.If a time series exhibits a strong, linear upward trend, the value of the correlation coefficient,...
1.If a time series exhibits a strong, linear upward trend, the value of the correlation coefficient, r, is expected to be positive and close to -1. True or False 2.The value of the coefficient of determination R2 ranges between: A 0 and -1 B -1 and +1 C 0 and +1 D - infinity and + infinity E +1 and + infinity 3.The average time each customer spends in the queue is referred to as A W B Wq C...
Using the following 5 year data series, calculate the correlation between interest rates and US new...
Using the following 5 year data series, calculate the correlation between interest rates and US new home sales. Year Home sales (thousands) Interest rate (%) 1 605 9 2 554 9 3 524 4 4 605 4 5 508 10 the correct answer is : 0.196 Hint: Use the definition of correlation to calculate the result. Some useful intermediate values would be the means of the two variables, their covariance, and their standard deviations. Double check your results with spreadsheet...
I'm trying to figure out why my program has an infinite loop. I'm pretty sure it...
I'm trying to figure out why my program has an infinite loop. I'm pretty sure it has something to do with the catch(bad_alloc) function or maybe the while (true) loop above it but I'm not sure. Can you help me figure out why i have an infinite loop and help me fix it? Thanks ---------------------------------- main.cc ---------------------------- #include #include #include #include "numbers.h" using namespace std; int main() { Numbers N1, N2;       for(size_t i = 2; i < 16;...