We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8c39d1 commit 68c9871Copy full SHA for 68c9871
1 file changed
regression.Rmd
@@ -915,7 +915,11 @@ robcov(ols(
915
data = mydata,
916
x = TRUE,
917
y = TRUE))
918
+```
919
+
920
+Use "cluster" variable to account for nested data within-subject:
921
922
+```{r, eval = FALSE}
923
robcov(ols(
924
t_ext ~ m_ext + age,
925
@@ -924,6 +928,7 @@ robcov(ols(
928
cluster = mydata$tcid) #account for nested data within subject
929
```
926
930
931
927
932
### 4. Errors are independent
933
934
Independent errors means that the errors are uncorrelated with each other.
0 commit comments