1 / 1

cd c:\D'ocuments and Settings\'Administrator\Desktop\ wafo_new initwafo

Example: Testing whether month of birth of randomly chosen child born 2008 in Stockholm can be uniformly distrubuted : Input data for 2008 Evaluate Q statistic Find 0.05 quantile for Chi2(f) and compare it with Q. Matlab code:.

hamlet
Download Presentation

cd c:\D'ocuments and Settings\'Administrator\Desktop\ wafo_new initwafo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Example: Testing whether month of birth of randomly chosen child born 2008 in Stockholm can be uniformly distrubuted: • Input data for 2008 • Evaluate Q statistic • Find 0.05 quantile for Chi2(f) and compare it with Q. • Matlab code: cd c:\D'ocuments and Settings\'Administrator\Desktop\wafo_new initwafo x=[1044 1020 1090 1177 1201 1157 1132 1040 1030 1088 938 950]; n=sum(x) Q=n*sum((x/n-1/12).^2)/(1/12) f=12-1; wchi2inv(0.95,f)

More Related