a b/partyMod/man/mob_control.Rd
1
\name{mob_control}
2
\alias{mob_control}
3
4
\title{Control Parameters for Model-based Partitioning}
5
6
\description{
7
  Various parameters that control aspects the fitting algorithm
8
  for recursively partitioned \code{\link{mob}} models.
9
}
10
11
\usage{
12
mob_control(alpha = 0.05, bonferroni = TRUE, minsplit = 20, trim = 0.1,
13
  objfun = deviance, breakties = FALSE, parm = NULL, verbose = FALSE)
14
}
15
16
\arguments{
17
  \item{alpha}{numeric significance level. A node is splitted when
18
    the (possibly Bonferroni-corrected) \eqn{p} value for any parameter
19
    stability test in that node falls below \code{alpha}.}
20
  \item{bonferroni}{logical. Should \eqn{p} values be Bonferroni corrected?}
21
  \item{minsplit}{integer. The minimum number of observations (sum of the
22
    weights) in a node.}
23
  \item{trim}{numeric. This specifies the trimming in the parameter instability
24
    test for the numerical variables. If smaller than 1, it is interpreted
25
    as the fraction relative to the current node size.}
26
  \item{objfun}{function. A function for extracting the minimized value of
27
    the objective function from a fitted model in a node.}
28
  \item{breakties}{logical. Should ties in numeric variables be broken
29
    randomly for computing the associated parameter instability test?}
30
  \item{parm}{numeric or character. Number or name of model parameters
31
    included in the parameter instability tests (by default all parameters
32
    are included).}
33
  \item{verbose}{logical. Should information about the fitting process
34
    of \code{\link{mob}} (such as test statistics, \eqn{p} values, selected
35
    splitting variables and split points) be printed to the screen?}
36
}
37
38
\details{
39
  See \code{\link{mob}} for more details and references.
40
}
41
42
\seealso{\code{\link{mob}}}
43
44
\value{
45
  A list of class \code{mob_control} containing the control parameters.
46
}
47
48
\keyword{misc}