All Questions
Tagged with data-visualization multiple-regression
70 questions
35
votes
2
answers
53k
views
What does an Added Variable Plot (Partial Regression Plot) explain in a multiple regression?
I have a model of Movies dataset and I used the regression:
...
4
votes
2
answers
405
views
Interpret Intercept Plot from Series of Quantile Regressions in R
Essentially, I am looking at a set of housing data from 2000-2017 and I am examining 'affordability' by year through quantile regression. The Y variable (affordability) is a ratio of what an ...
3
votes
2
answers
510
views
How to determine standard errors for treatment and control effects from multiple regression output?
Say I have some data, where a dependent variable, dv, is a function of some independent variable, iv, and a categorical ...
1
vote
1
answer
47
views
Interaction Plotting
How to draw an interaction diagram like the ones in the research articles. I am trying to plot an interaction diagram of a continuous predictor variable and a binary interaction variable on a ...
2
votes
1
answer
36
views
How to visualise the value of one predictor in a multiple linear regression
I'm looking for confirmation on whether the approach I have is statistically correct / straightforward, and if there might be any references supporting this line of thinking on how to visualise ...
2
votes
2
answers
1k
views
Researching non-linear correlations through scatterplot matrix
I am trying to understand the correlations among three explanatory variables of commercials and response variable sales through the scatterplot matrix. It seems like there are nonlinear relationships.
...
6
votes
1
answer
658
views
Partial regression plots vs scatter plots for checking linearity
In a multiple linear regression analysis, what is the most suitable plot for checking linearity? I have seen a number of examples that use scatterplots as a preliminary test to use a linear model. But,...
2
votes
1
answer
495
views
Visualization of a linear mixed effect models, with two continuous fixed effects and a random effect with random slope and intercept
I have more of a stats question regarding mixed models.
Here is an example of a mixed model:
salary ~ years_experience + (years_experience|department)
Salary is ...
3
votes
3
answers
2k
views
How can we visualize multiple regression with 3 or more continuous variables or with categorical variables
I'm trying to understand multiple regression visually.
So far I understand that when you have two continuous variables explaining y, this will take the shape of a plane (see the image).
What happens ...
0
votes
0
answers
105
views
Simple linear regression in multiple linear regression analysis
I am doing a multiple linear regression analysis project, and my instructor told me that I shouldn't be fitting the simple linear regressions at all. Does that mean scatter plots and added variable ...
5
votes
1
answer
84
views
Is it invalid to adjust my independent variable based on a regression model fit?
I have a dataset and I want to visualize the relationship between Outcome and Variable1, after adjustment for ...
1
vote
2
answers
318
views
Can we fit a regression model when the dependent variable is poorly correlated with the independent variables?
I have a requirement, I need to predict Y from 2 X_variables, I plotted two scattered plots ie Y vs X1, Y vs X2, As you can see the below pics, the plots are sparced. There is poor correlation between ...
0
votes
1
answer
41
views
summary of the model is good but the plot is not normally distributed
I am doing a linear regression and the summary for the model is good however the plot is not normally distributed, i wanted to know if the model is still valid.
6
votes
1
answer
2k
views
How to visualize models after multiple imputations by chained equations
I'm starting to prefer visualizations of my regression models as opposed to tabular output (OR's, beta-coefficients, 95%CIs). However, I struggle to find a good way to do this when I am undertaking ...
31
votes
4
answers
60k
views
How to describe or visualize a multiple linear regression model
I'm trying to fit a multiple linear regression model to my data with couple of input parameters, say 3.
\begin{align}
F(x) &= Ax_1 + Bx_2 + Cx_3 + d \tag{i} \\
&\text{or} \\
F(x) &= (A\...
0
votes
1
answer
68
views
How to graph multiple variables
I've been tasked with the challenge of creating ONE singular plot that entails a multitude of relevant given data.
There is one dependent variable vs three independent continuous variables, an ...
0
votes
0
answers
36
views
Is this relationship between variables linear?
I have four research questions and all of them has the same main "independent variable", as such the relationship between x and y1, y2, y3, y4. This is not a multivariate analysis, I am just ...
3
votes
3
answers
6k
views
Visualizing multivariate multiple regression of continuous data in R
I have created a multivariate multiple regression model with 3 dependent and 3 independent variables in R, and would like to generate meaningful visualizations. All variables are continuous. When ...
1
vote
0
answers
40
views
Confidence region of the predicted value in multiple regression that involves categorical predictors (plot)
I'm wondering how can I plot the confidence region of the predicted value in multiple regression that involves categorical predictors, using either R/Stata. I've read about predicting using the main ...
0
votes
1
answer
1k
views
Interpretation of logit versus independent variable plot for logistic regression
I plotted the log odds of my outcome variable against my predictor variables, hwt and ist. There is a hard vertical line in my hwt plot and a hard diagonal line in my ist plot. I have two questions: (...
58
votes
4
answers
127k
views
How to visualize a fitted multiple regression model?
I am currently writing a paper with several multiple regression analyses. While visualizing univariate linear regression is easy via scatter plots, I was wondering whether there is any good way to ...
4
votes
1
answer
332
views
Residual Plot vs Fitted, linearity and Heteroskedasticity
I am working on a linear Regression Model right now,
it has the following format:
...
3
votes
1
answer
27
views
Visualizing time series regression results in a causal framework
Suppose I have a set of independent variables that I believe to, collectively, cause the observed level and changes in the value of the dependent variable, and I have the results of a regression of ...
6
votes
2
answers
2k
views
Questions concerning visualizing model results with the R-package visreg
Following some discussions with colleagues, I'm seeking for clarification on how to visualize an ANCOVA with visreg, and what the visualization actually shows.
I would like to run the following ANCOVA ...
3
votes
1
answer
1k
views
Which plot to check for heteroscedasticity in a multiple regression model
I have a linear model like:
Reg.Model = lm(Y~X1+X2+X3, data=DF)
If I want to check for the presence of heteroscedasticity using a plot, should I plot the residuals ...
1
vote
0
answers
494
views
R: visualizing regression lines while controlling for covariates
I am working with R, where I have a linear regression model specified in the following way:
mod = lm (data = dat, test_score ~ age + comprehension_score + IQ_score)
...
0
votes
0
answers
39
views
GLM summary shows no significant difference for variable but difference can be seen in plot
I am doing a multiple regression to predict average sizes of fish between areas protected from fishing and areas open to fishing. The model also takes into account habitat parameters which are the ...
1
vote
1
answer
53
views
How Do I Create a Better Model?
Disclaimer: I am a senior undergraduate student of Political Science with little proficiency in Data Science; please help me understand better and forgive any ensuing statistical illiteracy!
TL;DR: I ...
5
votes
1
answer
8k
views
How to construct a scatterplot with regression line that adjusts for other covariates?
I am attempting to produce a scatterplot with a regression line whose intercept & slope are adjusted to account for another covariate in the model. (I understand that the data points don't change, ...
1
vote
0
answers
99
views
Can you tell whether the linearity assumption holds by inspecting these graphs?
The multiple regression model in R looks like this:
> Model <- lm(log(Y) ~ log(x1) + x2 + x3 + x4 + log(x1)*x2, data=df), where ...
7
votes
0
answers
166
views
Identifying non-linearities in relationship between variables
Logistic regression is often used to identify the effect of $x$ on a binary variable $y$ after adjusting for potential confounders $x_1,...,x_n$. In the medical literature, I will sometimes encounter ...
2
votes
1
answer
143
views
Do these graphs show that the regression assumptions are met?
Is there any concern regarding this plot, specifically that it meets the homoscedasticity assumption? May I continue with multiple linear regression? How can I fix this?
My research is on household ...
54
votes
3
answers
95k
views
Suppression effect in regression: definition and visual explanation/depiction
What is a suppressor variable in multiple regression and what might be the ways to display suppression effect visually (its mechanics or its evidence in results)? I'd like to invite everybody who has ...
1
vote
1
answer
708
views
How to visualize impact of independent variable on dependent variable?
I have set of independent variables ( X1 , X2 ) and a dependent variable (Y) . I am using Multi linear regression to study the impact of X on Y .
( Detail : I would like to show both the magnitude ...
3
votes
1
answer
2k
views
Prediction plot and confidence intervals problems. Is this the best way to plot the relationship here?
I'm trying to convey some findings in which a score from 1-10 seems to predict disease status (binary).
I predict yhat and plot yhat with a quadratic fit against my predictor (score).
It looks ...
2
votes
0
answers
3k
views
Standard partial regression plot vs. effect plot from 'effects' package
I'll use a modification of this example to ask my question about an apparent alternative way of presenting a partial regression plot, using the effects package.
...
5
votes
1
answer
2k
views
How can we visualize a multiple regression with >2 independent variables?
An easy way to visualize a multiple regression with 2 independent variables is by a plane, as a plane is defined by 3 points that do not lie within the same line.
So we have the Y-intercept, the X ...
4
votes
2
answers
4k
views
Can I analyze or model a conditional correlation?
In my research I'm looking at the correlation between self-harm and aggression (both continuous). Now, I also have some variables (e.g. depressive symptoms; also continuous) which I do believe ...
1
vote
1
answer
600
views
Can we use Correlation coeffiecients in non linear case
So I am having a data of several variables (one is a dependent variable and the others are independent variables). I am not sure if the relation between each of these independent variables and the ...
1
vote
0
answers
465
views
Partial Regression Plots and Effect Displays
I cannot grasp how to illustrate a multivariable general linear model. Suppose I have a multiple regression in which I predict blood pressure with age, sex, and %fat. Now, suppose I would like to ...
7
votes
1
answer
5k
views
Multiple regression avPlots vs termplot
What is the difference between an avplot and a termplot?
Let say I run the following model in R:
...
6
votes
1
answer
2k
views
Plotting (multilevel) multiple regression [closed]
Lets say I have some data like this:
...
2
votes
1
answer
230
views
If diagnostics for multiple linear regression are ok, are diagnostics of the component variables needed?
This is a follow-on question from here. I received two conflicting answers to the question posed in the title of this post. The diagnostics of the multiple regression looked okay (see link), but it ...
4
votes
2
answers
6k
views
Rules of thumb for partial residual (component + residual) plots as diagnostics for linearity?
Here are the standard R diagnostic plots of a multiple linear regression model that includes an autoregressive term at lag-1 (i.e. AR(1)). I have logged & z-scored my input data.
Ben Bolker says ...
1
vote
1
answer
57
views
Non-normality in the error term
The above graph is taken from a sample of 3796 observations. You're asked to run a regression of ed on dist which gives " ed = 13.96 - 0.07*dist "
Then he asks, which assumption of the CLNRM ...
1
vote
0
answers
28
views
Performing regression with 1-d response and a 2-d predictor?
I have a dataset I'm trying to figure out how to properly analyze. I'm exploring both how hours spent studying and timing of preparation correlate with test outcomes.
The model is as such: response =...
3
votes
1
answer
1k
views
Interpreting the residual plot [closed]
I'm new to Machine Learning, I have difficulty in interpreting this residual plot(multiple regression) to find out whether the error is random or not(following some pattern). Would you please share ...
1
vote
0
answers
586
views
How to report multivariate linear regression results
I want to evaluate association between two continuous variables. But in my data, there are confounding factors such as age, weight,... I think that simple correlation analysis is not correct for this ...
0
votes
0
answers
257
views
Interpreting Residual plots: Linear Regression [duplicate]
I created one simple regression model for predicting the amount of loan that needs to be given to a particular individual. I plotted the residual plots to understand the underlying assumptions in the ...
2
votes
1
answer
2k
views
Partial residual plot with interactions?
The NIST website's description of the partial residual plot says that it plots
$$
\text{Res}+\hat\beta_iX_i\text{ versus } X_i
$$
where
$\text{Res}$ = residuals from the full model
$\hat\beta_i$ = ...