Linked Questions

0 votes
0 answers
82 views

The Sums of squares in 3 way Anova in R output has changed as the order of the variables in the modes changes [duplicate]

I am trying to fit a 3 way ANOVA using R. Then i realized the sums of squares of the output has changed when the order of the variables in the model are changed.Can anyone figure out the reason for ...
Sam88's user avatar
  • 348
180 votes
10 answers
221k views

When is it ok to remove the intercept in a linear regression model?

I am running linear regression models and wondering what the conditions are for removing the intercept term. In comparing results from two different regressions where one has the intercept and the ...
analyticsPierce's user avatar
70 votes
2 answers
58k views

How to interpret type I, type II, and type III ANOVA and MANOVA?

My primary question is how to interpret the output (coefficients, F, P) when conducting a Type I (sequential) ANOVA? My specific research problem is a bit more complex, so I will break my example ...
djhocking's user avatar
  • 1,901
10 votes
1 answer
5k views

Why do p-values change in significance when changing the order of covariates in the aov model?

I have a data set of 482 observations. data=Populationfull Im going to do a genotype association analysis for 3 SNPs. Im trying to build a model for my analysis ...
Rbeginner's user avatar
  • 105
9 votes
1 answer
3k views

The effect of the number of samples in different cells on the results of ANOVA

I have written a 3-way ANOVA in C++. I have 3 factors, lets say A, B and C and my aim is to check the strength of all possible interactions and main effects. The result of my code is the same as in ...
Pegah's user avatar
  • 427
1 vote
2 answers
7k views

Can I calculate adjusted means from ANCOVA if data is unbalanced?

I have a 10k lines dataframes on which I want to perform ANCOVA so I can get adjusted means. Please note that I've never done this before so I jump from a tutorial to another, but I still want to ...
Dan Chaltiel's user avatar
  • 1,420
6 votes
1 answer
1k views

Why are all regression predictors in a balanced factorial ANOVA orthogonal?

In a balanced factorial ANOVA, when it is understood as a linear model, all categorical predictors (all main effects and all interactions of all orders) are mutually orthogonal, which leads to many ...
amoeba's user avatar
  • 103k
3 votes
1 answer
1k views

Order of Independent variables in regression

I've data df and i'm wondering why p-value change according the order of the independent variables product and ...
ranell's user avatar
  • 225
1 vote
1 answer
2k views

glmmTMB results in R summary() or Anova()?

I am wondering how to analyze differences between subspecies. I want to see if body mass differs between 3 subspecies of rodent and if sex and reproductive status are also different. We then want to ...
Kyle Finn's user avatar
0 votes
1 answer
944 views

R: Mixed ANOVA works with the aov{stats} function and fails with the anova_test{rstatix} function. Why?

I can implement a rather complicated mixed ANOVA in R with the aov{stats} or the lmer{lme4} functions, but not with the anova_test{rstatix} nor the Anova{car} functions. My question follows: How can I ...
Joe Wright's user avatar
1 vote
1 answer
524 views

Why OLS results differ from 2-way ANOVA of model?

I see examples here and here, where first OLS is performed and then the resulting model is subjected to anova_lm With crop_yield....
rnso's user avatar
  • 9,517
1 vote
2 answers
678 views

Why would the significance of coefficients change in a logistic regression after transforming a variable?

I have a logistic regression with three independent variables. The correlation coefficients between the three variables are: For two of the variables with correlation coef of 0.1, if you do a ...
confused's user avatar
  • 3,083
1 vote
1 answer
474 views

Interaction effect no significant in regression but significant in predicted values

I have a question regarding statistical significance in an OLS model with an interaction. Basically, when I plot the predicted values, the interaction is significant as shown in the Figure below but ...
giac's user avatar
  • 843
1 vote
1 answer
225 views

gls with ML not working so I can't find the best model

My question is close to this one which wasn't really answered: https://stackoverflow.com/questions/66571314/gls-with-arma-terms-not-working-for-one-combination-of-terms I am running models to ...
Agathe Toumoulin's user avatar
2 votes
1 answer
62 views

Why do I get a diffirent answer from book in this ANOVA question?

From Design and Analysis of Experiments, by Douglas C Montgomery, An example for ANOVA is given using the following data set, With a conclusion being But I am having a lot of trouble trying to do ...
Quality's user avatar
  • 658

15 30 50 per page