Formating a table

조회 수: 5 (최근 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