Hey, I need to compute the table that i presented below, but i am not sure how to write the command especially for Column 3, which should report the p-value from a t-test of the difference between affected and unaffected firms, with the standard errors adjusted for clustering at the by the law change.
This table reports summary statistics for firm characteristics in the 2 years before a new law is adopted. The mean and standard deviation (in parentheses) for each variable are reported separately for two samples of firms. Column 1 reports estimates for firms incorporated in states that adopt a law in the following year. Column 2 reports estimates from the same year for firms incorporated in other states.

Thank you a lot in advance
Law No law p-value of difference
Assets 4.09
(2.50)
0.68
(2.044)
0.11
ROA 1.09
​​​​​​​(1.40)
0.088
(0.283)
0.23
ROE 4.07
​​​​​​​(2.20)
0.076
(0.42)
0.58
volatility 7.11
​​​​​​​(2.10)
0.066
(0.33)
0.28