knitr::opts_chunk$set(echo = FALSE)
The maximmum grip aperture is the maximum distance between the markers on the thumb and index finger during the period between when the hand left the table and when it touched the stick (this period is labeled as grip in our annotation system).
We fit a hierarchical (mixed effects) linear regression model. The outcume (dependent) variable is the maximum grip aperture, and the predictor (independent) variables are:
There are varying intercepts by subject, and the effects of all the predictors (including interactions) are also allowed to vary by subject. (These are the mixed effects)
actionCat.fit <- lme4::lmer(maxGrip~stickcmScaled*fins + (1+stickcmScaled*fins|obsisSubj), params$data$action$data)
These are the estimates of the effect sizes for the predictors (and interactions) in the model. The dot is the point estimate, the thick line is the 95% confidence interval, and the thin line the 99% confidence interval. One rule of thumb is: if the confidence intervals do not the effect is statistically significant.
mocapGrip:::CoefficientPlot(list(actionCat.fit))
These are predictions from the model for specific conditions. The dots are point estimates, and the lines are 95% confidence intervals.
ggplot(mocapGrip:::pred(actionCat.fit)) + aes(x=stickcmScaled+8, y=maxGrip, ymin=plo, ymax=phi, group=fins, color=fins) + geom_pointrange(position = position_dodge(width=0.5)) + labs(title = "Model predictions for maximum grip")
texreg::htmlreg(list(actionCat.fit), method = "boot", # only needed for the overriding of pvalues use.se=TRUE, # only needed for the overriding of pvalues # override.pval = list(lengthLMscaleSum$coefficients[,"Pr(>|t|)"]), float.pos = "p!", single.row=TRUE, caption="Hierarchical linear regression coefficient estimates and standard errors.", use.packas=FALSE, custom.model.names=c("est. (s.e.)"), stars = c(0.001, 0.01, 0.05, 0.1), star.symbol = "\\*" )
There are estimates of the intercept and slope adjustments by subject. and 95% confidence intervals around those estimates. This is also reffered to as the mixed effects structure and is one way to see variability between subjects.
mocapGrip:::ggCaterpillar(lme4::ranef(actionCat.fit, condVar = TRUE))
The mean grip aperture is the mean of the distance measureumetns between the markers on the thumb and index finger during the period when the subject said the word ready (this period is labeled as steady in our annotation system).
We fit a hierarchical (mixed effects) linear regression model. The outcume (dependent) variable is the maximum grip aperture, and the predictor (independent) variables are:
There are varying intercepts by subject, and the effects of all the predictors (including interactions) are also allowed to vary by subject. (These are the mixed effects)
estimation.fit <- lme4::lmer(meanGrip~stickcmScaled*fins + (1+stickcmScaled*fins|obsisSubj), params$data$estimation$data)
These are the estimates of the effect sizes for the predictors (and interactions) in the model. The dot is the point estimate, the thick line is the 95% confidence interval, and the thin line the 99% confidence interval. One rule of thumb is: if the confidence intervals do not the effect is statistically significant.
mocapGrip:::CoefficientPlot(list(estimation.fit))
These are predictions from the model for specific conditions. The dots are point estimates, and the lines are 95% confidence intervals.
ggplot(mocapGrip:::pred(estimation.fit)) + aes(x=stickcmScaled+8, y=meanGrip, ymin=plo, ymax=phi, group=fins, color=fins) + geom_pointrange(position = position_dodge(width=0.5)) + labs(title = "Model predictions for maximum grip")
texreg::htmlreg(list(estimation.fit), method = "boot", # only needed for the overriding of pvalues use.se=TRUE, # only needed for the overriding of pvalues # override.pval = list(lengthLMscaleSum$coefficients[,"Pr(>|t|)"]), float.pos = "p!", single.row=TRUE, caption="Hierarchical linear regression coefficient estimates and standard errors.", use.packas=FALSE, custom.model.names=c("est. (s.e.)"), stars = c(0.001, 0.01, 0.05, 0.1), star.symbol = "\\*" )
There are estimates of the intercept and slope adjustments by subject. and 95% confidence intervals around those estimates. This is also reffered to as the mixed effects structure and is one way to see variability between subjects.
mocapGrip:::ggCaterpillar(lme4::ranef(estimation.fit, condVar = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.