Displaying 2 results from an estimated 2 matches for "bh1996".
Did you mean:
1996
2007 Jul 23
1
Multilevel package: Obtaining significance for waba within-group correlation?
...And another question: Does anybody know whether it is possible to save
individual group-mean-centered values into a new variable?
I am quite new to R so please do apologize if either of these questions
has an obvious answer that I didn't get.
Example:
> package(multilevel)
> data(bh1996)
> waba(bh1996$HRS,bh1996$WBEING,bh1996$GRP)
[I would like to obtain the significance of the CorrW value]
Thanks for your help,
Bertolt
--
Bertolt Meyer
PhD Student
Institute of Psychology & Institute of Information Systems
Humboldt University Berlin
bmeyer at psychologie.hu-berlin.de...
2010 Jun 24
0
sobel.lme
...conducting various mediation analyses with data from individual participants who are nested in teams. I found the ?sobel.lme? function to be pretty helpful when doing so. (A big thank you to Paul Bliese for his multilevel-package and the awesome manual!)
Here?s the example from the Help-file:
data(bh1996)
library(nlme)
#A small but significant indirect effect indicates leadership mediates
#the relationship between work hours and well-being.
with(bh1996, sobel.lme(pred=HRS,med=LEAD,out=WBEING,grpid=GRP))
The package estimates three regression models according to standard-mediation-analysis-operatin...