Lesson 1
Sources of Economic Data in India
Data for study can come from three broad sources: existing data, observational studies, and experiments. Existing data in India is available from internal company records, commercial data firms, industry associations, the internet, and government agencies; the choice of source depends on cost, quality and reliability.
Three Broad Data Sources
- Existing data: use data that has already been collected.
- Observational study: observe an ongoing phenomenon and record variables of interest without controlling or manipulating them.
- Experiment: create a controlled setting to generate new data when no existing data or ongoing phenomenon is available.
- The choice of method depends on money available, the quality of data needed, and the level of reliability required.
Existing Data: Private Sources
- Internal company records: employee records (salary, age, experience, leave, bonus), production, inventory, sales, credit and tax, and customer profiles. These are easily accessible and low cost, but firms are reluctant to share them unless the law requires it.
- External commercial sources are firms whose business is collecting, cleaning and selling data.
- CMIE (Centre for Monitoring Indian Economy): data on GDP, inflation, unemployment, household income and investment; access is paid.
- Nielsen India: consumer behaviour, brand and retail sales data.
- CRISIL and ICRA: credit ratings, industry reports and financial risk analysis.
- Bloomberg India: financial market, stock, bond yield and company financial data.
- Industry associations and interest groups (e.g., tourism, labour, education councils) also collect data.
- The internet provides stock prices, product prices and company financials, but the reliability of such data must be verified.
Government Data Sources
- Census of India: conducted every 10 years; the latest round was delayed by COVID.
- RBI: money supply, interest rates, inflation and exchange rates.
- Ministry of Finance and Ministry of Commerce and Industry.
- National Statistical Office (NSO) and MoSPI (Ministry of Statistics and Programme Implementation).
- Labour Bureau: employment and unemployment data.
- Government data is publicly and easily accessible.
Key terms
- Existing data
- Data already collected by some organisation, which can be reused for analysis.
- Observational study
- Recording data on variables without controlling or manipulating them.
- Experiment
- A deliberately designed study that generates new data under controlled conditions.
- CMIE
- Centre for Monitoring Indian Economy, a private provider of paid macroeconomic and household data.
- MoSPI
- Ministry of Statistics and Programme Implementation, the Indian government's official statistics ministry.
Lesson 2
Classification and Tabulation of Data
Classification is the process of arranging data into groups or sequences based on common characteristics, which makes the data simpler, condensed and easier to compare. Data can be classified geographically, chronologically, qualitatively or quantitatively. Classified data rests on the concepts of variables, frequency and statistical series.
Classification: Meaning, Objectives and Requisites
- Classification arranges data into groups or classes that share common characteristics (e.g., students grouped by class: 10th, 11th, 12th).
- Objectives: simplify and condense mass data, show similarities and dissimilarities, facilitate comparison, study relationships (e.g., income and education), help in tabulation, and give a clear mental picture.
- Requisites of a good classification: suitable to the objective, unambiguous, exhaustive (every unit has a place), flexible, mutually exclusive (no overlap), and stable (the basis does not keep changing).
Methods of Classification
- Geographical (spatial): classified by location or region (e.g., population of states in 2011).
- Chronological (temporal): classified by time (e.g., census population for 1951, 1961, ..., 2011).
- Qualitative: classified by an attribute such as gender, literacy, religion or caste.
- Simple classification: one attribute giving two classes (e.g., male/female).
- Manifold classification: more than one attribute, with subclasses of subclasses (e.g., gender, then literate/illiterate, then Hindu/non-Hindu).
- Quantitative: classified by measurable numerical characteristics such as height, weight, income or age.
Variables and Frequency
- A variable is a characteristic that changes in value across items, places or time; each individual value is called a variate.
- A discrete variable takes exact, whole values obtained by counting (e.g., number of children per family).
- A continuous variable can take any value within a range, including fractions, and is obtained by measurement (e.g., a weight of 42.6 kg).
- Frequency is the number of times a value appears (e.g., 9 students scoring 70 means the frequency of 70 is 9).
- A frequency distribution is a table that shows values (or classes) and their frequencies side by side.
Statistical Series
- A statistical series is data arranged in a logical order.
- By characteristic: time series (chronological), spatial series (geographical) and condition series (based on a condition such as weight).
- By construction: individual series, discrete series and continuous series.
Key terms
- Classification
- Arranging data into groups or sequences according to common characteristics.
- Mutually exclusive
- Each item belongs to exactly one class, with no overlap between classes.
- Exhaustive
- Every unit of data has a class to fit into.
- Manifold classification
- Qualitative classification based on more than one attribute, with further subdivisions.
- Discrete variable
- A variable that takes only exact, countable values.
- Continuous variable
- A variable that can take any value, including fractions, within a range.
- Frequency distribution
- A table showing values of a variable alongside their frequencies.
Lesson 3
Diagrams and Graphs for Statistical Data
Diagrams and graphs present statistical data in a simple, attractive form that is easy to understand and remember. Diagrams are one-dimensional (bar diagrams) or two-dimensional (pie diagrams), while graphs include histograms, frequency polygons, frequency curves, ogives and time-series line graphs.
Diagrammatic presentation
- Data shown as diagrams are called a diagrammatic presentation: simple and attractive.
- One-dimensional (1D): bar diagrams. Bars may be vertical or horizontal, start from a common base line, and have equal width.
- Two-dimensional (2D): pie (circular) diagrams.
Types of bar diagrams
- Simple bar diagram: one set of data, e.g. birth rate in different decades.
- Multiple bar diagram: two or more related series placed side by side for comparison, e.g. birth rate vs death rate, imports vs exports, income vs expenditure.
- Component (sub-divided) bar diagram: one bar for the total, divided into components, e.g. total crop = rice + wheat.
- Percentage bar diagram: each bar's total length = 100%; each part is converted to a percentage and stacked cumulatively (e.g. 18.3 + 22.6 = 40.9).
- Deviation bar diagram: shows positive and negative values above and below a zero base line, e.g. savings and dissavings, profit and loss, temperatures above and below zero.
Pie diagram
- A circle divided into sectors, each showing a share of the whole and given its own shade.
- Angle of a sector = (component value / total) x 360°.
Graphs of frequency distributions
- Histogram: adjacent rectangles representing a continuous frequency distribution.
- Unequal class intervals: adjust the frequencies to a common width first. For example, a class twice as wide has its frequency halved.
- When only mid-values are given, find the class limits as mid-value ± half the class width.
- Inclusive classes must be converted to exclusive classes by subtracting 0.5 from each lower limit and adding 0.5 to each upper limit.
- Frequency polygon: join the mid-points of the bar tops with straight lines. It can be drawn with or without a histogram.
- Frequency curve: a smooth free-hand curve through the mid-points, extended to meet the base at hypothetical classes.
- Ogive (cumulative frequency curve): the less-than ogive rises (e.g. 3, 13, 33, 63 … 100); the more-than ogive falls from the total.
Time-series graphs and evaluation
- One-variable graph: a single variable plotted over equal time intervals, e.g. profit by year.
- Two-or-more-variable graph: several variables plotted for the same time periods on one graph.
- Merits: simple, attractive, easy to understand and remember compared with tables, universally used, and quick to prepare.
- Demerits: show only approximate values, are of little use to experts for further analysis, and can be misused.
Key terms
- Multiple bar diagram
- Bars for two or more related series drawn side by side for comparison.
- Component bar diagram
- A bar divided into parts showing the components of a total.
- Percentage bar diagram
- A bar whose total length represents 100%, with each part shown as a percentage.
- Deviation bar diagram
- Bars showing positive and negative values on either side of a zero line.
- Pie diagram
- A circle divided into sectors proportional to the component values.
- Histogram
- Adjacent rectangles representing a continuous frequency distribution.
- Ogive
- A graph of cumulative frequencies, drawn as a less-than or more-than curve.
Lesson 4
Mean, Median and Mode
Measures of central tendency include the arithmetic mean, a mathematical average, and the median and mode, which are positional averages. Each can be found for individual, discrete and continuous series using standard formulas.
Arithmetic mean
- Individual series: direct method X̄ = Σx/n; assumed mean method X̄ = A + Σd/n with d = x − A; step deviation method X̄ = A + (Σd'/n) x c with d' = d/c.
- Discrete series: X̄ = Σfx/Σf, or A + Σfd/Σf, or A + (Σfd'/Σf) x c.
- Continuous series: use mid-points m: X̄ = Σfm/Σf, with d = m − A.
- All three methods always give the same answer.
- Special cases: convert open-end classes and cumulative frequency tables into normal classes. Inclusive or unequal classes need no conversion; simply use their mid-points.
Properties of the mean
- The sum of deviations from the mean is zero: Σ(x − X̄) = 0.
- The sum of squared deviations from the mean is the least possible.
- The mean is affected by both change of origin and change of scale.
- If every observation equals k, the mean is k.
- Combined mean = (n1X̄1 + n2X̄2)/(n1 + n2).
Median
- The median is the middle value after arranging the data in ascending or descending order.
- Individual series: median = size of the (n+1)/2 th item. For the 4.5th item, average the 4th and 5th items.
- Discrete series: find the (N+1)/2 th item, locate the first cumulative frequency that is equal to or greater than it, and read the corresponding value.
- Continuous series: find the N/2 th item to identify the median class, then median = L + ((N/2 − cf)/f) x i.
- In this formula, cf is the cumulative frequency of the class before the median class.
Mode
- The mode is the most frequently occurring value; in a discrete series it is the value with the highest frequency.
- Grouping method: build a frequency column plus 5 grouped columns (groups of 2; groups of 2 skipping the first; groups of 3; groups of 3 skipping 1; groups of 3 skipping 2). Mark the maximum in each column, tick the related values in an analysis table, and choose the value with the most ticks.
- Continuous series: Mode = L + ((f1 − f0)/(2f1 − f0 − f2)) x i.
- If 2f1 − f0 − f2 is zero or negative, use Mode = L + ((f1 − f0)/(|f1 − f0| + |f1 − f2|)) x i.
Key terms
- Arithmetic mean
- The sum of the observations divided by their number.
- Step deviation
- d' = (x − A)/c, where c is a common factor.
- Median
- The middle value of data arranged in order.
- Mode
- The value that occurs most frequently.
- Modal class
- The class with the highest frequency (or with the most ticks in the grouping method).
- Combined mean
- (n1X̄1 + n2X̄2)/(n1 + n2).
Lesson 5
Geometric Mean and Harmonic Mean
The geometric mean (GM) is the nth root of the product of n values and is computed with logarithms when there are many values. It is suited to averaging rates of change and ratios. The harmonic mean (HM) is the reciprocal of the arithmetic mean of the reciprocals.
Geometric mean: definition and formulas
- GM = (x1 · x2 · … · xn)^(1/n), e.g. GM of 1, 2, 3 = (6)^(1/3).
- A power of 1/2 is a square root, 1/3 a cube root, and 1/n the nth root.
- For many values: log GM = Σlog x / n, so GM = Antilog(Σlog x / n).
- Weighted GM = Antilog(Σ(w log x)/Σw).
- Combined GM = Antilog((n1 log G1 + n2 log G2)/(n1 + n2)). Do not forget the antilog.
Uses of the GM
- Finding average percentage increase, such as growth rates.
- Measuring relative change, which makes it important in index numbers.
- Situations where small items should get larger weight: it gives large weight to small items and small weight to large items.
- Example: for supply quality of 90, 10 and 80, a single low value pulls the GM down much more than the AM.
Properties of the GM
- Product of the n values = GM^n.
- log GM = arithmetic mean of the logarithms of the observations.
- Product of the ratios of each value to the GM = 1: (x1/G)(x2/G)…(xn/G) = 1.
- A combined GM can be found from the GMs and sizes of the groups.
Merits and demerits of the GM
- Merits: rigidly defined; based on all items; suitable for algebraic treatment; gives less weight to large items; has sampling stability; best for averaging ratios and rates; less affected by extreme values.
- Demerits: difficult to compute because it requires logs and antilogs; cannot be found unless all values are known; may not be one of the actual values in the series.
- It becomes zero if any value is zero and is indeterminate if any value is negative.
Harmonic mean
- Step 1: take the reciprocal of each value.
- Step 2: add the reciprocals.
- Step 3: HM = n divided by that sum, i.e. HM = n / Σ(1/x).
- Example: HM of 1, 2, 3 = 3/(1 + 1/2 + 1/3) = 3/(11/6) = 18/11 ≈ 1.64.
Key terms
- Geometric mean
- The nth root of the product of n values.
- Antilog
- The inverse of the logarithm, used to recover the GM from log GM.
- Weighted GM
- Antilog(Σw log x / Σw).
- Harmonic mean
- n divided by the sum of the reciprocals of the values.
Lesson 6
Measures of Dispersion: Range to Coefficient of Variation
Measures of dispersion describe how spread out data are around a central value. Absolute measures (range, quartile deviation, standard deviation) are in the data's units, while relative measures (coefficient of range, coefficient of QD, coefficient of variation) are unit-free and allow comparison between series.
Range
- Range = Largest value (L) - Smallest value (S).
- Coefficient of range = (L - S)/(L + S).
- Simple to calculate but depends only on the two extreme values, so it is highly affected by outliers.
Quartile Deviation
- QD (semi-interquartile range) = (Q3 - Q1)/2.
- Coefficient of QD = (Q3 - Q1)/(Q3 + Q1).
- Based on the middle 50% of the data, so it is not affected by extreme values and is useful for open-ended distributions.
Standard Deviation
- SD = sqrt( sum (x - mean)^2 / n ); variance = SD^2.
- Shortcut formula: SD = sqrt( sum x^2/n - (mean)^2 ).
- Uses every observation and is the most widely used measure, but it is sensitive to extreme values.
- Adding a constant to every value leaves SD unchanged; multiplying every value by k multiplies SD by |k|.
Coefficient of Variation
- CV = (SD / mean) x 100.
- A relative measure used to compare the variability of series with different units or different means.
- The series with the higher CV is less consistent (less stable); the one with the lower CV is more consistent.
Key terms
- Dispersion
- The extent to which values are spread around a central value.
- Range
- The difference between the largest and smallest values.
- Quartile deviation
- Half of the interquartile range: (Q3 - Q1)/2.
- Standard deviation
- The square root of the mean of squared deviations from the mean.
- Variance
- The square of the standard deviation.
- Coefficient of variation
- SD as a percentage of the mean; a unit-free measure of relative variability.
Lesson 7
Lorenz Curve and Gini Coefficient
The Lorenz curve is a graphical way to show inequality in a distribution such as income or wealth. The Gini coefficient turns the gap between the Lorenz curve and the line of equality into a single number between 0 and 1.
Constructing the Lorenz Curve
- Arrange the units (for example, households) in ascending order of income.
- Compute the cumulative percentage of population and the cumulative percentage of income.
- Plot cumulative % of population on the X-axis and cumulative % of income on the Y-axis, both running from 0 to 100.
- The 45-degree diagonal is the line of perfect equality.
Interpreting the Lorenz Curve
- The curve always lies below the line of equality and bows away from it.
- The farther the curve is from the diagonal, the greater the inequality.
- If two curves do not intersect, the inner one (closer to the diagonal) shows less inequality.
- If the curves cross, the comparison is ambiguous.
Gini Coefficient
- G = A/(A + B), where A is the area between the line of equality and the Lorenz curve and B is the area under the Lorenz curve.
- Because A + B = 0.5, G = 2A = 1 - 2B.
- G = 0 means perfect equality; G = 1 means perfect inequality.
- It is often expressed as a percentage (the Gini index).
Key terms
- Lorenz curve
- A plot of cumulative % of income against cumulative % of population.
- Line of equality
- The 45-degree line, where each x% of the population earns x% of the income.
- Gini coefficient
- The ratio of the area between the equality line and the Lorenz curve to the total area under the equality line.
Lesson 8
Karl Pearson and Spearman Rank Correlation
Correlation measures the strength and direction of the relationship between two variables. Karl Pearson's coefficient r measures linear correlation using actual values, while Spearman's rank correlation uses ranks and suits qualitative or ordinal data.
Karl Pearson's Coefficient
- r = Cov(X,Y)/(SDx x SDy) = sum(dx dy)/sqrt(sum dx^2 x sum dy^2), where dx = x - mean of x and dy = y - mean of y.
- r lies between -1 and +1: r = +1 is perfect positive, r = -1 is perfect negative, and r = 0 means no linear correlation.
- r is independent of change of origin and scale (apart from sign if a scale factor is negative).
- r measures only linear relationships, and correlation does not imply causation.
Spearman's Rank Correlation
- R = 1 - 6 sum D^2 / (n(n^2 - 1)), where D is the difference between the paired ranks.
- Used for ranked or qualitative data such as beauty or intelligence.
- Tied ranks: give each tied item the average of the ranks it would occupy, and add (m^3 - m)/12 to sum D^2 for each tie group of size m.
- R also lies between -1 and +1.
Key terms
- Correlation
- The degree of association between two variables.
- Covariance
- The average product of deviations from the respective means.
- Rank correlation
- Correlation computed from the ranks of observations rather than their actual values.
- Tied ranks
- Equal values that are assigned the average of the ranks they would occupy.
Lesson 9
Simple Regression Lines
A simple regression line estimates one variable from another: y on x (y = a + bx) predicts y from x, while x on y (x = a + by) predicts x from y. For individual series (no frequencies) there are five methods: normal equations (least squares) and four methods based on regression coefficients. Learn the y-on-x versions; the x-on-y versions follow by swapping x and y.
Method 1: Normal equations (least squares)
- Regression of y on x: y = a + bx.
- Normal equations: Σy = na + bΣx and Σxy = aΣx + bΣx^2 (multiply every term of the first by x).
- Regression of x on y: x = a + by, with Σx = na + bΣy and Σxy = aΣy + bΣy^2.
- Build a table with x, y, xy, x^2 (add y^2 if x on y is also needed), find the sums, then solve the two equations simultaneously for a and b.
- To estimate a value, substitute into the fitted equation; the variable being estimated must be on the left-hand side.
Regression-coefficient form
- y on x: y - ȳ = byx (x - x̄); x on y: x - x̄ = bxy (y - ȳ).
- Avoids solving simultaneous equations; only the way of finding the coefficient changes between methods.
Four ways to find the regression coefficient
- Actual values: byx = (nΣxy - ΣxΣy) / (nΣx^2 - (Σx)^2); bxy = (nΣxy - ΣxΣy) / (nΣy^2 - (Σy)^2).
- Deviations from actual mean (x = X - x̄, y = Y - ȳ): byx = Σxy / Σx^2; bxy = Σxy / Σy^2.
- Deviations from assumed mean (dx, dy): byx = (nΣdxdy - ΣdxΣdy) / (nΣdx^2 - (Σdx)^2).
- Using r and standard deviations: byx = r·σy/σx; bxy = r·σx/σy.
- Correlation from coefficients: r = ±√(byx × bxy).
Key terms
- Regression of y on x
- Line y = a + bx used to estimate y for a given x.
- Normal equations
- Equations from the least squares method used to solve for a and b.
- Regression coefficient (byx)
- Slope of the y-on-x line; change in y per unit change in x.
- Individual series
- Data given as paired values without frequencies.
- Assumed mean
- A convenient chosen value from which deviations are taken to simplify calculation.
