Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 123823

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
Accepted

How to compare GAIC of linear model and other GLMS?

# Model 1: Log-transformed response with lm() model_1 <- lm(log(Abundance) ~ salinity * avrg_dep, data = data_final) # Calculate log-likelihood of the model logL <- logLik(model_1) # Adjust the log- …
yuliaUU's user avatar
  • 303
0 votes
1 answer
29 views

How to compare GAIC of linear model and other GLMS?

my dataset can be found here: https://raw.githubusercontent.com/yuliaUU/test/main/test.csv library(gamlss) library(tidyverse) data_final<- read_csv("test.csv") # Normal model with log transformation …
yuliaUU's user avatar
  • 303
1 vote
1 answer
724 views

Pairwise Effect size for Dunns Test

I am using ggsttaplot - I am curious how to get effect size for each pair: # install.packages("tidyverse") # for everything ;) library(tidyverse) # install.packages("ISLR") library(ISLR) # install. …
yuliaUU's user avatar
  • 303
3 votes
1 answer
330 views

How to calculate uncertainty in the sum of the predictions

I am using dummy data to ask my question: I have a linear model y~x. library(tidyverse) library(ggpubr) theme_set(theme_pubr()) model <- lm(sales ~ youtube, data = marketing) Let's assume I am predic …
yuliaUU's user avatar
  • 303
2 votes
0 answers
140 views

How does the smoothing lambda is calculated in quantreg::rqss?

I have been working with quantreg::rqss() function for non-parametric quantile regression in R (documentation is here). …
yuliaUU's user avatar
  • 303
1 vote
2 answers
1k views

Paired Samples T-Test Assumptions with Ordinal Categorical Data

I would like to check with CrossValidated community whether I interpret the assumptions that are needed to be tested for paired t-test correctly. My questions primarily arise from working with a group …
yuliaUU's user avatar
  • 303
0 votes
1 answer
1k views

Is Bonferroni correction needed for paired t-test on grouped data?

I have a survey that was conducted in 3 different classes ( math, phys, bio) at the beginning and at the end of the semester ( pre and post). In the survey, there were 3 groups of questions (A, B, C) …
yuliaUU's user avatar
  • 303
2 votes
1 answer
1k views

CFA: should I remove highly correlated items?

I want to Run CFA model (N=400), but I have a question about the correlation between items. I know I should have high correlation between items that make up one factor (cor>.3). I have two factors Anx …
yuliaUU's user avatar
  • 303
2 votes
0 answers
158 views

Longitudinal CFA How to build configural model?

I have 12 survey questions (Qs) that were asked during pre- and post-term survey. So I want to do the longitudinal CFA to see whether there was a difference between factor models for pre/post-term sur …
yuliaUU's user avatar
  • 303
2 votes
1 answer
4k views

making multivariate GAM model [closed]

I want to model the dependence of Anad B based on two variables c and H: fmla=Y~s(c)+s(H) library("mgcv", lib.loc="C:/Program Files/R/R-3.4.1/library") And I want to fit it with GAM model gam(fmla) …
yuliaUU's user avatar
  • 303
4 votes
1 answer
2k views

Choosing a nonlinear model: GAM?

I have the response variable that is an abundance matrix Y. for example, I have four columns with species 1 species 2 species 3 and species 4 abundances at each location (each location is separate …
yuliaUU's user avatar
  • 303