.-
help for ^aucdist^
.-

Calculates the distribution of a series of plasma concentration curves.
------------------------------------------------------------------------

	^aucdist^ id time concentration [^if^ exp] [^in^ range] [^,^ ^f^it^(^integer^)^
				 ^t^rapezoid ^g^enerate(variable) 
                                 ^stat^(^cmax^ | ^tmax^ | ^inf^) ^nodots^
				 ^gr^aph graph_options ]


Description
-----------

^aucdist^ calculates the distribution of a series of plasma concentration 
     measurements made on a series of patients. The median and first 4 
     moments of the distribution are reported as is the probability the 
     distribution is normal. Optionally, you can graph the distribution.

Options
-------

^fit(^#^)^ specifies the number of points from the end of the measured
     data to use to fit the model used to calculate the AUC from 0 to
     infinity. The default is to use the last 3 points.

^trapezoid^ specifies that the integral be computed using the simple trapezoidal
    rule -- i.e., the sum of (xvar[i] - xvar[i-1])*(yvar[i] + yvar[i-1])/2 --
    rather than using cubic splines (the default).  Cubic splines will give
    superior results for most smooth functions; for irregular functions,
    ^trapezoid^ may give better results.

^stat^(^cmax^ | ^tmax^ | ^inf^) specifies which statistic should be summarized.
   The default is the AUC, however, you can specify ^cmax^ for the maximum 
   concentration or ^tmax^ for the time at max concentration or ^inf^ to use 
   the log concentration from 0 to infinity.

^generate(^varname^)^ specifies to create a new variable with the AUC (C max,
    T max, log conc 0 -inf.).

^nodots^ supresses the dots shown during calculation.

^graph^ specifies to show the graph of the distribution of the statistic.
    By default, the AUC. 

Examples
--------

 . ^aucdist id time conc^                 (Show measures)
 . ^aucdist time conc, fit(7) t^          (Use last 7 points and trapazod to fit model)
 . ^aucdist id time conc, generate(auc)^  (Save the AUC in a variable called AUC)
 . ^aucdist id time conc, stat(cmax)^     (Summarize using the C max parameter)
 . ^aucdist id time conc, gr normal bin(25)
     (Graph the dist with a normal curve superimosed with a bin size of 25)

