Frequency analysis
Freq(data.D$WA.WorkReflectionV)
## Frequency Statistics:
## ──────────────────────────
## N %
## ──────────────────────────
## 1 5 0.7
## 1.5 1 0.1
## 1.66666666666667 4 0.5
## 2 87 11.8
## 2.16666666666667 8 1.1
## 2.33333333333333 31 4.2
## 2.5 14 1.9
## 2.66666666666667 42 5.7
## 2.83333333333333 17 2.3
## 3 124 16.9
## 3.16666666666667 22 3.0
## 3.33333333333333 41 5.6
## 3.5 35 4.8
## 3.66666666666667 48 6.5
## 3.83333333333333 29 3.9
## 4 164 22.3
## 4.16666666666667 2 0.3
## 4.33333333333333 10 1.4
## 4.5 5 0.7
## 4.66666666666667 4 0.5
## 5 26 3.5
## (NA) 16 2.2
## ──────────────────────────
## Total N = 735
## Valid N = 719
## Frequency Statistics:
## ────────────
## N %
## ────────────
## 6 148 20.1
## 7 152 20.7
## 8 144 19.6
## 9 148 20.1
## 10 143 19.5
## ────────────
## Total N = 735
ICC and RWG
HLM_ICC_rWG(data.D, group="B.ID", icc.var="WA.WorkReflectionV")
##
## ------ Sample Size Information ------
##
## Level 1: N = 719 observations ("WA.WorkReflectionV")
## Level 2: K = 165 groups ("B.ID")
##
## n (group sizes)
## Min. 1.000
## Median 5.000
## Mean 4.358
## Max. 5.000
##
## ------ ICC(1), ICC(2), and rWG ------
##
## ICC variable: "WA.WorkReflectionV"
##
## ICC(1) = 0.702 (non-independence of data)
## ICC(2) = 0.900 (reliability of group means)
##
## rWG variable: "WA.WorkReflectionV"
##
## rWG (within-group agreement for single-item measures)
## ───────────────────────────────────────────────────
## Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
## ───────────────────────────────────────────────────
## rWG 0.000 0.816 0.942 0.858 0.993 1.000 9.000
## ───────────────────────────────────────────────────
HLM_ICC_rWG(data.D, group="B.ID", icc.var="WP.InformationSearchV")
##
## ------ Sample Size Information ------
##
## Level 1: N = 689 observations ("WP.InformationSearchV")
## Level 2: K = 162 groups ("B.ID")
##
## n (group sizes)
## Min. 1.000
## Median 5.000
## Mean 4.253
## Max. 5.000
##
## ------ ICC(1), ICC(2), and rWG ------
##
## ICC variable: "WP.InformationSearchV"
##
## ICC(1) = 0.691 (non-independence of data)
## ICC(2) = 0.890 (reliability of group means)
##
## rWG variable: "WP.InformationSearchV"
##
## rWG (within-group agreement for single-item measures)
## ────────────────────────────────────────────────────
## Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
## ────────────────────────────────────────────────────
## rWG 0.000 0.808 0.933 0.848 1.000 1.000 12.000
## ────────────────────────────────────────────────────
Main effect
Main= lmer(WP.InformationSearchV~WA.WorkReflectionV+ WA.WorkReflectionV_mean + (1|B.ID), na.action = na.exclude, data = data.D, control=lmerControl(optimizer="bobyqa"))
HLM_summary(Main)
##
## Hierarchical Linear Model (HLM)
## (also known as) Linear Mixed Model (LMM)
## (also known as) Multilevel Linear Model (MLM)
##
## Model Information:
## Formula: WP.InformationSearchV ~ WA.WorkReflectionV + WA.WorkReflectionV_mean + (1 | B.ID)
## Level-1 Observations: N = 675
## Level-2 Groups/Clusters: B.ID, 159
##
## Model Fit:
## AIC = 1149.812
## BIC = 1172.385
## R_(m)² = 0.34124 (Marginal R²: fixed effects)
## R_(c)² = 0.68153 (Conditional R²: fixed + random effects)
## Omega² = NA (= 1 - proportion of unexplained variance)
##
## ANOVA Table:
## ────────────────────────────────────────────────────────────────────
## Sum Sq Mean Sq NumDF DenDF F p
## ────────────────────────────────────────────────────────────────────
## WA.WorkReflectionV 0.60 0.60 1.00 520.65 2.84 .092 .
## WA.WorkReflectionV_mean 13.73 13.73 1.00 365.40 65.20 <.001 ***
## ────────────────────────────────────────────────────────────────────
##
## Fixed Effects:
## Unstandardized Coefficients (b or γ):
## Outcome Variable: WP.InformationSearchV
## ───────────────────────────────────────────────────────────────────────────
## b/γ S.E. t df p [95% CI of b/γ]
## ───────────────────────────────────────────────────────────────────────────
## (Intercept) 1.337 (0.196) 6.83 161.4 <.001 *** [ 0.950, 1.723]
## WA.WorkReflectionV 0.077 (0.046) 1.69 520.7 .092 . [-0.013, 0.166]
## WA.WorkReflectionV_mean 0.603 (0.075) 8.07 365.4 <.001 *** [ 0.456, 0.750]
## ───────────────────────────────────────────────────────────────────────────
## 'df' is estimated by Satterthwaite approximation.
##
## Standardized Coefficients (β):
## Outcome Variable: WP.InformationSearchV
## ───────────────────────────────────────────────────────────────────────────
## β S.E. t df p [95% CI of β]
## ───────────────────────────────────────────────────────────────────────────
## WA.WorkReflectionV 0.075 (0.044) 1.69 520.7 .092 . [-0.012, 0.162]
## WA.WorkReflectionV_mean 0.513 (0.064) 8.07 365.4 <.001 *** [ 0.388, 0.638]
## ───────────────────────────────────────────────────────────────────────────
##
## Random Effects:
## ──────────────────────────────────────────
## Cluster K Parameter Variance ICC
## ──────────────────────────────────────────
## B.ID 159 (Intercept) 0.22507 0.51656
## Residual 0.21064
## ──────────────────────────────────────────