200 likes | 314 Views
Lecture (2). Presentation of Hydrological Data. Presentation of Hydrological Data. Tabular form:. Graphical form:. Histogram for Grouped Data.
E N D
Lecture (2) Presentation of Hydrological Data
Presentation of Hydrological Data Tabular form: Graphical form:
Histogram for Grouped Data we divide a grouped data with many values into several class intervals and give the corresponding "frequency" of the class.. The number of data members that fall in a class interval is called the class frequency and the relative and percentage frequencies are computed as following formulas
How to Make the Histogram - Divide the data into number of classes (13) with certain class width. Class width=0.25 m
Frequency Diagram-Histogram (cont.) - The frequency is computed by counting the number of observations falling in each class, such number is called the absolute class frequency. = # of classes =Class width=0.25 m
Draw a Histogram To draw a histogram, we mark the class intervals on the horizontal axis. On each interval, we erect a vertical rectangle whose area represents the absolute or relative frequency • The total area of a histogram is 1
Empirical rules for the number of classes USGS: Choose class intervals that provides 20-30 well-distributed points on the curve. It is recommended (Spiegel, 1972): the number of classes should be between 5 and 20 depending of the sample size. A rough guide (Brooks and Carruthers, 1953): the number of classes should not exceed five times the logarithm of the number of observations. In principle, class limits or boundaries can be chosen arbitrarily.
Relative Frequency Diagram - The relative frequency is computed by dividing the absolute frequency by the number of observations, n. the absolute frequency of the jth class. the relative frequency of of jth class.
Frequency Polygon - If the adjacent points are connected by straight lines, a frequency polygon is obtained.
Cumulative (Mass) Frequency Diagram The cumulative frequency of variates not exceeding a given value is the sum of all frequencies less than or equal to the given value.
Relative Cumulative Frequency Diagram The cumulative frequency of variates not exceeding a given value is the sum of all frequencies less than or equal to the given value.
Why use Excel? • Software more accessible • Previous familiarity with software • Easy to format output • Better charting facilities than some statistical applications • Access to other key Excel facilities • Easy to use results with other applications
Problems with Excel • Errors due to rounding, missing data or extreme values • Not suitable for very large data sets • Some algorithms are numerically unstable - little or no information about algorithms employed • Analysis ToolPak results are not dynamic and may vary with results generated by functions
Frequency Histogram • Use COUNTIF to count how many times an item appears in a list Cell =COUNTIF(range, criteria) • Use FREQUENCY to calculate how often values occur within a range Cell =FREQUENCY(data_array, bins_array) • Can also use Histogram tool in Analysis Toolpak
Statistical Functions • Frequency Histogram • Mean, Median and Mode • Percentiles and Quartiles • Deviation and Squared Deviation about the Mean • Variance and Standard Deviation • Covariance and the Correlation Coefficient
Excel Example Data of rain gauge errors (mm)