Skip to content

Commit 92c25d6

Browse files
20260410 - clean up
1 parent 5112990 commit 92c25d6

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

hlm.qmd

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ splineGCM_re$id <- head(splineGCM_re$id)
692692
splineGCM_re
693693
```
694694

695-
### Accelerated Longitudinal Study: Account for Time in Study & Age at T1
695+
### Accelerated Longitudinal Study: Accounting for Age at T1 and Time in Study
696696

697697
Per Hoffman ([here](https://www.cilvr.umd.edu/Conference2010/CILVRposts2010/Hoffman_post.pdf), archived at <https://perma.cc/6X8R-EX44>; and [here](https://www.lesahoffman.com/PSQF7375_AdvLong/PSQF7375_AdvLong_Lecture3_AltTime.pdf), archived at <https://perma.cc/25JY-JE8P>), use age at baseline (i.e., T1; or birth year) instead of mean age to lessen bias from attrition‐related missing data.
698698

@@ -714,17 +714,6 @@ print(effectsize::standardize_parameters(
714714
digits = 2)
715715
```
716716

717-
```{r}
718-
#mydata %>%
719-
# ungroup() %>%
720-
# filter(timepoint == 1) %>%
721-
# mutate( # if we had date of birth, we could compute birth cohort (e.g., birth year), #if we had time of measurement, we could compute period (e.g., year) at T1
722-
# ageAtT1 = ageYears, # use age at baseline (T1) or birth year to reduce bias from #attrition-related missing data
723-
# ageAtT1Centered = ageAtT1 - min(ageAtT1, na.rm = TRUE),
724-
# ageAtT1CenteredSquared = ageAtT1Centered ^ 2) %>%
725-
# select(id, ageAtT1, ageAtT1Centered, ageAtT1CenteredSquared)
726-
```
727-
728717
##### Prototypical Growth Curve
729718

730719
```{r}

0 commit comments

Comments
 (0)