Formating a table

1 Ansicht (letzte 30 Tage)
joseph Frank
joseph Frank am 29 Apr. 2011
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

Antworten (2)

joseph Frank
joseph Frank am 29 Apr. 2011
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 Kommentar
Matt Fig
Matt Fig am 29 Apr. 2011
You can use the {} Code button only on your code, to format your display in the original question.

Melden Sie sich an, um zu kommentieren.


joseph Frank
joseph Frank am 29 Apr. 2011
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

Kategorien

Mehr zu Tables finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by