Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
Anu's user avatar
  • 75
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 ...
Cam_stats's user avatar
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.
Daniella's user avatar
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 ...
LKho's user avatar
  • 83
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 ...
Ela's user avatar
  • 13
2 votes
1 answer
496 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 ...
cpc's user avatar
  • 51
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 ...
cpc's user avatar
  • 51
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 ...
sethparker's user avatar
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 ...
MasterBlasterCoder's user avatar
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: (...
C_Marie's user avatar
  • 39
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: ...
danielarodriguez's user avatar
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 ...
andrewH's user avatar
  • 3,247
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 ...
8armed's user avatar
  • 111
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 ...
Jenny's user avatar
  • 261
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) ...
gimi's user avatar
  • 155
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 ...
Sergio Madrigal Mora's user avatar
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 ...
Madhav Singh's user avatar
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 ...
MichaelHock1's user avatar
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 ...
Jam.Wil's user avatar
  • 77
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 ...
The_Anomaly's user avatar
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 ...
Kubra Alami's user avatar
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 ...
Zebra's user avatar
  • 13
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 ...
Paze's user avatar
  • 2,331
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 ...
Paze's user avatar
  • 2,331
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 ...
mindhabits's user avatar
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, ...
Katherine Emerson's user avatar
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 ...
hemera's user avatar
  • 41
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. ...
field101's user avatar
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 ...
ginko's user avatar
  • 129
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 ...
ginko's user avatar
  • 129
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 ...
Arthur 's user avatar
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 =...
aliigleed's user avatar
  • 165
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 ...
PreeJackie's user avatar
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 ...
Nizar's user avatar
  • 867
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 ...
karaca's user avatar
  • 71
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 ...
user4943236's user avatar
1 vote
0 answers
204 views

What is a fair way to visualize separate effects of multiple continuous predictors in a mixed-effects model?

I have a fitted mixed-effects model with a continuous dependent variable and multiple predictors that each vary by multiple random factors. In R, a simplified version of the model has the following ...
Dan K.'s user avatar
  • 11
0 votes
0 answers
26 views

How to draw the bounds of a model around the 1:1 line

I have a regression model and I want to plot the measured values versus the predicted values. I have seen that in many papers researchers superimpose a 1:1 line with a ±𝛔 bounds of the model shown. ...
user160189's user avatar
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 ...
RNB's user avatar
  • 626
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: ...
Simon's user avatar
  • 2,361
6 votes
1 answer
2k views

Plotting (multilevel) multiple regression [closed]

Lets say I have some data like this: ...
Simon's user avatar
  • 2,361
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 ...
mistersunnyd's user avatar
4 votes
1 answer
1k views

Low slope in Added variable plots indicative of what?

I have 8 predictors and for 4 of them, the AV plots have a slope close to 0. Is that enough information for me to leave out these predictors in my model?
mistersunnyd's user avatar
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$ = ...
space_voyager's user avatar
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. ...
BINewbies's user avatar
5 votes
2 answers
2k views

What would cause a residual plot to be entirely above 0?

What would cause a regression model to always under predict? For over a year now an associate of mine has been producing a linear model for a client which predicts trends with reasonable accuracy but ...
sten's user avatar
  • 225
1 vote
0 answers
168 views

How to check interaction effect at various values of the compounding variables?

Suppose an interaction between $x_1$ and $x_2$ so that $\hat{y}=\beta_0 + \beta_1x_1 + \beta_2x_2 -\beta_3x_1x_2$. The interaction coefficient is an estimation of the effect at the mean values of the ...
Pukalu's user avatar
  • 45
1 vote
0 answers
734 views

Lift Charts in Multiple Linear Regression

When lift charts are generated in a Multiple Linear Regression model, for example, in predicting a continuous variable such as price of a car, how can they be explained in evaluating the performance ...
user3203370's user avatar
2 votes
0 answers
1k views

Use of Excluded Variables Table on Multiple Regression

I'm currently running a multiple regression analysis as part of my first year PhD study, trying to predict Theory of Mind through 2 variables of interest while controlling for socio-demographic data. ...
JASepulveda's user avatar
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 ...
Joël Derks's user avatar