-
Notifications
You must be signed in to change notification settings - Fork 0
/
ergm.mvtapered.Rd
75 lines (67 loc) · 2.49 KB
/
ergm.mvtapered.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ergm.mvtapered.R
\name{ergm.mvtapered}
\alias{ergm.mvtapered}
\title{Fits a Mean-Valued Tapered ERGM}
\usage{
ergm.mvtapered(
formula,
r = 2,
mv = NULL,
tapering.centers = NULL,
family = "taper",
taper.terms = "dependent",
control = control.ergm(),
...
)
}
\arguments{
\item{formula}{An ergm formula to fit}
\item{r}{The scaling factor to use for the hueristic of setting beta equal to r the standard deviation of the observed statistics}
\item{mv}{{vector of mean-value parameter values
if these values are for some reason different than the
actual statistics of the network on the left-hand side of
\code{formula}.
If this is given, the algorithm finds the natural
parameter values corresponding to these mean-value parameters.
If \code{NULL}, the mean-value parameters used are the observed
statistics of the network in the formula.
}}
\item{tapering.centers}{The centers of the tapering terms. If null, these are taken to be the mean value parameters.}
\item{family}{The type of tapering used. This should either be the \code{stereo} or \code{taper}, the
tapering model of Fellows and Handcock (2017).}
\item{taper.terms}{Specification of the tapering used. If the character variable "dependence" then all the dependent
terms are tapered. If the character variable "all" then all terms are tapered.
It can also be the RHS of a formula giving the terms to be tapered.}
\item{control}{An object of class control.ergm. Passed to the ergm function.}
\item{...}{Additional arguments to ergm.}
}
\value{
An object of class c('tapered.ergm','ergm') containing the fit model. In addition to all of the ergm items,
this object contains tapering.centers, tapering.coef and orig.formula. tapering.centers are the centers for the tapering term.
tapering.coef are the tapering coefficients = 1/ beta^2. orig.formula is the formula passed into ergm.tapered.
}
\description{
Fits a Mean-Valued Tapered ERGM
}
\examples{
\dontrun{
data(sampson)
fit <- ergm.tapered(samplike ~ edges + triangles())
summary(fit)
}
}
\references{
\itemize{
\itemize{
\item Fellows, I. and M. S. Handcock (2017),
Removing Phase Transitions from Gibbs Measures. Volume 54 of
Proceedings of Machine Learning Research, Fort Lauderdale,
FL, USA, pp. 289–297. PMLR.
\item Blackburn, B. and M. S. Handcock (2022),
Practical Network Modeling via Tapered Exponential-family Random Graph Models.
Journal of Computational and Graphical Statistics
\doi{10.1080/10618600.2022.2116444}.
}
}
}