Tutorial Lisp-Stat
80 pages
English

Tutorial Lisp-Stat

Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres
80 pages
English
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres

Description

ENAR Spring Meeting, 1992 TierneyA Tutorial Introduction7ENAR Spring Meeting, 1992 TierneyWe’ll start with an introduction to using Lisp-Statas a statistical calculator and plotter.We will see how tointeract with the interpreterperform numerical operationsmodify dataconstruct systematic and random datause built-in dynamic plotsconstruct linear regression modelsde ne simple functionsuse these functions for{ a simple animation{ tting nonlinear regression models{ maximum likelihood estimation{ approximate posterior computations8ENAR Spring Meeting, 1992 TierneyThe InterpreterYour interaction with Lisp-Stat is a conversationbetween you and the interpreter.When the interpreter is ready to start theconversation, it gives you a prompt like>When you type in an expression and hit return,theinterpreter evaluates the expression, prints theresult, and gives a new prompt:>11>9ENAR Spring Meeting, 1992 TierneyOperations on numbers are performed withcompound expressions:>(+12)3>(+123)6> (* (+ 2 3.7) 8.2)46.74The basic rule: everything is evaluated.Numbers evaluate to themselves:> 416416> 3.143.14>-1-110ENAR Spring Meeting, 1992 TierneyLogical values and strings also evaluate tothemselves:> t ; trueT> nil ; falseNIL> "This is a string 1 2 3 4""This is a string 1 2 3 4"The semicolon \;" is the Lisp comment character.Symbols are evaluated by looking up their values, ifthey have one:>pi3.141593>PI3 ...

Informations

Publié par
Nombre de lectures 15
Langue English

Extrait

pi3.141593>PI3 ..." />
ENAR
Spring
A
Meeting,
1992
TlkdhiOa
Ickhd
RlQkidc
7
Tierney
ENARSpringMeeting,9129iTren
Vd&kk rs‘qs vhsg ‘m hmsqnctbshnm sn trhmf Khro,Rs‘s ‘r ‘ rs‘shrshb‘k b‘kbtk‘snq ‘mc oknssdq-Vd vhkk rdd gnv sn

hmsdq‘bs vhsg sgd hmsdqoqdsdq odqenql mtldqhb‘k nodq‘shnmr lnchex c‘s‘ bnmrsqtbs rxrsdl‘shb ‘mc q‘mcnl c‘s‘ trd athks,hm cxm‘lhb oknsr bnmrsqtbs khmd‘q qdfqdrrhnm lncdkr cd md rhlokd etmbshnmr trd sgdrd etmbshnmr enq ‘ rhlokd ‘mhl‘shnm sshmf mnmkhmd‘q qdfqdrrhnm lncdkr l‘whltl khjdkhgnnc drshl‘shnm ‘ooqnwhl‘sd onrsdqhnq bnlots‘shnmr
{{{{
8
ye
ENARSpringMeeting,9192iT
TTe Ickehehekeh Xntq hmsdq‘bshnm vhsg Khro,Rs‘s hr ‘ bnmudqr‘shnm adsvddm xnt ‘mc sgd hmsdqoqdsdq-Vgdm sgd hmsdqoqdsdq hr qd‘cx sn rs‘qs sgd bnmudqr‘shnm+ hs fhudr xnt ‘ oqnlos khjd
=
erney
Vgdm xnt sxod hm ‘m dwoqdrrhnm ‘mc ghslSnolh+ sgd hmsdqoqdsdq du‘kt‘sdr sgd dwoqdrrhnm+ oqhmsr sgd qdrtks+ ‘mc fhudr ‘ mdv oqnlos9
= 0 0 =
9
NERApSirgneMtenig,1992
Nodq‘shnmr nm mtladqr ‘qd odqenqldc vhsg 1igjiohB SrjlSmmcihm9
= ’* 0 1( 2 = ’* 0 1 2( 5 = ’) ’* 1 2-6( 7-1( 35-63
Sgd a‘rhb qtkd9 dudqxsghmf hr du‘kt‘sdc-Mtladqr du‘kt‘sd sn sgdlrdkudr9
= 305 305 = 2-03 2-03 = ,0 ,0
10
Tierney
ENARpSirgneMteni,g9192
Knfhb‘k u‘ktdr ‘mc rsqhmfr ‘krn du‘kt‘sd sn sgdlrdkudr9
: sqtd
: e‘krd
= s S = mhk MHK = !Sghr hr ‘ rsqhmf 0 1 2 3! !Sghr hr ‘ rsqhmf 0 1 2 3!
Tierney
Sgd rdlhbnknm [:! hr sgd Khro bnlldms bg‘q‘bsdq-Rxlankr ‘qd du‘kt‘sdc ax knnjhmf to sgdhq u‘ktdr+ he sgdx g‘ud nmd9
= oh 2-030482 = OH 2-030482 = w dqqnq9 tmantmc u‘qh‘akd , W
Rxlank m‘ldr ‘qdhinb‘rd,rdmrhshud-
11
ENARSpringeMeting,9192Tierne
Bnlontmc dwoqdrrhnmr khjd’* 0 1(‘qd du‘kt‘sdc ax

knnjhmf to sgd etmbshnm cd mhshnm ne sgd rxlank * du‘kt‘shmf sgd ‘qftldms dwoqdrrhnmr ‘ookxhmf sgd etmbshnm sn sgd ‘qftldmsr
ZDwbdoshnm9 He sgd etmbshnm cd mhshnm hr ‘Sjmfac1 XilgBnlontmc dwoqdrrhnmr ‘qd du‘kt‘sdc qdbtqrhudkx9
= ’* ’) 1 2( 3( 0/
y
Nodq‘snqr khjd*+)+ dsb-+ ‘qd etmbshnmr+ khjddwo‘mc rpqs
= ’dwo 0( 1-607171 = ’rpqs 1( 0-303103 = ’rpqs ,0( "B’/ 0(
12
NEARpSirgneMeting,9192T
Mtladqr+ rsqhmfr+ ‘mc rxlankr ‘qdmcgjfS Bana-
Rdudq‘k enqlr ne1igjiohB Bana‘qd ‘u‘hk‘akd-
eir
Sgd lnrs a‘rhb enql ne bnlontmc c‘s‘ hr sgd khrs9
= ’khrs 0 1 2( ’0 1 2( = ’khrs 0 !‘ rsqhmf! ’khrs 1 2(( ’0 !‘ rsqhmf! ’1 2((
Nsgdq enqlr ne bnlontmc c‘s‘9

udbsnqr ltksh,chldmrhnm‘k ‘qq‘xr
13
eny
ENARpSirgneMteni,g1992
C‘s‘ rdsr b‘m ad m‘ldc ’rxlankr trhmfcde9
= ’cde w ’khrs 0 1 W = w ’0 1 2(
cdehr ‘glifXcaS1mj
-
2((
14
fhudm
u‘ktdr(
Tierney
NERApSirgneMteni,g9192Tier
Ptnshmf ‘m dwoqdrrhnm sdkkr sgd hmsdqoqdsdqhinsn du‘kt‘sd hs-
= ’ptnsd ’* 0 1(( ’* 0 1(
Khro ptns‘shnm hr rhlhk‘q sn Dmfkhrg ptns‘shnm9
Sghmj ‘ants
R‘x xntq m‘ld!
‘mc
R‘x [xntq m‘ld!!
ptnsdhr ‘ rodbh‘k enql-
15
ney
NERApSirngeMteni,g9129T
Rhmbdptnsdhr mddcdc udqx eqdptdmskx+ sgdqd hr ‘ rgnqsg‘mc enql9
= &’* 0 1( ’* 0 1( = ’khrs &* 0 1( ’* 0 1( = &’0 1 2( ’0 1 2(
Bnlontmc dwoqdrrhnmr ‘qd itrs khrsr-
16
ierney
ENARSpringeMteni,g9129T
Bnlokhb‘sdc dwoqdrrhnmr ‘qd d‘rhdq sn qd‘c vgdm sgdx ‘qd oqnodqkx hmcdmsdc9
= ’* ’, ’) 2 4( ’) ’, 6 1( 5(( 2( ,01 = ’* ’ ’) 2 4( , ’) , 6 1( 5(( 2( ,01
eir
Sgd hmsdqoqdsdq rgntkc gdko xnt vhsg hmcdms‘shnm+ ‘mc vhsg l‘sbghmf o‘qdmsgdrdr-Dwhshmf eqnl Khro,Rs‘s9

BgnnrdkliIeqnl sgdCiaeldmt Sxod’dwhs(
17
eny
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents