search for: nodematch

Displaying 5 results from an estimated 5 matches for "nodematch".

Did you mean: node_arch
2012 May 09
2
ergm model, nodematch with diff=T
...d related packages. I generally get interesting results, but when I run a model including sociality and selective mixing effects for different groups, the model runs (and converges) but I get a warning as follows: mod <- ergm(network ~ edges + gwesp(0, fixed=T) + nodefactor("code") + nodematch("code", diff=T)+ nodecov("vulnEVI") + absdiff("vulnEVI")) Observed statistic(s) nodematch.code.5, nodematch.code.6, and nodematch.code.8 are at their smallest attainable values. Their coefficients will be fixed at -Inf. The model nevertheless runs and converges and pr...
2010 Sep 23
0
ergm
Dear colleagues, I have another question, which, I think cannot be answered easily by the manual. What is the effect of including both nodefactor("Gender") and nodematch("Gender",diff=TRUE)) for the same variable in the model? Judging from the output (please see below), you cant have estimates for both for boys and girls forthe nodematch command, but I thought that the nodematch measures for boys and girls were not related. Does the nodematch command show...
2009 Aug 17
0
multiple values for a factor using nodematch in ergm()
...u can offer. I have a network object on which I'd like to simulate an ergm() using {statnet}. Since the network object is large, I have not copied it here. Each vertex has an attribute "language" which can take on integer values greater than or equal to 1. Is there a way to use the nodematch argument of ergm(), such that it searches for any matches in the vertex attributes, rather than a 1-to-1 match? For example, given mat <- matrix(1, ncol=4, nrow=4) net <- network(mat) lang <- list("A", c("A","B"), "B", "C") net %v% &quo...
2010 Sep 19
1
ergm crashes
...ot;SchoolType",mSchType) where SchoolType can take six different/unique values. Then, I run ergm models successfully using commands like the following: m3 <- ergm(ng ~ edges+nodefactor("Gender")+nodefactor("SchoolType")) But if I try to run a command with the parameter nodematch, R crashes with no excuses and no error messages (I use windows Vista and the latest R version and all packages are fully updated). I use commands (and they crash) like the following: m3 <- ergm(ng ~ edges+ nodefactor("Gender")+ nodematch("SchoolType")) Can anyone help me wi...
2008 Mar 18
2
Matching multiple nodes with a regular expression
...s, each of which has a hostname consisting of the cluster type and a unique id (e.g. tc-dev-1, mysql-stg-3, etc). I''ve been merrily adding each node by hand to puppet but being naturally lazy I wondered if this could be done with a regular expression instead, something along the lines of: nodematch "tc-liv-\d+.*?\.ac\.uk" { .... } which would then map all matching nodes to that default configuration. Adding the code to do this doesn''t seem to be a unsurmountable problem, but I''ve only just started reading through the source so perhaps I''m wrong. Does this...