Search found 12 matches

by srk80
Wed Oct 22, 2025 6:21 am
Forum: Help
Topic: Split and Apply
Replies: 2
Views: 390

Re: Split and Apply

I know this method, but I would like to see the combined data in one place. lme4 or nlme got a neat function lmList which achieves exactly this. In future, I would like jamovi should have this capacity to split the data and apply t-test, anova, lm etc and get combined results. I have seen this capab...
by srk80
Tue Oct 21, 2025 7:43 am
Forum: Help
Topic: Split and Apply
Replies: 2
Views: 390

Split and Apply

Hi, I would like to split my mycars dataset into three subsets based on the cyl variable and apply linear regression on each of these datasets. Is there any way I can do this? Similar R code to achieve this is: models1 = lapply(split(mtcars, mtcars$cyl), \(x)lm(mpg ~ disp, data = x)) tidy_list = lap...
by srk80
Tue Oct 14, 2025 4:59 pm
Forum: Help
Topic: Creating lag and differen variables
Replies: 5
Views: 2401

Re: Creating lag and differen variables

Yes. I got the desired results. But please include these functions lag, lead, diff too in future versions. Followup question, is there any possibility that any one create a time series module based on fpp2 or fpp3?
by srk80
Tue Oct 14, 2025 4:18 am
Forum: Help
Topic: Creating lag and differen variables
Replies: 5
Views: 2401

Re: Creating lag and differen variables

Yes. This is what I need. But Lag, Lead, diff are more used verbs in econometrics.

Lag -> OFFSET(A, 1)
Lead -> OFFSET(A, -1)
diff_1 -> A - OFFSET(A, 1)
diff_2 -> A - OFFSET(A, 2)
by srk80
Mon Oct 13, 2025 7:17 am
Forum: Help
Topic: Creating lag and differen variables
Replies: 5
Views: 2401

Creating lag and differen variables

Hi,

Is there any function to create lag and first, second, ... difference variables in Jamovi?

Thanks.
by srk80
Fri Oct 03, 2025 12:49 pm
Forum: Help
Topic: creating grouped mean variable
Replies: 1
Views: 3963

creating grouped mean variable

Hi,

I would like to have a functionality similar to ave in base R to create a grouped mean variable. I have a dataset with a continuous variable x and group. Now I want to create a new variable where all observations in a particular group have the same mean. How to do?
by srk80
Thu Oct 02, 2025 8:19 am
Forum: Help
Topic: LRT test df difference
Replies: 0
Views: 3345

LRT test df difference

Hi, While comparing Config, Metric, Scalar models for MI, I am getting different results while doing manual calculation with constraints score test. Is it comparable with LRT test? Is there any way that jamovi provides a table to compare config vs metric, scalar vs metric using lavTestLRT function o...
by srk80
Thu Oct 02, 2025 7:47 am
Forum: Help
Topic: Releasing constraints in gamlj
Replies: 2
Views: 2475

Re: Releasing constraints in gamlj

For the second question, PIF_3 ~ c(a, b)*1 is working.
by srk80
Thu Oct 02, 2025 7:44 am
Forum: Help
Topic: Releasing constraints in gamlj
Replies: 2
Views: 2475

Re: Releasing constraints in gamlj

Quick followup,

How to release PIF_3 intercept while doing scalar invariance? Seems the group.partial is not effective here.
by srk80
Thu Oct 02, 2025 6:00 am
Forum: Help
Topic: Releasing constraints in gamlj
Replies: 2
Views: 2475

Releasing constraints in gamlj

Hi, I have a 4 item multi group model as described here. Exercise 3A. https://stats.oarc.ucla.edu/r/seminars/lgm/#s2 Now I would like to release the first item and fix the second item loadings to (1, 1). This is possible in lavaan by setting auto.fix.first = FALSE which is missing in gamlj. Is there...