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?
Changing the color of kdensity line on top of histogramI ran the following code to draw kdensity line on top of histogram. But it gives me a green color an…
Margins interaction variables Beta regressionDear Statalisters, I am running a regression with proportions as dependent variable. In the beta re…
Age in Months to the exact day?Hi everyone, I'm looking to find the exact age of survey participants in months. Right now I'm subt…
Problem with calculating the cumulated frequencyHi, Using the code below, I am trying to calculate the cumulated frequency at age x and above it. Ho…
Dummy based on other dummy variable (PANEL DATA)Hi, Stata. I want to create the wanted dummy to equal 1 if scaledummy is equal 1 in 3 continuous ye…
Subscribe to:
Post Comments (Atom)
0 Response to What to do when linearity assumption is violated?
Post a Comment