2 ;;; Copyright (c) 2005--2007, by A.J. Rossini <blindglobe@gmail.com>
3 ;;; See COPYRIGHT file for any additional restrictions (BSD license).
4 ;;; Since 1991, ANSI was finally finished. Edited for ANSI Common Lisp.
10 (defpackage :lisp-stat
11 (:documentation
"Experimentation package for LispStat. Serious work
12 should be packaged up elsewhere for reproducibility.")
15 :lisp-stat-object-system
19 :lisp-stat-regression-linear
)
20 (:shadowing-import-from
:lisp-stat-object-system
21 slot-value call-method call-next-method
)
22 (:shadowing-import-from
:lisp-stat-math
23 expt
+ -
* / ** mod rem abs
1+ 1- log exp sqrt sin cos tan
24 asin acos atan sinh cosh tanh asinh acosh atanh float random
25 truncate floor ceiling round minusp zerop plusp evenp oddp
26 < <= = /= >= > complex conjugate realpart imagpart phase
27 min max logand logior logxor lognot ffloor fceiling
28 ftruncate fround signum cis
)
32 ;; lsobjects.lsp : should this become a prototype object?
39 ^
** expt
+ -
* / mod rem pmin pmax abs
1+ 1- log exp sqrt sin cos
40 tan asin acos atan sinh cosh tanh asinh acosh atanh float random
41 truncate floor ceiling round minusp zerop plusp evenp oddp
< <= =
42 /= >= > complex conjugate realpart imagpart phase min max
43 logand logior logxor lognot ffloor fceiling ftruncate fround
47 open-file-dialog read-data-file read-data-columns load-data
48 load-example
*variables
* *ask-on-redefine
* def variables savevar
49 undef standard-deviation quantile median interquartile-range
50 fivnum covariance-matrix difference rseq matrix print-matrix solve
51 backsolve eigenvalues eigenvectors accumulate cumsum combine
54 ;;; Here is where we have a problem -- lispstat core should be core
55 ;;; data management and config problems, with packages providing
56 ;;; specialized extensions to LispStat, i.e. regression, nonlin
57 ;;; regression, bayesian regression via laplace approximation, etc.
59 ;;; The following could be considered "core packages", similar to the
60 ;;; idea of a recommended set.
63 regression-model regression-model-proto x y intercept sweep-matrix
64 basis weights included total-sum-of-squares residual-sum-of-squares
65 predictor-names response-name case-labels
68 nreg-model nreg-model-proto mean-function theta-hat epsilon
72 bayes-model bayes-model-proto bayes-internals
80 (defpackage :lisp-stat-user
81 (:documentation
"Experimentation package for LispStat. Serious work
82 should be packaged up elsewhere for reproducibility.")
86 (:shadowing-import-from
:lisp-stat-object-system
87 slot-value call-method call-next-method
))
89 (in-package :lisp-stat-user
)