<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>setParameter and interactions between the behavior and attribute variables in the selection part</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.21183" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=313394112-05032010><FONT face=Arial
color=#0000ff size=2>Of course,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=313394112-05032010><FONT face=Arial
color=#0000ff size=2>that is:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=313394112-05032010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=313394112-05032010><FONT face=Arial
color=#0000ff size=2>Best regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=313394112-05032010><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=313394112-05032010><FONT face=Arial
color=#0000ff size=2>Chip Huisman</FONT></SPAN><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
rsiena-help-bounces@lists.r-forge.r-project.org
[mailto:rsiena-help-bounces@lists.r-forge.r-project.org] <B>On Behalf Of
</B>Huisman, Chip<BR><B>Sent:</B> vrijdag 5 maart 2010 13:32<BR><B>To:</B>
rsiena-help@lists.r-forge.r-project.org<BR><B>Subject:</B> [Rsiena-help]
setParameter and interactions between the behaviorand attribute variables in the
selection part<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Dear m,<BR><BR>I've got 3 questions<BR>1. I'm trying do make
interactions in the influence part of the model
using:<BR><BR>myeff[myeff$effectName=='behavior roken: influence
interaction2'& myeff$type=='eval', 'include' ]=TRUE<BR><BR>were interaction2
is the attribute variable SES, but it doesn't work.<BR>I know I have to set the
‘parm’ column on 1 2 or 3, but how do I do this using R function without the
GUI?<BR>I also tried for the selection part:<BR><BR>myeff <-
includeInteraction(myeff, egoX, recip,interaction1="ses")<BR>myeff <-
setParameter(myeff, outInv, 3)<BR>but R gives me the following
massage:<BR>Error: could not find function "setParameter"<BR><BR>2. I want to do
make an interaction between an attribute variable and the behavior
variable<BR>in the selection part of the model.<BR>to exemplify: I try to test
the hypothesis: smoking students from lower SES backgrounds have a stronger
preference for smoking friends.<BR>Is it possible to program that? I tried to
make a changing covariate SESxsmoking, but I only have to waves, and according
to the tutorial (page 28) that doesn’t make sense. So I figured that I make a
interaction SESxsmoking on basis of the smoking scores of the first wave and use
it as a covariate. But I have a feeling that this is not correct.<BR><BR><BR>3.
I would like to use dummies as is usual in ols regression in the influence part
of the model for the main effects of an attribute variable. Does this work in
the same way as in ols regression, in the sense that I have to leave out one
reference category?<BR>Important to know is that I cannot use the fix(myeff), I
have to edit the dataframe directly with R functions.<BR>I hope you can help me
out.<BR><BR>Best regards,<BR><BR><BR><BR><BR><BR></FONT></P></BODY></HTML>