Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Comparing data at different locations over a time series

I have water quality data from sondes placed at different locations across a lake that collected every hour over the entirety of the summer. I want to know if there is a difference between the four ...
Sydney's user avatar
  • 1
1 vote
0 answers
43 views

Data correlation with effect of nominal variables [closed]

I have a dataset with 4 relevant column with the following information: the main independent variable (it is a nominal variable, it can take discrete values but hypothetically an infinite number of ...
Mattia Cosmix Romano's user avatar
2 votes
1 answer
54 views

Multiple Linear Regression/ANOVA Help in Excel

I am working on a linear regression model and keep getting zero as my coefficients and the NUM! error as my p-value. I was told to organize the data this way but was then told by someone else that I ...
Professional_Half's user avatar
0 votes
0 answers
23 views

Relationship between f test and t -test [duplicate]

I am working on a problem where I should derive the t test statistic from an f test given an ANOVA table (below). From my understanding, when we conduct an f-test we are using the variance to ...
Harry Lofi's user avatar
7 votes
2 answers
335 views

How can I test if lower values on my regression line come from a level of a grouping variable?

If I have continuous x and y variables I can fit a simple regression. But I want to know how can I test if the lower and upper values of my variables are associated with different groups as in the ...
adkane's user avatar
  • 1,031
1 vote
1 answer
50 views

Repeated measures ANOVA on proportion success or logistic multiple regression on total binary data?

I have 24 subjects. I have measured distance displaced between image frames at a framerate of 1Hz, so how far did the subject move in a 1sec interval? The continuous movement variable contains many ...
user409758's user avatar
0 votes
0 answers
20 views

anova_lm function for a single multiple linear regression model [duplicate]

When using anova_lm from statsmodels with a single multiple linear regression model, how are statistics for each predictor calculated ? E.g. ...
Dalibor's user avatar
0 votes
1 answer
39 views

ANOVA comparison different subsets of same data frame

I am trying to compare two model which are based either on the male or female gender in my data. There is the same number of people in every gender group. Why is the anova function not giving a p-...
Han's user avatar
  • 1
0 votes
0 answers
27 views

Statistics Question | Regression Analysis in R

I am trying to analyze a online food delivery usage for a company in COVID period. The data is time series data including 10 years. We have daily total amaount of order for food delivery (numbers). ...
UgurKan's user avatar
0 votes
1 answer
50 views

ANOVA is significant but also demonstrates non-inferiority

I have data that is looking at comparing a cheap (T) to expensive (V) ultrasound device with the hopes that the cheap is the same as expensive. There was 4 different examiners that used 4 different ...
Kate Atkinson's user avatar
7 votes
5 answers
385 views

Proper analysis for vernal pool study data

I am trying to analyze a dataset consisting of counts of amphibian egg masses (3 different species) in nine vernal pools over a four-year period (consecutive years, 2014 to 2017). During each count (...
Alex H's user avatar
  • 83
0 votes
1 answer
423 views

Inconsistent results of a 2-way anova from aov() and anova_test()

I have a dataset like this: ...
shenTTT's user avatar
0 votes
0 answers
148 views

Specifying type of error in 2-way repeated measures ANOVA in R

I have a dataset of animal traits with multiple variables that I believe a two way repeated measures anova would be appropriate to analyse the data. Each individual is treated on one side of the body, ...
shenTTT's user avatar
2 votes
1 answer
877 views

How do you find the sample size given R output that omits the degrees of freedom?

All I am given is the following information and asked to find the sample size. I just cannot see where to start. I am wondering if some of the info on the document got cut off because I have no idea <...
BathStackExchange's user avatar
0 votes
0 answers
253 views

Non normal independent and dependent variable - GLM

I use variables, independent as well as dependent, which are inherently not normaly distributed. Exept a few "extremist", nobody score very above the mean on these scale, which are validated ...
Tom Delage's user avatar
1 vote
1 answer
79 views

Why the significance of linear regression is different from anova

I am doing model selection and really confused about why the significance of the coefficient is different from ANOVA, which the coefficient is significant using the summary function, but when I put it ...
lily zhu's user avatar
0 votes
0 answers
52 views

Why do anova(lm( )) and summary(lm( )) yield different p-values for a factor with two levels? [duplicate]

Why do anova(lm( )) and summary(lm( )) (in R) yield different p-values for a factor f with ...
arb's user avatar
  • 21
0 votes
0 answers
192 views

ANOVA or regression: One categorical independent variable, one continuous independent variable and one dependent variable

I am conducting a study with the following design: Independent variable 1 (IV1): categorical variable with four levels Independent variable 2 (IV2): continuous variable - mean scores on 9 questions, ...
ag14's user avatar
  • 101
3 votes
1 answer
824 views

anova() does not display an F-value or p-value when comparing two models

I'm working with the "iris" dataset in R (version 4.0.3), and I'm trying to find the best model for predicting Sepal.Length. Over the course of my ...
Guest's user avatar
  • 33
0 votes
0 answers
317 views

How do we report a anova() of multiple model comparisons in R?

My question is pretty similar to this one, but I don't seem to get an F-statistic. Hi, I know that we would usually report an ANOVA result as ...
Larissa Cury's user avatar
3 votes
0 answers
162 views

Why Hotelling's $T^2$ is taught in the book but it is not used anywhere so far?

I have seen various multivariate statistics book covering Hotelling $T^2$ statistics. However, when reading medical journals and papers, it does not show up anywhere. Q1:Is this test of any practical ...
user45765's user avatar
  • 1,465
2 votes
1 answer
173 views

Statistical test to a large dataset

I have a big dataset with different kinds of human interventions in natural freshwater environments (categorical variable, one column) and the responses as control/ with intervention. It is a reunion ...
Patricia Nunes's user avatar
0 votes
0 answers
29 views

How to choose between one-way, two-anova and multliple regression?

I am working on the data set that consists of Patients' id (after stroke), Time (they can walk after going through the program), the Program they follow and the Visit number when the Time was measured....
user13696679's user avatar
1 vote
0 answers
61 views

Design matrix for getting desired contrasts in 3x3 design with 2 controls

We have nine conditions in our study (two category factors each with three levels; A: a1, a2, a3; S: s, c1, c2). I did two-way ANOVA; however, we are interested in a more nuanced question. c1 and c2 ...
Sena Er's user avatar
  • 11
5 votes
1 answer
543 views

Why do we need to model lower-order effects in models with interactions?

I recently saw a paper with a four-way interaction. That already is difficult to interpret (maybe if you have 1 or more categorical variables but definitely near impossible to interpret if all ...
JElder's user avatar
  • 1,252
0 votes
0 answers
476 views

How to test for difference between two GLMs (generalized linear model) in R?

What are appropriate tests for determining whether two GLMs are statistically significantly different? AIC and BIC is not an option because I am not trying to determine parsimony. If it were regular ...
Candice's user avatar
  • 139
1 vote
0 answers
102 views

Anova with missing F and P values

Following, I am not sure of how to interpret this anova output. Model 1,2,3 are all nested in model 4, model 1 is also nested in model 2 but not model 3 because indus is not in model 3 and similarly ...
holala's user avatar
  • 167
1 vote
1 answer
39 views

How is this term "effect of treatment" justified?

In Mathematical Statistics with Applications, 5th Ed., by Wackerly, Mendenhall, and Scheaffer, Section 13.5, the authors present the Statistical Model For a One-Way Layout (p. 587): For $i=1,2,\dots,k$...
Adrian Keister's user avatar
1 vote
1 answer
22 views

Should I use an ANCOVA test?

For this data set: I want to see if the DNA levels differ if there is food or no food and if this changes due to the number of days. Does it make sense to use ANCOVA as the Age could be considered a ...
Emma Piggot's user avatar
2 votes
1 answer
189 views

Concern with Multiple mixed repeated measure analysis/ Ancova

I can't understand what type of graphical analysis is this in the attached figure. The statistical analysis conducted was a MMRM or ANCOVA? How can they combine control and treatment in one line (...
Gaia Mancuso's user avatar
2 votes
1 answer
36 views

Where would you begin analysing this?

I would really appreciate your help. Despite enjoying stats, this issue has been very much bugging me and I can't get my head around it. Everytime I make a breakthrough I end up back at square one. I ...
Liam's user avatar
  • 53
1 vote
1 answer
115 views

For linear regression, if the theoretical coefficients and the variance of the error is known, is the theoretical R squared value, F statistic known?

For linear regression, suppose we know the true, theoretical coefficients of the predictors (say, for a simulation) and the standard deviation of the error term (sigma). For instance, suppose we know ...
user173729's user avatar
2 votes
1 answer
96 views

P-value decrease upon increase in levels of categorical predictor

When does a p-value (standard error) of a linear model coefficient decrease with increasing levels of categorical predictor variable? Why this happens? I fail to see how collinearity and/or regressing ...
Vallo Varik's user avatar
1 vote
0 answers
138 views

Positive Main Effects but Negative Interaction Effect

I ran a hierarchical regression on DV "Behave". Two of the main variables I am interested in, "severity" and "RE"(=response efficacy), have positive main effects on the ...
Angela Zhang's user avatar
0 votes
1 answer
169 views

How would you interpret this result of ANOVA and the interaction plot, where the picture seems to contradict the output of ANOVA?

Let's see the two interaction plots below. It's the same design, just "orthogonally" displayed: The ANOVA says: ...
Grunal78200's user avatar
0 votes
1 answer
164 views

Assumption of Homogeneity of variance [duplicate]

Why is assumption of Homogeneity of variance required. What are the problems if they are not satisfied
Sathya Ih's user avatar
0 votes
1 answer
321 views

Anova to test the effect of a predictor while adjusting for a categorical variable

I am analyzing an ecological dataset in R and try to answer the following question: which environmental variables have an effect on the diversity of the community that we observed? Diversity is ...
mucl's user avatar
  • 121
1 vote
1 answer
84 views

What statistical test is appropriate for the following experimental design, apart from mixed two-way ANOVA?

We are planning a study of the effectiveness of two therapies for treating depression. Group A will receive the current therapy and group B will receive a new and improved therapy. Participants are ...
Tsvetoslav Ivanov's user avatar
4 votes
2 answers
150 views

Why can't we mix exploratory model building and statistical tests for validating a known model?

This short article attempts to expand on a lesson that was drilled in to me during my stats courses. That is, the point that some sorts of tests should never be mixed with ANOVA. It even contains this ...
J. Mini's user avatar
  • 233
0 votes
1 answer
231 views

Violation of multiple linear regression assumptions after adding interactions

I am working with a data set and properly fitted a model that satisfied the assumptions of lienar regression in a multi-variate setting. I have 8 predictors, and proceeded to test for significance of ...
lambdaepsilon's user avatar
0 votes
0 answers
31 views

Non-Significant T-tests but significant F-Test, even though my VIF is generally low

For my linear regression, I have response variable and two predictors. My second predictor is an interaction between the first predictor and a factor because I wanted to see how the predictor changes ...
Dav's user avatar
  • 1
0 votes
1 answer
673 views

Running an ANOVA via multiple linear regression

I have data for three groups that I need to compare the means of. Currently, I am running a multiple linear regression with a single categorical feature to assess whether my test groups differ from my ...
Tom Kealy's user avatar
  • 161
3 votes
1 answer
47 views

Why I am getting different coefficients for R's classification model?

Dataset Consider the following dataset which measures the price of a computer given different configurations Situation After applying the four-way classification model as below, we have the ...
hephaes's user avatar
  • 221
1 vote
1 answer
349 views

Why is there such a discrepancy between the sum of squares I computed and R computed?

Dataset The data is a typical dataset encounted in two-way classification model: Situation I applied two-way anova by running R on this dataset to look at the sum of squares ...
hephaes's user avatar
  • 221
1 vote
0 answers
408 views

anova from R: output and interpretation of F-Tests

These question have been asked in many different ways as you can see here or here; however much of this topic is still beyond my understanding. Let us consider a model having response variable $Y$, ...
omega's user avatar
  • 437
3 votes
1 answer
259 views

Is a regression using a categorical variable a multiple regression by definition?

When running a regression with a categorical variable as the independent variable, the regression essentially picks one of the levels to leave out and runs all the other levels together. There is no ...
Paze's user avatar
  • 2,331
3 votes
0 answers
197 views

In linear regression, any intuitive explanation why duplicating samples will reduce coefficients' std-dev? [duplicate]

I read the explanation by Ocram here about how to calculate the stddev of coefficients in linear regression. I also run experiment with my sample data. I have test1 which contains 1000 samples; I ...
eight3's user avatar
  • 255
0 votes
1 answer
21 views

Anova output Variables meaning [closed]

I have this output from R that I'm trying to understand. I would gladly appreciate any help! ...
Mahamad A. Kanouté's user avatar
2 votes
0 answers
267 views

Formula for type III sum of squares of the intercept term in linear multiple regression

assume we have the regression model: $$Y = b_0 + b_1 x_1 + \dots + b_k x_k + \varepsilon $$ I know the formulas for all type III sum of squares for the regression terms except the formula for SS of ...
Kourabi's user avatar
  • 111
0 votes
1 answer
4k views

Use z-scores as measure for regression analysis/ANOVA

I want to calculate the difference between a certain value associated with a decision alternative and the value associated with the objectively correct alternative as a measure of decision accuracy in ...
statleo's user avatar
  • 23