# Questions tagged [linearity]

The tag has no usage guidance.

76 questions
Filter by
Sorted by
Tagged with
7 views

### Test Linearity Assumption - Hayes PROCESS

Before running the Hayes PROCESS for my moderated mediation, I would like to ensure first, that the linearity assumption is fulfilled. However, at this point, I am not sure which variables need to be ...
42 views

### How to Check Linearity Assumption in Logistic Regression with a Large Dataset?

I am working with a very large dataset that essentially covers the entire population of interest. I want to assess the linearity assumption between an independent variable and the log(odds) of the ...
1 vote
30 views

### Upward trend in Residuals vs. Fitted - Violation of linearity?

I am currently working with longitudinal data using a linear mixed model (lme4 R package). The linearity plot (fit with ...
429 views

### Provide an intuitive example of the linearity of expectation

Can anyone explain the linearity of expectation in an intuitive way? I have been trying to understand this for far too long now. Please don't use any equations and such, try to use real world examples ...
23 views

### Challenges with achieving linearity in multiple linear regression analysis

What steps can I take to correct for linearity assumptions in a multiple linear regression analysis conducted in Python on a dataset with 79 independent features, including 22 continuous, 28 nominal, ...
1 vote
51 views

### How to interpret scatterplot to test linearity b/w covariate and DV?

I'm doing an ANCOVA on a fictitious dataset of math test results (DV) by group (n1 = 50 online training; n2 = 50 no training) with previous math ability as a (covariate) to see if there is a ...
12 views

### What to do with non-linear environmental correlates in NMDS variance analyses?

This is in response to @GavinSimpson's answer to NMDS and variance explained by vector fitting. From this post, Gavin shares the following: ...the vector fitting approach is inherently linear and we ...
213 views

### Continuous predictor variable has non-linear association with log odds of response

I'd like to know if a continuous predictor variable (sal) predicts a binary response (empty) in a logistic mixed effect model, but discovered there is a non-linear relationship between the predictor ...
14 views

### Test For Linearity, what happens when the sig value for Deviation From Linearity is 0.05? [duplicate]

I Log transformed a variable to make it more linear and ended up with a 0.05 in Deviation From Linearity. What does this mean? I know that >0.05 would indicate linearity but what about this case? ...
1 vote
355 views

### Testing the linearity assumptions for categorical predictors

Me and my friend are currently writing our final essay but we are having some problems with our analysis… We are doing an hierarchical multiple regression, and we has some categorical predictors (like ...
23 views

### Transforming (non-significant) covariates in stratified logistic regression

I am running several stratified logistic regression models. My three key predictors are all significant and linear (with the logit of the outcome). Four covariates (continuous) are mostly ...
1 vote
242 views

### Interpreting QQ plot

Can we say that the assumption for linearity is met? I'm confused because the tails are heavy, and deviations have a bow-shaped pattern. Still, I think that the linearity has met because the majority ...
1k views

### How to interpret Box-Tidwell p-values when sample size is large?

I have a dataset of 300 independent variables and 120,000 observations for which I will perform a binary logistic regression on my dependent variable. Because of the linearity assumption between the ...
34 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 ...
1 vote
126 views

### Monotonicity test for multivariable regression

I have dataframe as follow: ...
90 views

### Linear regression has good performance in validation set despite not meeting the linearity assumption

I have a dataset with about 8000 samples and 18 predictors (16 continuous, 2 categorical). I am trying fit a linear regression, but despite trying multiple transformations, I can't make it meet the ...
105 views

### Correlation = 1 with three random variables

Let $A, B, C$ be random variables with covariance $cov(A B) = 0$ and correlation $corr(B, C) = 1$. Is it true that $cov(A C) = 0$?
24 views

109 views

### linearity of a measurement device

I like to evaluate the linearity of a measurement system. In order to do so I read ISO 22514-7 as well as Breyfogle's "Implementing six sigma". However, the procedure is still unclear to me. So I'm ...
130 views

### Why is linearity (as in linearity in BLUE) a desirable property for OLS estimators?

By linearity, I do not mean the linearity of the estimators in the OLS regression equation, what I am trying to ask is why are the beta coefficients a linear function of y(i)'s. Why is linearity a ...
88 views

### Linearity assumption of logistic regression [duplicate]

Do I have to check linearity assumption of logistic regression (Log odds of outcome with continuous variable) using graph of predicted logodds (by logistic regression) and continuous variable Or ...
95 views

### Is there a way to differentiate between linear and non-linear datasets in simulations studies?

I'm trying to find a a measure of "linearity" among different simulated data sets and how I could control for such differences. This idea came from studying Hastie's and Tibshirani's work around ...
2k views

### Should one drop independent variables if they don't have linear relationship with the response variable?

I am building a linear regression model using Ridge regression. Some of the independent variables don't have linear relationships with the dependent variable. I've tried to do data transformations on ...
344 views

### Linear regression, linearity assumption violated?

Below i have attached a scatter plot showing my dependent variable on the Y-axis and my independent variable on the X-axis I am not sure if the linearity assumption is violated? Can anyone explain ...
291 views

### SEM 4 questions - testing linearity, sum score, number of variables, independent variables

For my master thesis I'm making a structural equation model. However, I do not have much experience with this. So here are some different questions. I read that one of the assumptions important for ...
386 views

### How to check the linearity of continuous variable in linear mixed model

I'm doing a linear mixed model using lme. In my adjustement factors, I have a continuous varaible (named X1). And I want to check the linearity of this variable using a spline function or a ...