| estimate8constrainednbn {rbmn} | R Documentation | 
estimates the parameters of a nbn with equality constraints
Description
Estimations of the parameters of a /nbn/ is done when there are some
equality constraints onto the regression coefficients.
 Constant
terms (mu) and conditional standard deviations (sigma)
are supposed independent (that is not constrained with
equalities).
 Equality constraints are given by sarc, a list
of matrices with two columns, indicating each the series of arcs
having the same regression coefficient.
Usage
estimate8constrainednbn(nbn, sarc, data, imp=0, nite=10, eps=10^-5)
Arguments
nbn | 
 
  | 
sarc | 
 List of Matrices with two columns indicating the tails
(1rst column) and the heads (2d column) of the arcs having a common
parameter. It is checked that these arcs are indeed included in
  | 
data | 
 Data frame to be used for the estimation. It must
comprise all necessary nodes (not only those involved in   | 
imp | 
 When   | 
nite | 
 Maximum number of iterations.  | 
eps | 
 relative difference in successive scores needed to stop the iterations.  | 
Details
Not linked regression coefficients doesn't require to be included in
sarc, the function do it by itself.
 The score to use to
measure the differences between two successive estimations is not
well established (see the code).
Value
The resulting /nbn/ object with the estimated parameters.
Examples
 data(boco);
 print8nbn(rbmn0nbn.05);
 print8nbn(estimate8nbn(rbmn0nbn.05, boco));
 print8nbn(estimate8constrainednbn(rbmn0nbn.05, rbmn0crarc.05, boco));