Skip to content

simulation of Hierarchical design

2 messages · Farnoosh Sheikhi, Greg Snow

#
So can the same student be associated with multiple instructors?  only
within the same school? or more general?  by repeated student ID's do
you mean that a student in school A and a student in school B can both
have ID 1, but they are different students? or do you mean that
instructor #1 and Instructor #2 in the same school can both have
student ID 1 and that it is the same student?

What do you want the effect of state, school, and instructor to be on
your outcome variable?

A couple of the examples for the simfun function in the TeachingDemos
package do simulations for hierarchical designs (the last 3 examples),
in this case simulating height for subjects nested in cities nested in
states assuming that each have an effect on height.  You could modify
one of those to match your story (use a binomial instead of normal, or
use normal and a cut-off value).

On Mon, Feb 24, 2014 at 11:58 AM, farnoosh sheikhi
<farnoosh_81 at yahoo.com> wrote: