background image

Assembly Language Programming: Inferential Statistics and Distribution Functions 

28

Distribution (DISTR) Functions

STAT DISTR (Inferential Statistics Distribution) Menu     

-

 

Œ

 

/

 

'

 

'

TESTS DISTR

DRAW

FUNC

Uninst 

4

RsltOn

RsltOf

nmpdf nmcdf invnm tpdf tcdf 

chipdf chicdf Fpdf Fcdf bipdf

bicdf pspdf pscdf gepdf gecdf

Instruction Function

nmpdf 

Normal probability density

nmcdf 

Normal distribution probability

invnm 

Inverse cumulative normal distribution

tpdf 

Student-

t

 probability density

tcdf 

Student-

t

 distribution probability

chipdf 

Chi-square probability density

chicdf 

Chi-square distribution probability

Ü

pdf 

Û

 probability density

Ü

cdf 

Û

 distribution probability

bipdf 

Binomial probability

bicdf 

Binomial cumulative density

pspdf 

Poisson probability

pscdf 

Poisson cumulative density

gepdf 

Geometric probability

gecdf 

Geometric cumulative density

Note:

 

L

1

å

99 and 1

å

99 approximate infinity. If you want to view the area left of

upperbound

, for example, specify 

lowerbound=

L

1

å

99.

nmpdf

Computes the probability density function (

pdf

) for the normal distribution at a

specified 

x

 value. The defaults are mean 

m

=0 and standard deviation 

s

=1. To plot

the normal distribution, paste 

nmpdf

  to the

 

y

= editor. The 

pdf

 is:

f x   e

x

( )

=

>

1

2

0

2

2

2

π σ

σ

µ

σ

(

)

,

nmpdf(

x

[

,

m

,

s

]

)

Note: For this example,
xMin = 28
xMax = 42
xScl = 1
yMin = 0
yMax = .25
yScl = 1
xRes = 1

For plotting the normal
distribution, you can set
window variables xMin and
xMax

 so that the mean 

m

 falls

between them, and then
press 

6

 

(

 

/

 

&

 to

fit the graph in the window.

Summary of Contents for TI-86 - ViewScreen Calculator

Page 1: ...atistics Editor 7 Bypassing the Inferential Statistics Editors 8 Inferential Statistics Editors for the STAT TESTS Instructions 9 STAT TESTS Inferential Statistics Tests Menu 9 Inferential Statistics...

Page 2: ...in functions and menus After installation the inferential statistics and distribution features are available each time you turn on the calculator You do not need to reinstall them each time When you r...

Page 3: ...nu TESTS DISTR DRAW FUNC Uninst 4 RsltOn RsltOf Inferential Distribution Uninstall Results Off Statistics Shading Instruction Default Test Editors Distribution Inferential Results On Functions Statist...

Page 4: ...istributed population with an assumed mean of 65 inches and a standard deviation of 2 5 inches This example uses an inferential statistics editor An editor prompts you for test information See page 7...

Page 5: ...e screen Interpreting the Results The first line 62 887 68 473 shows that the 99 percent confidence interval for the population mean is between about 62 9 inches 5 feet 2 9 inches and 68 5 inches 5 fe...

Page 6: ...n of 2 5 inches what height is exceeded by only 5 percent of the women the 95th percentile L Display the STAT DISTR Distributions menu y M Paste invnm to the home screen invnm stands for Inverse Norma...

Page 7: ...ements When you select the ANOVA instruction it is pasted to the home screen ANOVA does not have an editor screen Using an Inferential Statistics Editor This example uses the inferential statistics ed...

Page 8: ...est instruction 3 Input the syntax for each hypothesis test and confidence interval instruction Complete the syntax by using one of the options below D 65 P 65 68 P 2 71735165188 P 10 P 0 P Enter 0 ze...

Page 9: ...Confidence interval for difference of two m s unknown s s ZPin1 One proportion Z confidence interval Confidence interval for one proportion ZPin2 Two proportion Z confidence interval Confidence inter...

Page 10: ...s Be sure to turn off the y functions before drawing results To remove the menu from a drawing press Ztest This one sample Z test shown as Z Test in the editor performs a hypothesis test for a single...

Page 11: ...itor performs a hypothesis test for a single unknown population mean m when the population standard deviation s is unknown It tests the null hypothesis H0 m m0 against one of the alternatives below Ha...

Page 12: ...the means of two populations m1 and m2 based on independent samples when both population standard deviations s1 and s2 are known The null hypothesis H0 m1 m2 is tested against one of the alternatives...

Page 13: ...deviation s1 or s2 is known The null hypothesis H0 m1 m2 is tested against one of the alternatives below Ha m1 m2 m1 m2 Ha m1 m2 m1 m2 Ha m1 m2 m1 m2 In the example SAMP1 12 207 16 869 25 05 22 429 8...

Page 14: ...mputes a test for an unknown proportion of successes prop It takes as input the count of successes in the sample x and the count of observations in the sample n ZPrp1 tests the null hypothesis H0 prop...

Page 15: ...akes as input the count of successes in each sample x1 and x2 and the count of observations in each sample n1 and n2 ZPrp2 tests the null hypothesis H0 p1 p2 using the pooled sample proportion against...

Page 16: ...idence interval depends on the user specified confidence level In the example L1 299 4 297 7 301 298 9 300 2 297 Data Stats TIntl This one sample t confidence interval shown as TInterval in the editor...

Page 17: ...nt in the editor computes a confidence interval for the difference between two population means m1Nm2 when both population standard deviations s1 and s2 are known The computed confidence interval depe...

Page 18: ...en both population standard deviations s1 and s2 are unknown The computed confidence interval depends on the user specified confidence level In the example SAMP1 12 207 16 869 25 05 22 429 8 456 10 58...

Page 19: ...mple n The computed confidence interval depends on the user specified confidence level ZPin2 This two proportion Z confidence interval shown as 2 PropZInt in the editor computes a confidence interval...

Page 20: ...ociation exists between row variables and column variables The alternative hypothesis is the variables are related Before computing a Chitst enter the observed counts in a matrix Enter that matrix var...

Page 21: ...dard deviations s1 and s2 The population means and standard deviations are all unknown Sam2 which uses the ratio of sample variances Sx1 2 Sx2 2 tests the null hypothesis H0 s1 s2 against one of the a...

Page 22: ...0 b r 0 Ha b 0 and r 0 b r 0 The regression equation is automatically stored to RegEQ If you enter a y variable name at the RegEQ prompt the calculated regression equation is automatically stored to...

Page 23: ...or comparing these means involves analysis of the variation in the sample data The null hypothesis H0 m1 m2 mk is tested against the alternative Ha Not all m1 mk are equal ANOVA list1 list2 list20 In...

Page 24: ...ation for the two sample tests and intervals Must be a real number 0 List1 List2 The names of the lists containing the data you are testing for the two sample tests and intervals Freq1 Freq2 The names...

Page 25: ...ecifies where the expected values should be stored Expected is created upon successful completion of the Chitst Xlist Ylist The names of the lists containing the data for TLinR The dimensions of Xlist...

Page 26: ...ts1 86n and sts2 86n they are stored on the computer under the names st_ 86n st_1 86n and st_2 86n You cannot delete or rename these files on your computer and you will not be able to download them to...

Page 27: ...error about the line REAL sts s regression fit coefficients STAT a b a b correlation coefficient REAL str r coefficient of determination REAL stlrsqr r2 regression equation STAT RegEQ RegEQ factor DF...

Page 28: ...ibution probability bipdf Binomial probability bicdf Binomial cumulative density pspdf Poisson probability pscdf Poisson cumulative density gepdf Geometric probability gecdf Geometric cumulative densi...

Page 29: ...t calculates the x value associated with an area to the left of the x value 0 area 1 must be true The defaults are m 0 and s 1 invnm area m s tpdf Computes the probability density function pdf for the...

Page 30: ...Computes the c2 chi square distribution probability between lowerbound and upperbound for the specified df degrees of freedom which must be an integer 0 chicdf lowerbound upperbound df pdf Computes t...

Page 31: ...rials must be an integer 0 If you do not specify x a list of probabilities from 0 to numtrials is returned The pdf is f x n x p p x n x n x 1 0 1 K where n numtrials bipdf numtrials p x bicdf Computes...

Page 32: ...x the number of the trial on which the first success occurs for the discrete geometric distribution with the specified probability of success p 0 p 1 must be true x can be an integer or a list of inte...

Page 33: ...DRAW instruction Set the window variables so the desired distribution fits the screen Turn off the y functions To clear the drawings select CLDRW from the GRAPH DRAW menu To remove the menu from a dr...

Page 34: ...nd and upperbound ShdChi lowerbound upperbound df Note For this example xMin 0 xMax 35 xScl 1 yMin L 025 yMax 1 yScl 1 xRes 1 Shd Draws the density function for the distribution specified by numerator...

Page 35: ...Int2 Confidence interval for difference of 2 m s known s s TInt2 Confidence interval for difference of 2 m s unknown s s ZPIn1 Confidence interval for 1 proportion ZPIn2 Confidence interval for differ...

Page 36: ...ave created in the list editor Computes a two sample t confidence interval pooled 1 pools variances pooled 0 does not pool variances TInt2 v1 Sx1 n1 v2 Sx2 n2 confidencelevel pooled where v1 Sx1 n1 v2...

Page 37: ...eqlist1 freqlist2 confidence level where s1 s2 listname1 listname2 refers to the known population standard deviations from the first and second populations and lists you have created in the list edito...

Page 38: ...n1 v2 n2 refers to summary statistics that you must enter Computes a two sample Z test alternative L1 is alternative 0 is alternative 1 is drawflag 1 draws results drawflag 0 calculates results ZTest...

Page 39: ...n RsltOf ZTest Ttest Zsam2 Tsam2 ZPrp1 4 ZPrp2 ZIntl TIntl ZInt2 TInt2 4 ZPin1 ZPin2 Chitst FSam2 TLinR 4 ANOVA STAT DISTR Inferential Statistics Distribution Menu TESTS DISTR DRAW FUNC Uninst 4 RsltO...

Reviews: