Skip to main content

Questions tagged [r]

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

0 votes
0 answers
10 views

Goodness-of-fit metrics for latent class logit model using gmnl package

I’m estimating a latent class multinomial logit model in R using the gmnl package (model = "lc"). The model includes individual covariates in the class membership function. I’ve already ...
Mimi's user avatar
  • 1
1 vote
0 answers
22 views

How to interpret output from a joint model in R?

I’m very new to joint models, and I could really use some help understanding what I’m doing and how to interpret the results. I’m working with a longitudinal biomarker measured at 4 different time ...
laplanca's user avatar
6 votes
0 answers
108 views

Test if two coefficients in a linear model are both significant

Is there a single test one can perform that would be significant if two coefficients in a linear model are both different from 0, but would not be significant if only one of them differs from 0? Yes ...
David B's user avatar
  • 2,058
0 votes
3 answers
74 views

Understanding `confint()` output

Context From my understanding, when doing statistical inference, e.g., estimating the mean of a population from a sample, it is possible to use a linear regression. The intercept parameter is an ...
Paul's user avatar
  • 103
1 vote
1 answer
28 views

R fitdistrplus gamma user defined function

here it is my reproducible dataset ...
maxbre's user avatar
  • 113
1 vote
1 answer
21 views

Mixture-Based Clustering for Ordered Stereotype Model - Distance Scores

I have a 5-variable/3 category-level ordinal survey data set. E.g. 5 health variables ranked 1-3 (good-moderate-poor). I want to row-cluster different responses. But also, I want determine whether ...
EB3112's user avatar
  • 264
1 vote
1 answer
30 views

poor parameter recovery in brms from simulated vigniette experiment

I design a vigniette experiment about social norms: There is a social-media post about reducing meat consumption which varies the actor (stranger, friend, relatie), the amount of the reduction (no ...
lilla's user avatar
  • 53
2 votes
1 answer
43 views

General advice for interpreting DHARMa quantile plots

I could use some help interpreting DHARMa quantile plots. I understand that, ideally, the three quantile lines should be both horizontal and parallel and that deviations from this ideal could indicate ...
Michaela's user avatar
3 votes
1 answer
50 views

Is anova() on an lmer model a valid test before pairwise comparisons in a dataset with incomplete information from all participants?

I am at the beginning of my statistics journey and am trying to understand if my reasoning makes sense and what key considerations I am missing. The study design In a fictive scenario where a RCT was ...
learningstats's user avatar
1 vote
0 answers
33 views

Prediction for glmm (correcting for bias due to jensens inequality?)

I am trying to decide on the best method for producing model predictions (for graphing) from my generalized linear mixed effects model. I am interested in getting marginal predictions (i.e., what the ...
Stephanie Rivest's user avatar
0 votes
1 answer
37 views

Quantile deviations detected gamma GLM

I am trying to apply a Gamma GLM to a dataset. The main issue is the lack of fit for quantile deviations although no other problems are detected. I have read similar posts without a conclusive answer. ...
user12257's user avatar
  • 123
4 votes
3 answers
667 views

Can bootstrap confidence intervals be illogical?

This was something I thought about: If you have data from a coin with a very low probability of success, it is possible that the Wald confidence interval can contain negative numbers and be illogical?...
bootstrap's user avatar
0 votes
1 answer
24 views

Is there a way to account for the effect of a combined dataset in a Cox proportional hazards model?

I ran a survival study with two species in 3 different temperatures with 2 different treatments in batches of 5-6 (i.e., species 1 was tested in treatment 1 at temperature 1 two or three times). I ...
frogfish's user avatar
1 vote
0 answers
18 views

Predicting population-level effects of a hierarchical GAM with both a global smoother and group-level factor-smooth interaction term

I am having difficulty making population-level model predictions on the response scale for a hierarchical binomial generalized additive model (GAM) that contains both a "global smoother" ...
sjohnsonbice's user avatar
2 votes
1 answer
28 views

Which type of anova should I use for unbalanced data (different number of replicates for treatments)?

I have three treatments: T1, T2, and T3. T1 and T2 each have 3 replicates, while T3 has only 2 replicates. I did continuous measurements (V1) over a month, so I am looking for the effect of ...
Milad's user avatar
  • 135

15 30 50 per page
1
2 3 4 5
2031
close