Dear Stata Users,
I have a panel data file that follow children every two years for a total of 4 waves (later waves to be added as becoming available). The data contains information of child development indicators, family conditions and parents social economic status, etc. at each wave. I would like to use graphs or tables to display the change of children's conditions from one wave to the next for a series of categorical variables like family structure, parent marital status, parental absence, school grade level etc.
For example, for parental absence (due to migration), I have a category variable showing whether the child has 0, 1, or 2 parents absent from home at each wave of the data. I can use Stata to create a stacked bar chart showing the percent/number of children in each category of parental absence for each wave of the data. However, the bar chart does not show the number / proportion of transitions from one category to another between the adjacent waves. That is , how many or what % of children changed from category 0 to 1 or to 2 from wave 1 to wave 2, etc. I am thinking that if
I can create a line linking a category in one stacked bar to the different categories in the next bar, and each line showing a corresponding number or percent of the transitions, that will be the best. A cross tab frequency table of the wave 1 and wave 2 parental absence variables can show the frequency distributions. But I wonder whether there is any Stata commands for graphs that can do the job.
Thanks
Related Posts with Stacked Bar Chart or other Chart that can show change of groups/conditions through time in panel data
How to do -xthreg with intercept regimeHi All, I'm trying to estimate Panel Threshold Model using xthreg, i want to include different inte…
Funnelplot for proportions after "metaprop"Dear, thank you in advance for the time you dedicate to me. I'm doing an extensive meta-analysis of…
Calculate the mean of simulations by groups with panel dataHello everyone, My dataset contains: - mcruns (50 Monte Carlo simulations) - lgacode (50001 to 501…
Spearman Rank CorrelationThe following code calculates average monthly cross sectional Pearson Product moment Correlations. N…
How to find out whether household has faced a health shock any time during the past rounds?Hi statalist, Please consider the following example data Code: * Example generated by -dataex-. T…
Subscribe to:
Post Comments (Atom)
0 Response to Stacked Bar Chart or other Chart that can show change of groups/conditions through time in panel data
Post a Comment