You are on page 1of 3

AMS 110 Helpful commands for Texas Instruments Calculator: z test for difference in proportions STAT TESTS 2-Prop

p Z Test x1: # of successes in first sample n1: total # in first sample x2: # of successes in second sample n2: total # in second sample choose whether 2 sided, left sided or right sided test CALCULATE Output: z test statistic, p-value, pooled proportion (under Ho) and sample proportions, as well as

Confidence Interval for difference in Proportions 2-Prop Z Int x1: # of successes in first sample n1: total # in first sample x2: # of successes in second sample n2: total # in second sample C-Level Please input the confidence level CALCULATE

Chi-Square test of Homogeneity of Proportions or Independence :

2nd MATRIX EDIT A Specify the dimensions of the table rows x columns Enter the observed counts, the calculator asks for them row by row. STAT TESTS (C) 2 Test It confirms that you have placed the observed frequencies in [A] It will store the expected frequencies in [B] for you. CALCULATE Output: reports the value of the chi-square test statistic, p-value, degrees of freedom.

Chi-Square Goodness of Fit test Enter into L1 all the observed counts. Enter into L2 all the probabilities Find the Total of all the observed counts Go to the top of the L3 column and select it. L3 = (Total)* L2 STAT, Tests, 2 GOFtest Observed: L1 Expected: L3 Df: Enter degrees of freedom Calculate P-value on Calculator: 2nd Distributions, 2cdf(leftendpt,rightendpt,df) The calculator also displays cell by cell components of the chi-square test statistic calculation.

Comparison of Means (Use this command for Pooled Variance t test as well as Unequal variance t test using Welch/Satterthwaites approx for df. ) STAT TESTS 2-Samp T Test You input the sample mean from first sample, sample std dev, n1 as well as the sample mean from the second sample, second sample standard deviation and n2 It asks you what side the test is: two sided, left sided or right sided It asks you whether it is POOLED or NOT POOLED CALCULATE If pooled, Output: t test statistic, p-value, degrees of freedom, the estimate of pooled std. deviation (this is the square root of the pooled variance). If not pooled, Output: t test statistic, p-value, degrees of freedom Welch/Satterthwaite (make sure you round down if non-integer)

For Confidence Intervals for difference in means : 2-Samp T Int You have the choice of either DATA (raw data) or STATS If you choose DATA, you will provide the names of the lists where your data has been input. If you choose STATS, you already have the Statistics: You input the sample mean from first sample, sample std dev, n1 as well as the sample mean from the second sample, second sample standard deviation and n2, It asks you the confidence level. It asks you whether it is POOLED or NOT POOLED CALCULATE Output: Confidence interval and df.

Comparison of Means Matched Pairs Input the differences into a list L1 STAT TESTS T-Test DATA Enter the mean under the null hypothesis, the list where you have input the differences, i.e. L1, Freq: 1, Choose the side of the test, CALCULATE Confidence Interval for difference in Means (Matched Pairs) STAT TESTS T Interval DATA List: L1 Freq: 1 C-Level Input your confidence level CALCULATE

You might also like