Hi,
For the below data sample, my point estimates of interest are shown in Est_A and Est_B. Also, corresponding standard errors are se_A and se_B. I am trying to use the independent t-test (ttesti) to compare the point estimates for each pair of profile_new and quantity. I tried the code below but got an error: 'Est_A' found where number expected.

ttesti 1000 Est_A se_A 1000 Est_B se_B, level(95)
Thanks,
NM


Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input str10 profile_new str5 quanitity float(Est_A se_A Est_B se_B)
"0.W" "T" 31.517185   .1829556 31.157734   .1819736
"1.B" "T"  28.81505   .3884638  28.58561   .4067602
"2.H" "T" 32.466324   .6987514  32.71963   .6714985
"0.W" "H"  23.64789  .17877084 23.408606  .19303873
"1.B" "H"  18.13428  .33849216 17.833073   .3517772
"2.H" "H" 19.285946   .6132159  19.38368   .6201337
"0.W" "U"  7.869298  .10677572   7.74913  .11566485
"1.B" "U"  10.68077  .23934667 10.752533   .2633325
"2.H" "U" 13.180377   .4501724  13.33595   .4924842
"0.W" "P"  .7503153 .003215158  .7512898 .003675577
"1.B" "P"  .6293228 .007220326  .6238397 .007902899
"2.H" "P" .59399104  .01214507  .5923899 .013387448
end