# Questions tagged [linear]

For statistical topics which involve the assumption of linearity, for example, linear regression or linear mixed models, or for the discussion of linear algebra as applied to statistics.

1,291 questions
Filter by
Sorted by
Tagged with
11 views

### Would the Mantel-Haenszel test for linear trend be appropriate for this data/hypothesis?

I am testing whether or not there is an association between the parents education level and the pupils grades in the oral exam in social studies in the last year of danish primary school from the ...
31 views

### Why is total variation $\sum_{i=1}^{n}\left(Y_{i}-\bar{Y}\right)^{2}=\sum_{i=1}^{n} y_{i}^{2}$? [closed]

I've been interested in Econometrics and the book I use is Econometrics by Badi H. Baltagi, 5th edition. I tried to answer some of the problems. However, one problem from chapter 3 no. 2 got me ...
43 views

### What does it mean if my confidence interval includes zero with a significant p value in linear regression analysis?

I performed linear regression analysis to assess the associations between continuous variables. I found a significant p-value but my confidence interval includes zero. What does it mean? Here are the ...
• 51
35 views

### Gauss-Markov with $p>n$

Let $p$ be the number of parameters in a linear regression model, let $n$ be the number of observations, and let $p>n$. $$\mathbb E[Y\vert X] = \beta_0 +\beta_1X_1 +...+\beta_pX_p$$ Does the Gauss-...
• 30.9k
39 views

### Multiple linear regression: Do all independent variables need to have good adjusted R-squared independently?

I'm very sorry if this should be obvious, I'm just feeling a little lost with this assignment.. I have four independent variables X1,X2,X3,X4 plus a constant, modelled against Y. I know X4 to be ...
1 vote
22 views

### How to compare the goodness of fit between linear and logit? Why linear deviance is less than logit?

How can I evaluate which model - between linear and logit - determine the best fit to the data? The models use the same input variables and I thought that comparing the deviances was the proper choice ...
• 11
8 views

### Biased, linear MMSE estimator from biased measurement data?

I am trying to find out if what I am looking at is a known problem. I am considering the case of weighted least squares, and I am trying to find the optimal weights of biased measurements. I have ...
• 101
1 vote
19 views

### Question about confidence interval and standard errors on graphs

So I made a graph in R, it’s a linear regression of the same sample at different concentrations. It has a confidence interval built into it of 95%. Then I had to determine the concentration of an ...
• 11
20 views

### which model should be used for calculate the residuals of DV in twin data

I want to use the residuals of the dependent variables as new variables for analyses. these variables are continuous mammographic density measures from twin data. so which model should I use for ...
• 101
1 vote
46 views

### Linear Regression with Lasso Regularization by using scikitlearn and scipy.optimize

i am trying to apply lasso linear regression with both scikitlearn and scipy.optimize min method. However, i cannot reach same result. Code that i created with scipy.optimize can't shrink redundant ...
• 13
1 vote
16 views

### Comparing Activities with regression

I am trying to find out what is the effect of activities(like jumping, weight lifting etc.) on behavior (such as attitude towards participating in a marathon). (sample size of 60 observations for each ...
• 11
1 vote
19 views