I would like to include the following confidence levels in my table’s output, shown in the Table function below.
Confidence Intervals = .80, .85, .90, .95, .98, .99
In[]:=
Tablei,
13
147
-InverseCDF[NormalDistribution[0,1],i]*
13
147
1-
13
147

147
,
13
147
+InverseCDF[NormalDistribution[0,1],i]*
13
147
1-
13
147

147
,{i,{.90,.925,.95,.975,.99,.995}}//TableForm
Out[]//TableForm=
0.9
0.0584241
0.118447
0.925
0.0547246
0.122146
0.95
0.0499163
0.126954
0.975
0.0425371
0.134334
0.99
0.0339572
0.142914
0.995
0.0281148
0.148756
In using the AssociationThread function (as shown below), the Table function output is undesirably treated as a single column list. My goal is to get the Table function data listed as above except proceeded with the confidence interval in a proceeding column. In other words, I want 4 columns instead of 3 with the first column containing the confidence intervals.
In[]:=
ci={".80",".85",".90",".95",".98",".99"}
Out[]=
{.80,.85,.90,.95,.98,.99}
In[]:=
AssociationThreadci,Tablei,
13
147
-InverseCDF[NormalDistribution[0,1],i]*
13
147
1-
13
147

147
,
13
147
+InverseCDF[NormalDistribution[0,1],i]*
13
147
1-
13
147

147
,{i,{.90,.925,.95,.975,.99,.995}}//Dataset
Out[]=
.80
{0.9,0.0584241,0.118447}
.85
{0.925,0.0547246,0.122146}
.90
{0.95,0.0499163,0.126954}
.95
{0.975,0.0425371,0.134334}
.98
{0.99,0.0339572,0.142914}
.99
{0.995,0.0281148,0.148756}