[Rsiena-help] multiple networks
Maarten Van Zalk
maartenvanzalk at gmail.com
Fri Apr 23 17:50:54 CEST 2010
Dear Ruth,
To clarify your answer, I'd just like to ask about some of the terms
you use (I'm not familiar with some of them):
What is the difference (if any) between bipartite networks and
multiple networks? Is it that bipartite networks you have the same
egos and alters but there are different types of relationships between
them, whereas with multiple networks the alters differ between networks?
With a 'nodeset', do you mean the type of networks (like for example
adolescents and their friends (1) and romantic parners (2)) ?
And why are you creating a network nodeset for the behavioral variable?
and is the same or something different as a 'onemode' network?
and what do you mean with 'actors' and 'students' in your example? are
they referring to the two types of networks (like adolescents' friends
= actors and adolescent's romantic partners = students)?
And: don't you first have to create the nodesets, as in
>
> students <- sienaNodeSet(50, 'student')
> Actors <- sienaNodeSet(50, 'Actors')
and then use them in the bipartitie network:
> mynet3 <- sienaNet(array(c(s501, s502, s503), dim=c(50, 50, 3)),
> type='bipartite', nodeSet=c('Actors', 'student'))
Or is the logic different here?
Thanks for your time & thoughts!
Maarten
On Apr 23, 2010, at 14:38 , Ruth M. Ripley wrote:
> Dear Maarten,
>
> Just add all the objects to one call to sienaDataCreate. The only
> complication is if you have more than one set of node sets, when you
> need
> to specify any non-default one in the calls to sienaNet etc. And
> create
> them using sienaNodeSet eg
>
> for onemode network:
>
> mynet1 <- sienaNet(array(c(s501, s502, s503), dim=c(50, 50, 3)),
> nodeSet='student')
>
> for behavior variable:
>
> mynet2 <- sienaNet(s50a, type='behavior', nodeSet='student')
>
> for bipartite network:
>
> mynet3 <- sienaNet(array(c(s501, s502, s503), dim=c(50, 50, 3)),
> type='bipartite', nodeSet=c('Actors', 'student'))
> (this is a fake!)
>
> create the node sets: number of nodes and the name.
>
> students <- sienaNodeSet(50, 'student')
> Actors <- sienaNodeSet(50, 'Actors')
>
> then create the data by just listing all the objects:
>
> mydata <- sienaDataCreate(mynet1, mynet2, mynet3,
> nodeSets=list(students, Actors))
>
> You do not need to specify the node set name 'Actors' when creating an
> object, other than for a bipartite network, but if you have any
> other node
> sets you do need to create the Actors node set and add it to the
> nodeSets
> list as here.
>
> Hope this helps, I obviously need to add some more examples to the
> manual!
>
> Regards,
>
> Ruth
>
> On Wed, 21 Apr 2010, Maarten Van Zalk wrote:
>
>> Dear Ruth,
>>
>> I was wondering whether you could help me out with running multiple
>> networks in RSiena. I understand how to make separate objects for
>> each
>> network, but how do I combine the objects for the analysis?
>>
>> I have data of around 850 adolescents and their friends inside school
>> and friends outside school (2 networks). To start off, I was thinking
>> about selecting just one class, and making a network of their friends
>> within the same school and outside their school.
>>
>> Perhaps there is literature out there available on how to do this,
>> but
>> I have not been able to find it in the manual (only information on
>> the
>> formulae for the multiple network effects)...
>>
>> Thanks once again!
>>
>> Maarten
>>
>
More information about the Rsiena-help
mailing list