I built a two levels hierarchical data like parents in families. I want to summarize my data. I have 100 parents nested in 34 families and I used variable such as parents gender and age in level 1 (individual level) and family income, family structure as level 2 (family level variables).
If I want descriptive statistics for each level i.e., individual and family level, should I built two table: 1 with level 1 stats using 100 as denominators for means and a another table with level 2 variable using 34 as denominator for calculations?
My head tells me to check with survey Package in r for complex survey design.
Can any one help me?
Thanks