All Questions
Tagged with r statistics
6,259
questions
0
votes
0
answers
16
views
Multiple linear regression where one of my variables in the mean of my other variables, multicollinearity [closed]
I am new to R, and for my current project I am using multiple linear regression to examine the effects of minumum social power value, maximum social power value and mean social power value on ...
0
votes
0
answers
30
views
Comparing outcomes from 2 diagnostic criteria (McNemar Exact Test?) [migrated]
First time poster here.
I am stuck trying to figure out the correct statistical test for my research question.
I am comparing two possible outcomes using the results from the same dataset. These ...
1
vote
0
answers
17
views
Characterize interaction effect from binomial glm [migrated]
I have made a binomial glm which describes how a complexity score (integer value 0-5) and an experimental treatment (factors A,B,C) affect a ratio of successes to failures (x, y) (both x and y are ...
0
votes
1
answer
53
views
How to run a simulation code multiple times and generate a mean output [closed]
I wrote some code to run a simulation model- I want to run this model at least 100 times. After running 100 times, I want it to calculate a mean for the sensitivity values produced for each screen age-...
0
votes
0
answers
29
views
Giving a data set additional information
I want to give additional information to fungal_tab data set by combining it with taxa_fungi data set. I want to add all the Mycorrhiza information regardless it is ectomycorrhiza or endomycorrhiza. I ...
0
votes
0
answers
14
views
Variation in the total number of samples when performing multiple fisher exact tests [migrated]
I have dataset of 2 time points. In each time point I have to compare the counts of different components at each position (number of positions =1000). I used fisher exact test to compare if there is a ...
0
votes
0
answers
30
views
How to compare variance of distance between two treatments over time?
I am interested in understanding how my variable (distance) changes over time between two treatment groups. I now want to compare measures of variance for distance between the two treatment groups, ...
0
votes
0
answers
20
views
How do I correctly specify nesting in the sommer R package?
I accustomed to lme4 where it would be simply: (1|genotype/root_ID) but it's unclear to me looking through the documentation the appropriate way to do this in sommer.
mod1 <- mmer(Y ~ 1,
...
0
votes
0
answers
29
views
Degrees of Freedom in Emmeans
I am using the 'emmeans' package in R to compute estimated marginal means for my (liner mixed-effects) model. However, I am enountering a warning message related to the number of observations ...
0
votes
0
answers
30
views
Correlation alternatives / How to go about testing this relationship? [migrated]
I have a large set of temperature data from upstream and downstream gauges. I am trying to find the influence of dam release on downstream temperatures. To do this, I am comparing correlation between ...
0
votes
0
answers
19
views
Determining the p-value of a test statistic, which is not distributed according to a commonly known distribution under the null hypothesis [migrated]
Currently I am working in R on a project that aims to identify Dragon King events (massive outliers) in large datasets. These outliers appear for example in the city sizes in England, where London is ...
0
votes
0
answers
9
views
How to prove that the dependent variable is explained by the two independent variables (which are correlated)? [migrated]
I would like to show that the dependent variable Y is mainly explained by the two independent variables (A1 and A2). Theoretically, an increase in A1 increases Y, and an increase in A2 decreases Y. ...
0
votes
0
answers
40
views
r - Post-hoc tests for repeated measures ANOVA with aligned rank transformed(ART) data
I'm working on a 2x3 factorial design with two within-subject variables and I'd like to test for both main and interaction effects. Since the data is not normally distributed, I've performed an ...
0
votes
0
answers
10
views
Model comparison or beta coefficient of full model? [migrated]
my question is a rather theoretical one. I have to decide in advance how I want to analyze my data (I'm going with the lme4 package in R) and feel torn between doing a model comparison by creating two ...
0
votes
1
answer
34
views
Error in kruskal_test (coin) with Weighted Data: “Invalid Object Class 'IndependenceProblem’”
I am trying to perform a weighted Kruskal-Wallis test for each group in a dataset, but I keep encountering the following error:
Error in kruskal_test: Error in validObject(.Object): invalid class “...