vectorized math is important
[CommonLispStat.git] / ls-user.lisp
blob21965f341299927c1bb2cc0ef3cba933120d96e7
1 ;;; -*- mode: lisp -*-
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 (in-package :cl-user)
10 (defpackage :lisp-stat
11 (:documentation "Experimentation package for LispStat. Serious work
12 should be packaged up elsewhere for reproducibility.")
13 (:nicknames :ls-user)
14 (:use :common-lisp
15 :lisp-stat-object-system
16 :lisp-stat-float
17 :lisp-stat-math
18 :lisp-stat-basics
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)
31 (:export
32 ;; lsobjects.lsp : should this become a prototype object?
33 defproto defmeth send
35 ;; data.lisp
38 ;; lsmath.lsp
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
44 signum cis
46 ;; statistics.lsp
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
52 lowess
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.
62 ;; regression.lsp
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
67 ;; nonlin.lsp
68 nreg-model nreg-model-proto mean-function theta-hat epsilon
69 count-limit verbose
71 ;; bayes.lsp
72 bayes-model bayes-model-proto bayes-internals
74 ;; optimize.lsp
75 newtonmax nelmeadmax
80 (defpackage :lisp-stat-user
81 (:documentation "Experimentation package for LispStat. Serious work
82 should be packaged up elsewhere for reproducibility.")
83 (:nicknames :ls-user)
84 (:use :common-lisp
85 :lisp-stat)
86 (:shadowing-import-from :lisp-stat-object-system
87 slot-value call-method call-next-method))
89 (in-package :lisp-stat-user)
91 ;;;