Formating a table

1 次查看(过去 30 天)
joseph Frank
joseph Frank 2011-4-29
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
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 个评论
Matt Fig
Matt Fig 2011-4-29
You can use the {} Code button only on your code, to format your display in the original question.

请先登录,再进行评论。


joseph Frank
joseph Frank 2011-4-29
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

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by