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.
7 (:documentation
"Experimentation package for LispStat. Serious work
8 should be packaged up elsewhere for reproducibility.")
10 :lisp-stat-object-system
14 :lisp-stat-regression-linear
)
15 (:shadowing-import-from
:lisp-stat-object-system
16 slot-value call-method call-next-method
)
17 (:shadowing-import-from
:lisp-stat-math
18 expt
+ -
* / ** mod rem abs
1+ 1- log exp sqrt sin cos tan
19 asin acos atan sinh cosh tanh asinh acosh atanh float random
20 truncate floor ceiling round minusp zerop plusp evenp oddp
21 < <= = /= >= > complex conjugate realpart imagpart phase
22 min max logand logior logxor lognot ffloor fceiling
23 ftruncate fround signum cis
)
26 ;; lsobjects.lsp : should this become a prototype object?
33 ^
** expt
+ -
* / mod rem pmin pmax abs
1+ 1- log exp sqrt sin cos
34 tan asin acos atan sinh cosh tanh asinh acosh atanh float random
35 truncate floor ceiling round minusp zerop plusp evenp oddp
< <= =
36 /= >= > complex conjugate realpart imagpart phase min max
37 logand logior logxor lognot ffloor fceiling ftruncate fround
41 open-file-dialog read-data-file read-data-columns load-data
42 load-example
*variables
* *ask-on-redefine
* def variables savevar
43 undef standard-deviation quantile median interquartile-range
44 fivnum covariance-matrix difference rseq matrix print-matrix solve
45 backsolve eigenvalues eigenvectors accumulate cumsum combine
52 ;;; Here is where we have a problem -- lispstat core should be core
53 ;;; data management and config problems, with packages providing
54 ;;; specialized extensions to LispStat, i.e. regression, nonlin
55 ;;; regression, bayesian regression via laplace approximation, etc.
57 ;;; The following could be considered "recommended packages", similar
58 ;;; to the idea of the recommended packages in R.
61 regression-model regression-model-proto x y intercept sweep-matrix
62 basis weights included total-sum-of-squares residual-sum-of-squares
63 predictor-names response-name case-labels
66 nreg-model nreg-model-proto mean-function theta-hat epsilon
70 bayes-model bayes-model-proto bayes-internals
77 (defpackage :lisp-stat-user
78 (:documentation
"Experimentation package for LispStat.
79 Serious work should be packaged up elsewhere for reproducibility. But
80 this should provide a hint as to what could be done for a user-package
81 or analysis-package.")
85 (:shadowing-import-from
:lisp-stat
87 slot-value call-method call-next-method
89 expt
+ -
* / ** mod rem abs
1+ 1- log exp sqrt sin cos tan
90 asin acos atan sinh cosh tanh asinh acosh atanh float random
91 truncate floor ceiling round minusp zerop plusp evenp oddp
92 < <= = /= >= > complex conjugate realpart imagpart phase
93 min max logand logior logxor lognot ffloor fceiling
94 ftruncate fround signum cis