class_docstr: Initializer for XBNWriter class
  
  Parameters
  ----------
  model: BayesianNetwork Instance
      Model to write
  encoding: str(optional)
      Encoding for test data
  prettyprint: Bool(optional)
      Indentation in output XML if true
  
  Reference
  ---------
  http://xml.coverpages.org/xbn-MSdefault19990414.html
  
  Examples
  --------
  >>> writer = XBNWriter(model)
class_docstr_tok: ["Initializer","for","XBNWriter","class","Parameters","--","--","--","--","--","model",":","BayesianNetwork","Instance","Model","to","write","encoding",":","str","(","optional",")","Encoding","for","test","data","prettyprint",":","Bool","(","optional",")","Indentation","in","output","XML","if","true","Reference","--","--","--","--","-","http",":","\/\/xml.coverpages.org\/xbn-MSdefault19990414.html","Examples","--","--","--","--",">",">",">","writer","=","XBNWriter","(","model",")"]
docstr: Set STATICPROPERTIES tag for the network
  
  Parameters
  ----------
  **data: dict
      {name: value} for name and value of the property.
  
  Examples
  --------
  >>> from pgmpy.readwrite.XMLBeliefNetwork import XBNWriter
  >>> writer = XBNWriter()
  >>> writer.set_static_properties(FORMAT="MSR DTAS XML", VERSION="0.2", CREATOR="Microsoft Research DTAS")
docstr_tok: ["Set","STATICPROPERTIES","tag","for","the","network","Parameters","--","--","--","--","--","*","*","data",":","dict","{","name",":","value","}","for","name","and","value","of","the","property",".","Examples","--","--","--","--",">",">",">","from","pgmpy.readwrite.XMLBeliefNetwork","import","XBNWriter",">",">",">","writer","=","XBNWriter","(",")",">",">",">","writer.set_static_properties","(","FORMAT=","''","MSR","DTAS","XML","''",",","VERSION=","''","0.2","''",",","CREATOR=","''","Microsoft","Research","DTAS","''",")"]
code: def set_static_properties(self, **data):
      """
      Set STATICPROPERTIES tag for the network
  
      Parameters
      ----------
      **data: dict
          {name: value} for name and value of the property.
  
      Examples
      --------
      >>> from pgmpy.readwrite.XMLBeliefNetwork import XBNWriter
      >>> writer = XBNWriter()
      >>> writer.set_static_properties(FORMAT="MSR DTAS XML", VERSION="0.2", CREATOR="Microsoft Research DTAS")
      """
      static_prop = etree.SubElement(self.bnmodel, "STATICPROPERTIES")
      for key, value in data.items():
          etree.SubElement(static_prop, key, attrib={"VALUE": value})
  
imports: import itertools
  import xml.etree.ElementTree
  import networkx
  import numpy
  from pgmpy.factors.discrete import TabularCPD
  from pgmpy.models import BayesianNetwork
label_desc: Use image node_id 6 for calling the XBNWriter obj's underlying member method code with example usage: obj.set_static_properties() without return types