Hi everyone on Statalist,
I am working on a project and have run into a few obstacles.
The purpose of my project is to conduct a regression analysis, with the stock price of a company as a dependent variable. For independent variables, I have used Oil Price, Google Trends activity, average temperature deviation in the country where the company is from and USD/NOK exchange rate. These variables are all daily variables, and I have only included dates where we have values on all the above-mentioned variables.
To verify my assumptions, I want to test for the CLRM assumptions. I tested for linearity by generating scatter plots with the different independent variables against the dependent variable, but the scatterplots do not show linearity. See a few examples of the scatterplots below.
What can I do about this? Should I transform the variables? Does the problem lie in the fact that my Y variable is stock price?
Array Array
Array Array
I am really lost and a beginner at regression analysis so please excuse me if this question is a little basic.
Thanks a lot in advance!
Related Posts with What to do when linearity assumption is violated?
Annualize monthly returnsDear Statalist users, I would like to annualize monthly returns on funds by using the following for…
lead (t+1) variablesDearest All I am confronting an issue I have a dataset which consists of 10574 observations panning…
Exporting a file with a list of variable names and variable labels.Hi all, I've been trying to export a file (Excel or anything) with two columns - first with a list o…
Generate random data with mean, std and rangeSo my professor is asking us to produce some data from a experimental paper to do power analysis. So…
Loop by group in a variable and selecting by conditional Hello, I must select the families "family" that meet the condition of having children. base example…
Subscribe to:
Post Comments (Atom)
0 Response to What to do when linearity assumption is violated?
Post a Comment