delt-package              package:delt              R Documentation

_E_s_t_i_m_a_t_i_o_n _o_f _m_u_l_t_i_v_a_r_i_a_t_e _d_e_n_s_i_t_i_e_s _w_i_t_h _a_d_a_p_t_i_v_e _h_i_s_t_o_g_r_a_m_s

_D_e_s_c_r_i_p_t_i_o_n:

     The package implements methods for estimating multivariate
     densities: adaptive histograms (greedy histograms and
     CART-histograms), stagewise minimization, and bootstrap
     aggregation are provided.

_D_e_t_a_i_l_s:


       Package:   delt
       Version:   0.6.0
       Date:      2006-05-14
       Depends:   R
       License:   GPL version 2 or newer
       URL:       http://www.rni.helsinki.fi/~jsk/delt
       Packaged:  Wed May 17 10:47:27 2006; jsk
       Built:     R 2.2.1; i686-pc-linux-gnu; 2006-05-17 10:47:34; unix

     Greedy histograms: eval.greedy, lstseq.greedy.

     CART-histograms: eval.cart, lstseq.cart.

     CART histograms step by step: densplit, prune, eval.pick.

     Bootstrap aggregation of histograms: eval.bagg, lstseq.bagg.

     Stagewise minimization: eval.stage, eval.stage.gauss.

     Other utilities: partition, plotparti.

     Tree transformation: lefrig2par, makebina.

     Miscallenous: intpcf, supp.

     Index:


     densplit                Calculation of an overfitting histogram
     eval.bagg               Returns a bootstrap aggregation of
     adaptive
                             histograms
     eval.cart               Calculates a CART histogram
     eval.greedy             Returns a greedy histogram
     eval.pick               Returns a subtree of an evaluation tree
     eval.stage              Returns a stagewise minimization estimate
     eval.stage.gauss        Returns a 1D Gaussian mixture density
     estimate
     intpcf                  Calculates the integral of a piecewise
     constant
                             function
     lefrig2par              Transforms an evaluation tree so that it
     can be
                             plotted with the "plottree" function of
     package
                             "denpro"
     lstseq.bagg             Calculates a scale of bootstrap aggregated
                             histograms
     lstseq.cart             Calculates a scale of CART histograms
     lstseq.greedy           Calculates a scale of greedy histograms
     makebina                Tranforms and evaluation tree to the tree
                             object of R
     partition               Finds the partition generated by an
     evaluation
                             tree
     plotparti               Draws a partition
     prune                   Prepares for pruning an overfitting
     evaluation
                             tree
     scaspa                  Finds the number of modes of histograms
     which
                             are obtained by pruning an overfitting
                             histogram
     supp                    Returns the bounding box of observations


_A_u_t_h_o_r(_s):

     Jussi Klemel <klemela@rumms.uni-mannheim.de>

     Maintainer: Jussi Klemel <klemela@rumms.uni-mannheim.de>

_E_x_a_m_p_l_e_s:

     # Generate the data

     dendat<-sim.data(n=500,seed=5,type="mulmodII")

     # Calculate the estimates

     eva<-eval.greedy(dendat,leaf=16)

     eva<-eval.cart(dendat,leaf=16)

     eva<-eval.bagg(dendat,B=3,leaf=12,prune="on")

     eva<-eval.stage(dendat,leaf=10,M=3)

     # Draw the estimates

     lst<-leafsfirst(eva)
     plotvolu(lst)

     dp<-draw.pcf(eva,pnum=c(60,60))         
     persp(dp$x,dp$y,dp$z,theta=-20,phi=30)

