Questions tagged [ancova]

46 questions
0
votes
1 answer

How to change the axis and legend on loess.ancova function

I am trying to do an ANCOVA test of a specific dataset using fANCOVA package and the loess.ancova function. loess.ancova(y=dt$response,x=dt$var1,group=dt$species,family= "gaussian",method="Speckman", plot = T) After calling the code I get a plot…
0
votes
0 answers

What formula does SPSS apply to the data in an ANCOVA?

The procedure for an ANOVA is really straightforward; you compute the between group variance and the within group variance, divide your results to get an F statistic, and compare it to your critical value. But what about ANCOVA? I can't find an…
Steph
  • 13
  • 3
0
votes
1 answer

I am trying to run a non parametric ANCOVA in R but I am running into issues with the code and my understanding

I am looking at the concentration of a protein in two areas over time and want to determine if their regression slopes are significantly different. In both areas the concentration of the protein is increasing linearly over time, however, for one…
mg332842
  • 11
  • 1
0
votes
0 answers

ANCOVA in R with multiple independent variables and one covariate

I am trying to run an ANCOVA in R with abiotic factours as multiple independent variables and ecoregion as a covariate. This is the code I had originally ran but I'm not sure if it accounts for ecoregion as a covariate. aov(Quantity ~ temperature +…
0
votes
0 answers

Repeated Measures MANCOVA possible to do in Python?

I want to do a repeated measures MANCOVA in python but have been struggling to find resources/code online. Does anyone have examples of code/packages recommendations for this type of analysis on python? Thank you! I have tried the package…
0
votes
0 answers

Testing an interaction between a continuous predictor and a repeated-measures variable

I'm looking to test an interaction effect between a continuous predictor (C) and a repeated-measures variable with four levels (RM). I ran a repeated-measures ANCOVA in SPSS (putting C as a covariate) to get the C*RM interaction and it's…
AmitKai
  • 11
  • 4
0
votes
0 answers

How to run Robust ANCOVA for 2 continuous variables and 1 grouping factor

My data is: total death rate (response variable), total case rate (covariate), continent (grouping factor) When entering the code below: ancova(Total_Deaths_Per_Million~Total_Cases_Per_Million+factor(Continent),…
angus
  • 1
0
votes
0 answers

Measurement-repeated ANCOVA in 2x2 Mixed Design

I am calculating in R an ANOVA with repeated measures in 2x2 mixed design. For this I use one of the following inputs in R: (1) res.aov <- anova_test(data = datac, dv = Stress, wid = REF,between = Gruppe, within = time…
0
votes
0 answers

TukeyHSD function or glht for post-hoc test after ANCOVA

I'm currently performing an ANCOVA in R testing the difference in the levels of fungi depending on the types of fungi while correcting for a difference in the age of the fungi (days). model <- aov(fungi_level ~ fungi_types + days, data =…
0
votes
0 answers

How to create a Matrix with p values from anova

I performed an ANOVA and corrected it with Tukey's test, so I got several values ​​of P. Now I would like to build a Heatmap with these values ​​and for that I need to create an matrix with the values ​​of P to be able to make my Heat map The first…
0
votes
1 answer

How to get cohen's d value after doing ANCOVA?

I have a dataset that I ran ANCOVA on and did postHoc analysis. when I view the summary of my data by typing summary(data), I only see the t value and p value. Is there a way I can see cohen's d value on this? Am using the R stats package.
0
votes
1 answer

ANCOVA with all continuous variables

I have the following variables: Psychological trait data collected at pre- and post-intervention Fitness data (e.g., weight in kg), collected at pre- and post-intervention I am interested in seeing whether psychological trait at baseline…
09fruits
  • 223
  • 3
  • 11
0
votes
0 answers

Trying to compare groups, why isn't EMMEANS working?

I am trying to perform ANCOVA on my data and determine which groups show a difference in elevation of allometric curves. I'm trying to do a comparison between different groups as such: GroupA:GroupB, GroupB:GroupC, GroupA:GroupC I've resorted to…
Arthur Erb
  • 21
  • 1
0
votes
1 answer

How to fit a mixed effects model regression with interaction in R ggplot2?

The dataset I'm working with has an interaction term. I want to fit the model with the interaction term in the x-axis and the y.var in the y-axis. I tried following this example but didn't get too far on how to replicate it in ggplot2 (i.e. the plot…
Rspacer
  • 2,369
  • 1
  • 14
  • 40
0
votes
1 answer

Repeated Measures of ANCOVA in R

I conducted a study. Here is the structure of the data: https://ibb.co/CzLK9jP repeated measures (mood_1 and mood_2) dependent variables, group is a between subject factor, and ruminati is a covariate. I prepared the data like this in R:…
helloiambrain
  • 19
  • 1
  • 3