Ok, let me just ask a very simple question then about panel data.
when using xt commands, if I use xtsum with the same dataex as above:
xtsum gives the mean over every line, not by actual patients...
how can I get summaries for the price by num_id (n=3), not by N?
when using xt commands, if I use xtsum with the same dataex as above:
Code:
xtsum price
Code:
Variable | Mean Std. Dev. Min Max | Observations -----------------+--------------------------------------------+---------------- price overall | 5.88 5.946427 1 23 | N = 25 between | .5247378 5.4 6.444444 | n = 3 within | 5.928236 .4355556 22.43556 | T-bar = 8.33333
how can I get summaries for the price by num_id (n=3), not by N?
Comment