Upload
tony-joseph
View
216
Download
0
Embed Size (px)
DESCRIPTION
chi
Citation preview
Goodness-of-FitChi-Square Test for Goodness-of-FitWatchband colorFrequency dataTanBrownMaroonBlackActual1240820Expected20202020k4df3Test Statisticc230.4p-value0.0000
You have to enter the correct df here.In a cross tabulation, df =(r-1)(c-1) where r and c are number of rows and number of columns respectively.
In the case of fitting the data to a distribution,df equals k - 1 - (the number of chosen parameters). It equals k - 1 if no parameters have been chosen.
For example, if a normal distribution with a chosen (as opposed to predetermined) mean and a chosen standard deviation is used to calculate the expected frequencies, then df = k - 3.
Normal FitChi-Square Test for Normal DistributionData16.58Mean6.31607526.69Std. Devn.3.630687306735.46Size4043.0450.15Class IntervalActualExpected612.5-infinityto2.685387693376.348c20.9000567608df379.272.6853876933to4.71857258576.852810.684.718572585to6.31607566.8p-value0.8254911.266.316075to7.91357741556.8102.637.913577415to9.946762306786.852114.29.9467623067toinfinity76.348120.23134.82146.01155.68164.41711.44188.05199.44200.98218.42221.36235.145246.71258.69261.168270.16286.18294.123012.53111.14328.57332.76346.58353.65366.88374.19389.05398.544013.320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
The df is 3 when the mean and standard deviation used are calculated from the sample data. When they are given in the null hypothesis, the df should be 5. In such a case, 1. Unprotect the sheet2. Enter the mean and standard deviation given in the null hypothesis in cells G4 and G5.3. Change the df in cell L9 to 5.This is the mean computed from sample data. This should be used only if nothing is mentioned about the mean or standard deviation in the null hypothesis. If the mean and standard deviation are specified in the null hypothesis: 1. Unprotect the sheet2. Enter the mean and standard deviation given in the null hypothesis in cells G4 and G5 respectively.3. Change the df in cell L9 to 5.This is the standard deviation computed from sample data. This should be used only if nothing is mentioned about the mean or standard deviation in the null hypothesis. If the mean and standard deviation are specified in the null hypothesis, 1. Unprotect the sheet2. Enter the mean and standard deviation given in the null hypothesis in cells G4 and G5 respectively.3. Change the df in cell L9 to 5.
IndependenceChi-Square Test for IndependenceAlfa RomeoFrequencies DataYates Correction012345678910Total122213456133#Rows3239454268194#Cols4377899680342df64050Test Statistic60c220.86701198097080p-value0.001990100Total138155172204000000669Expected Frequencies12345678910127.434977578530.814648729434.194319880440.5560538117000000240.017937219744.947683109149.877428998559.1569506726000000370.547085201879.237668161487.9282511211104.2869955157000000400000000005000000000060000000000700000000008000000000090000000000100000000000