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

Réponses (2)

joseph Frank
joseph Frank le 29 Avr 2011

0 votes

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 commentaire

Matt Fig
Matt Fig le 29 Avr 2011
You can use the {} Code button only on your code, to format your display in the original question.

Connectez-vous pour commenter.

joseph Frank
joseph Frank le 29 Avr 2011

0 votes

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

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by