Formating a table

Hi,
I have the following table
Panel A
window [-1.0] [-1,+1] [-5,+5] [-10,+10]
CAR 0.0000 0.0008 0.0010 -0.0045
P 0.9837 0.2570 0.3606 0.0014
N 2927 2927 2927 2927
Panel B
window [-1.0] [-1,+1] [-5,+5] [-10,+10]
CAR -0.0018 -0.0013 0.0007 -0.0043
P 0.0000 0.0265 0.4929 0.0010
N 2859 2874 2891 2895
I want to add ,*,and*** to this table by adding a superscript next to the CAR values where :* should be added if p<0.01,** if 0.01<p<0.05 and * if 0.05<p<0.10. Does anyone know how to do this with matlab

回答(2 个)

joseph Frank
joseph Frank 2011-4-29

0 个投票

oops sorry guys. the preview showed me a well formatted table: the basic idea is that you have 3 rows in each panel the e3rd row refers to the p vale and the first to CAR. How can I add a superscript to CARs. I want to add ,*,**,and*** to this table by adding a superscript next to the CAR values where :* should be added if p<0.01,** if 0.01<p<0.05 and * if 0.05<p<0.10. Does anyone know how to do this with matlab

1 个评论

You can use the {} Code button only on your code, to format your display in the original question.

请先登录,再进行评论。

Panel A
window [-1.0] [-1,+1] [-5,+5] [-10,+10]
CAR 0.0000 0.0008 0.0010 -0.0045
P 0.9837 0.2570 0.3606 0.0014
N 2927 2927 2927 2927
Panel B
window [-1.0] [-1,+1] [-5,+5] [-10,+10]
CAR -0.0018 -0.0013 0.0007 -0.0043
P 0.0000 0.0265 0.4929 0.0010
N 2859 2874 2891 2895

类别

帮助中心File Exchange 中查找有关 Tables 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by