Dear All,
I hope you're doing great! While doing some initial summary stats of a database. I tried running the following code
However, I cannot see the number of observations by session correctly. The output looks something like this:

I'd like to see the total number of obs, and # of obs per session, but I'm not being able to. Any help is highly appreciated!
I hope you're doing great! While doing some initial summary stats of a database. I tried running the following code
Code:
global outcomes preferred1 preferred2 leader_self1 leader_self2 leader_others1 leader_others2 leadership_nominations1 leadership_nominations2 leadership_nominations foreach y of global outcomes { estpost tabstat `y' ,by(session) statistics(n min p1 p5 p25 p50 p75 p95 p99 max mean sd) esttab using "$tables/summary_`y'.tex", tex replace cells("N min p1 p5 p25 p50 p75 p95 p99 max mean sd") mtitle (`y') nonumber eststo clear }
I'd like to see the total number of obs, and # of obs per session, but I'm not being able to. Any help is highly appreciated!
Comment