SlideServe
Menu
Préférences
© SlideServe · v2026

Data Analysis to NTA

brooke avatar
20 diapositives · 443 Views · Aug 25, 2014

Data Analysis to NTA. Sang-Hyop Lee 41 Summer Seminar June 8, 2010. Data Sets for Statistical Analysis. Cross section vs. Time series Cross section time series; useful for analysis of aggregate variables (useful for cohort analysis). Panel (longitudinal)

Data Analysis to NTA - slide 1
01 / 20Data Analysis to NTA
1 / 17

Télécharger la présentation

Data Analysis to NTA
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Data Analysis to NTA Sang-Hyop Lee 41 Summer Seminar June 8, 2010

  2. Data Sets for Statistical Analysis • Cross section vs. Time series • Cross section time series; useful for analysis of aggregate variables (useful for cohort analysis). • Panel (longitudinal) • Repeated cross-section design: most common • Rotating panel design (Cote d’Ivore 1985 data) • Supplemental cross-section design (Kenya & Tanzania 1982/83 data, Malaysia and Indonesia LS) • Cross section with retrospective information • Micro vs. Macro

  3. Quality of Survey Data • Requires individual or household micro survey data sets. • Zvi Griliches, “A good survey data set has the properties of...” • Extent (richness): it has the variables of interest at a certain level of detail. • Reliability: the variables are measured without error. • Validity: the data set is representative.

  4. Data Problem (An example) • FIES (64,433 household with 233,225 individuals) • Measured for only urban areas (Valid?) • No single person households (Valid?) • No information on income for family owned business (Rich?) • Measured for up to 8 household members: (Reliable? Valid?)

  5. Extent (Richness):Missing/Change of Variables • Missing variables • Not measured or measured for a certain group • Labor portion of self-employment income • Change of variables over time • Institutional/policy change • New consumption items, new jobs, etc • Change of survey instrument/collapsing

  6. Reliability: Measurement Error • Response/reporting error • Respondents do not know what is required • Incentive to understate/overstate • Recall bias: related with period of survey • Using wrong/different reporting units • Heaping • Outliers • Coding error, top coding, missing observation • Overestimate/underestimate • Parents do not report/register their children until the children have name • Detect by checking survival rate of single ages • Discrepancy between aggregate and sum of individual values

  7. Validity: Censoring • Selection based on characteristics • Censoring due to the time of survey • Duration of unemployment (left and right censoring) • Completed years of schooling • Attrition (panel data)

  8. Categorical/Qualitative Variables • Converting categorical to single continuous variables • Grouped by age (population, public education consumption) • Income category (FPL) • Inconsistency over time • Categorical  continuous, and vice versa

  9. Units, Real vs. Nominal • Be careful about the reporting unit • Measurement units • Reporting period units (reference period, seasonal fluctuation, recall bias) • Nominal vs. Real • Aggregation across items • Quality change (e.g. computer) • Where inflation is a substantial problem

  10. Solution for Missing Variables • Missing is not usually zero!! • Ignore it; random non-response • Give up; find other source of data sets • Impute; “missing does not mean zero”. • Based on their characteristics or mean value • Based on the value of other peer group • Modified zero order regressions (y on x) • Create dummy variable for missing variables of x (z) • Replace missing variable with 0 (x’) • Regress y on x’ and z, rather than y on x

  11. Individuals, Households, Regions • Some data sets are individual level, but a lot of data are gathered from household • What is Hh? Definition of Hhh? • Regional characteristics are often quite important • PSU, clustering • Or data could be regional level

  12. Headship (Thailand, 1996)

  13. Measuring Consumption • Durables. • Underestimation: e.g. British FES • Using aggregate control mitigates the problem. • Home produced items: both income and consumption. • Allocation across individuals is difficult • Estimating some profiles, such as health expenditure is also difficult, partly due to various sources of financing.

  14. Measuring Income • “All of the difficulties of measuring consumption apply with greater force to the measurement of income” (Deaton, p. 29). • Need detailed information on “transactions” (inflow and outflow): an enormous task • Incentive to understate • Some surveys did not attempt to collect information on asset income

  15. Data Cleaning and Variable Manipulation • Case by case • Find out what data sets are available and choose the best one • Detect outliers and examine them carefully • A serious examination is required when inflation matters to check whether actual estimation process generates a variable • Make variables consistent • Convert categorical variables to continuous variables, vice versa. • Data merge, data reshape, construct variables…

  16. Weighting and Clustering • Weight should be used in the summary of variables/direct tabulation/regression/smoothing. • Frequency Weights; “fw” indicate replicated data. The weight tells us how many observations each observation really represents. . tab edu [w=wgt]  tab edu [fw=wgt] • Analytic Weights; “aw” are inversely proportional to the variance of an observation. It is appropriate when you are dealing with datacontaining averages. . su edu [w=wgt]  su edu [aw=wgt] . reg wage edu [w=wgt]  reg wage edu [aw=wgt]

  17. Weighting and Clustering (cont’d) • Probability Weights; “pw” are the sample weight which is the inverse of the probability that this observation was sampled. Free from heteroschedasticity problem. . reg wage edu [pw=wgt]  reg wage edu [(a)w=wgt], robust . reg wage edu [pw=wgt], cluster(hhid)  reg wage edu [(a)w=wgt], cluster(hhid)

  18. Smoothing (by Ivan on Thursday) • Will Shows the pattern more clearly by reducing sampling variance • Type of smoothing • “lowess” smoothing (Stata) does not allow the incorporation of weight. Expanding the data is computationally burdensome. • Friedman’s super smoothing (R) does.

  19. Rule of smoothing • Basic components should be smoothed, but not aggregations. For example, private health consumption and public health consumption profiles should be smoothed, but the sum of the two should not be smoothed. • The objective is to reduce sampling variance but not eliminate what may be “real” features of the data. • Avoid too much smoothing (e.g., health consumption for old ages). Use right bandwidth (span) • Public health spending may increase dramatically when individuals reach an age threshold, e.g., 65. This kind of feature of the data should not be smoothed away. • Due to unusual high health consumption by newborns, we tend not to smooth health consumption by age 0. This could be done by including estimated unsmoothed health consumption by newborns to the age profile of smoothed private health consumption by other age groups. • Only adults (usually ages 15 and older) receive income, pay income taxes and make familial transfer outflows. Thus, when we smooth these age profiles, we begin smoothing from the adults, excluding those younger age group who do not earn income. • However, problem arises when some beginning age group may appear to have negative values for these variables. This could be solved by replacing the negative by the unsmoothed values for the beginning age group.

  20. The End