



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Excel2013-Create-Confidence-Intervals-Results.pdf Tab: 0 Here are five ways to create confidence intervals using Excel 2013. The first two methods can only be used for a single group The last three methodscan be used for multiple groups UPDATE AUTOMATICALLY SINGLE GROUP ONLY 1A In the Data Analysis toolkit, use the Descriptive Statistics comand NO 1B Use the Average, Stdev, Count and Confidence.T functions YES MULTIPLE GROUPS 2A Use Average, Stdev and Count functions inside a Pivot Table NO 2B Use AverageIf and CountIf functions. Use Stdev(IF) in an array NO* 2C Use Data functions: Daverage, Dstdev and Dcount YES
Excel2013-Create-Confidence-Intervals-Results.pdf Tab: 1A Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 1A Single sample: Create Margin of Error using Descriptive Statistics command 0 1 0 0 3 5 67 5 Step-by-step instructions: www.StatLit.org/pdf/Excel2013-Create-Confidence-Intervals-Slides.pdf 0 1 0 1 4 1 62 4 Formatted data worksheet: www.StatLit.org/XLS/Excel2013-Create-Confidence-Intervals-Data.xlsx 0 1 0 1 3 4 60 5 0 1 1 0 4 5 60 4 Step-by-step instructions 0 0 1 0 3 1 71 3 1) From Data menu, select "Data Analysis". Select "Descriptive Statistics.; Press OK. 0 0 0 0 5 2 76 6 Select input range: A1:H241. Make sure to include row 1 with column headings. 0 0 1 0 1 1 63 5 Check the check box: "Labels in first row" 1 0 0 0 4 3 65 5 Under "Output Options", select radio button for "Output Range". Set range at J 1 0 1 0 3 5 59 7 Check boxes for "Summary statistics" and "Confidence Level..." Press OK. 0 1 1 1 2 1 67 6 0 1 0 0 1 5 60 5 2) Move Question IDs over the associated numeric results (one col to the right) 1 0 1 0 3 2 68 5 Select and delete columns with repeated row descriptions: X, V, T, R, P, N and L. 0 1 1 1 1 3 61 3 Tighten column width so it prints on single page (landscape). Format as shown. 0 0 1 0 4 2 67 6 Confidence (bottom line) is margin of error -- it is not the confidence interval 1 0 0 0 4 2 70 6 You could use this data to create the confidence interval (not required for this exercise) 1 0 0 1 5 1 54 5 Confidence interval for Q1: From 0.46-0.06 to 0.46+0.06. From 0.40 to 0.52. 1 0 1 1 3 2 48 6 Row J K 1 0 1 1 4 1 64 6 19 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q 0 1 1 1 3 1 73 4 20 1 0 0 0 5 1 66 7 Mean 0.46 0.28 0.59 0.37 3.48 2.59 65.40 5. 0 0 1 0 3 2 69 5 Standard Error 0.03 0.03 0.03 0.03 0.08 0.09 0.76 0. 0 0 1 0 2 3 76 4 Median 0 0 1 0 4 2 65 6 0 0 0 0 4 2 65 6 Mode 0 0 1 0 3 2 76 6 0 0 1 0 3 4 62 4 Standard Deviation 0.50 0.45 0.49 0.48 1.21 1.42 11.79 1. 0 1 1 1 5 4 76 6 Sample Variance 0.25 0.20 0.24 0.23 1.46 2.03 139.08 1. 0 0 1 0 4 4 73 6 Kurtosis -1.99 -1.03 -1.87 -1.70 -0.33 -1.22 0.39 0. 1 0 1 0 5 1 76 3 Skewness 0.17 0.99 -0.38 0.56 -0.57 0.43 0.34 0. 0 0 0 0 1 4 67 6 Range 1 1 1 1 4 4 66 6 0 0 1 1 4 2 43 6 Minimum 0 0 0 0 1 1 34 3 1 0 1 1 4 2 73 6 Maximum 1 1 1 1 5 5 100 9 1 0 0 0 5 4 57 6 Sum 110 67 142 88 835 622 15697 1323 0 0 0 0 2 4 66 7 Count 240 240 240 240 240 240 240 240 1 0 0 0 5 1 52 4 Confidence Level(95%) 0.06 0.06 0.06 0.06 0.15 0.18 1.50 0.
Excel2013-Create-Confidence-Intervals-Results.pdf Tab: 2A Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 2A Two subgroups: Create Confidence Intervals using a Pivot Table 0 1 0 0 3 5 67 5 Can't use Confidence function in a pivot table. Must use Z, StDev and Count 0 1 0 1 4 1 62 4 Insert Pivot table behaves like a command -- not a function! Data is not automatically updated 0 1 0 1 3 4 60 5 1 In cell N29, enter confidence level: 0. 0 1 1 0 4 5 60 4 2 Select data in A1:B241. Insert pivot-table. Output to existing sheet: K29. 0 0 1 0 3 1 71 3 3 Use Q2 for column headings. Use Q1 for data values. Drag Q1 into values three times. 0 0 0 0 5 2 76 6 4 To get multiple data values to appear in same columns (multiple rows), 0 0 1 0 1 1 63 5 drag "Σ Values" from Columns area to Rows area. 1 0 0 0 4 3 65 5 5 For data values, change "summarize values by" or "Value Field Settings": 1 0 1 0 3 5 59 7 Change 1st Sum to Average; 2nd Sum to Stdev, 3rd Sum to Count 0 1 1 1 2 1 67 6 6 Create Margin of Error (N20), difference in proportions (N22) and confidence intervals (N23:N24) 0 1 0 0 1 5 60 5 Don't reference pivot table cells by pointing. Reference them using column and row (E.g., N32) 1 0 1 0 3 2 68 5 Pull N20 left to column L.. Pull N23:N24 left to column L. 0 1 1 1 1 3 61 3 7 Do confidence intervals overlap? Compare L23:L24 with M23:M24 for overlap. 0 0 1 0 4 2 67 6 Is difference in proportions statistically significant? If no overlap, say "Yes"; otherwise "No". 1 0 0 0 4 2 70 6 Row J K L M N Formula for cell to the left 1 0 0 1 5 1 54 5 17 1 Go to Step 2 Confidence Level 0.95 Manual entry 1 0 1 1 3 2 48 6 18 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 1 0 1 1 4 1 64 6 19 Q1 if Q2=0 Q1 if Q2=1 Q 0 1 1 1 3 1 73 4 20 6 Margin of Error 7% 12% 6% =CONFIDENCE.NORM(1-$N17,N32,N33) 1 0 0 0 5 1 66 7 21 Pull N20 left ot L20. Type cells (N32) -- do not point (Won't drag) 0 0 1 0 3 2 69 5 22 Difference in sample proportions. 3% =ABS(M31-L31) 0 0 1 0 2 3 76 4 23 CI-Upper-Right 53% 60% 52% =N31+N20 Pull N23 left to L 0 0 0 0 4 2 65 6 24 CI-Lower-Left 38% 36% 40% =N31-N20 Pull N24 left to L 0 0 1 0 3 4 62 4 25 Note: Formulas in columns L and M are determined by those in column N 0 1 1 1 5 4 76 6 26 7 Confidence Intervals overlap/touch? YES Manual entry. 0 0 1 0 4 4 73 6 27 Is difference statistically significant? NO Manual entry. Use overlap test 1 0 1 0 5 1 76 3 28 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 0 0 0 0 1 4 67 6 29 2 Column Labels 0 0 1 1 4 2 43 6 30 Values 0 1 Grand Total 1 0 1 1 4 2 73 6 31 3 Average of Q1 0.45 0.48 0. 1 0 0 0 5 4 57 6 32 4 StdDev of Q1_2 0.50 0.50 0. 0 0 0 0 2 4 66 7 33 5 Count of Q1_3 173 67 240 1 0 0 0 5 1 52 4 34
Excel2013-Create-Confidence-Intervals-Results.pdf Tab: 2B Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 2B Two sub-groups: Create Confidence Intervals using array functions 0 1 0 0 3 5 67 5 This approach uses only functions -- no commands. But one function is inside an array. 0 1 0 1 4 1 62 4 A function inside an array doe not permit any changes in the array data. 0 1 0 1 3 4 60 5 Step-by-step instructions: 0 1 1 0 4 5 60 4 1 Enter confidence level in L15. Create Z-cutoff (2 tails) in cell N15. 0 0 1 0 3 1 71 3 2 M18: Enter AVERAGEIF function for Q1 when Q2=1. Drag left to L20. Replace =1 with =0. 0 0 0 0 5 2 76 6 3 M21: Enter STDEV of Q1 if Q2=1. Enter using CTRL-SHIFT-ENTER. Drag left. Change =1 to =0. 0 0 1 0 1 1 63 5 4 M24: Enter COUNTIF of Q1 for Q2=1. Drag left. Replace =1 with =0. 1 0 0 0 4 3 65 5 5 M25: Enter Margin of Error for Q1 when Q2=1. Drag left. 1 0 1 0 3 5 59 7 6 M27: Enter upper right end of Q1 confidence interval for Q2=1. Drag left. 0 1 1 1 2 1 67 6 M28: Enter lower-left end of Q1 confidence interval for Q2=1. Drag left. 0 1 0 0 1 5 60 5 7 M29: Do confidence intervals overlap or touch? Compare L27:L38 with M27:M28. 1 0 1 0 3 2 68 5 Row M30: is difference in proportions statistically significant? If M29 = No, say "Yes", otherwise "No" 0 1 1 1 1 3 61 3 14 J K L M N Formula for cell to the left 0 0 1 0 4 2 67 6 15 1 Confidence Level 0.95 Z (2 tail) 1.960 =NORM.S.INV(0.5+L15/2) 1 0 0 0 4 2 70 6 16 1 0 0 1 5 1 54 5 17 L18: Change 1 to 0 Q2=0 Q2=1 Drag M19 to M18. Change =1 to = 1 0 1 1 3 2 48 6 18 2 Q1 average 45% 48% =AVERAGEIF($B2:$B241,"=1",$A2:$A241) 1 0 1 1 4 1 64 6 19 Pull left 0 1 1 1 3 1 73 4 20 L21: Change 1 to 0 Do not enter braces shown below! 1 0 0 0 5 1 66 7 21 3 Q1 Stdev 50% 50% {=STDEV(IF($B2:$B241=1,$A2:$A241))} 0 0 1 0 3 2 69 5 22 Pull left Use CTRL-SHIFT-ENTER to create braces! 0 0 1 0 2 3 76 4 23 L24: Change 1 to 0 0 0 0 0 4 2 65 6 24 4 Q1 sample size 173 67 =COUNTIF($B2:$B241,"=1") Pull left 0 0 1 0 3 4 62 4 25 5 Q1 Margin of Error 7% 12% =$N15*M21/SQRT(M24) Pull left 0 1 1 1 5 4 76 6 26 0 0 1 0 4 4 73 6 27 6 Q1 Cnf Int Up-Right 53% 60% =M18+M25 Pull left 1 0 1 0 5 1 76 3 28 Q1 Cnf Int Low-Left 38% 36% =M18-M25 Pull left 0 0 0 0 1 4 67 6 29 7 Overlap or touch? YES 0 0 1 1 4 2 43 6 30 Is difference stat. significant? NO Use overlap test 1 0 1 1 4 2 73 6 31 Change =1 to =0 in L19, L22 and L25. 1 0 0 0 5 4 57 6 32 0 0 0 0 2 4 66 7 33 If quantitative data, use T in N15. 1.970 =T.INV.2T(1-L15,COUNTA(A2:A241)) 1 0 0 0 5 1 52 4