# Linked Questions

0answers
266 views

### What is the difference between lm(log(y) ~ x) and glm(y ~ x, family = gaussian(link = “log”))? [duplicate]

Is all in the title. I would like to know if there is any difference in terms of coefficients, residuals, p-values, but also conceptually.
9answers
169k views

### What is the difference between linear regression on y with x and x with y?

The Pearson correlation coefficient of x and y is the same, whether you compute pearson(x, y) or pearson(y, x). This suggests that doing a linear regression of y given x or x given y should be the ...
10answers
35k views

### What is a complete list of the usual assumptions for linear regression?

What are the usual assumptions for linear regression? Do they include: a linear relationship between the independent and dependent variable independent errors normal distribution of errors ...
2answers
70k views

### Transforming variables for multiple regression in R

I am trying to perform a multiple regression in R. However, my dependent variable has the following plot: Here is a scatterplot matrix with all my variables (...
3answers
3k views

### What regression model is the most appropriate to use with count data?

I am trying to get a little into statistics, but I am stuck with something. My data are as follows: ...
1answer
189 views

### Obtaining an estimator for z given an estimator for log z

As per gung's advice in Getting the equation from R's lm when using a product, I am starting a new thread for this question. I have a model $\widehat{\log z} = a + bx + cy + dxy$ for random ...
1answer
119 views

### Notation: Is the model linear or loglinear? $E(\ln Y|X)=X\beta$

I'm given a model of the form $E(\ln Y|X)=X\beta$. Should I call it a linear model or loglinear model? I'm assuming $Y$ is log-normally distributed.
0answers
198 views

### What model to use if factors are assumed to have a multiplicative effect on the dependent variable?

In the general linear model we assume that different factors have an additive effect on the measured numerical target. For example, in the model we can see that being a male adds, on average, 20 kg to ...
1answer
143 views

### Calculating R-Squared with logged data

I have created an example in R to illustrate the problem: ...
1answer
82 views

### What type of test should i perform for my data?

I have a data frame with two columns. One for height and one for genotype. Genotype is a categorical variable consisting of 4 levels (B3, ein9, ein194, ein9xein194) and height is a numerical ...
1answer
53 views

### Help needed to Interpret ln(y) = a +b (Standardized X)

I am analysing server data and I have a scenario where I need to get the % by which Y is changed because of a unit change in X: EDIT: I am doing a Linear Regression in Python (and its other forms ...