cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
r30363
Level I

To make a combined data table from life distribution

I have this report, want to make a combined data table, tried the following code, does not work, any suggestions?

 

rld = ld << report;
dt = rld[Table Box( 6 )] << Make Combined Data Table;

 

r30363_0-1623865249466.png

 

2 REPLIES 2

Re: To make a combined data table from life distribution

Hi, here is a way to do this:

 

Cheers,

Brady

 

Names Default To Here(1);

dt1 = open("$Sample_Data\Reliability\Locomotive.jmp");

lifeDist = dt1 << Life Distribution(
	Y( :Time ),
	Censor( :censor ),
	Censor Code( 1 ),
	<<Fit Lognormal,
	Confidence Interval Method( Wald ),
	Interval Type( Simultaneous ),
	Show Event Plot Frequency Label( 0 ),
);

dt2 = report(lifeDist)[tablebox(4)] << Make Combined Data Table;

r30363
Level I

Re: To make a combined data table from life distribution

Sorry I did not post my script, here it is, it is in the same format ad Brady shared, but I got the below error message
Subscript problem in access or evaluation of 'rld[ /*###*/Table Box(6)]' , rld[/*###*/Table Box( 46)]

ld = VT_Sweep_EVO_Sum << Life Distribution(
		Perspective( Compare Groups ),
		Y( :Low, :High ),
		Grouping( :Readout ),
		Freq( :Name( "Sum(PDF)" ) ),
		Confidence Interval Method( Wald ),
		Select Distribution( Distribution, Nonparametric ),
		Select Scale( Nonparametric ),
//		Select Distribution( Distribution, Normal ),
//		Select Scale( Normal ),
		Tabbed Report( 0 ),
		Show Survival Curve( 1 ),
		By( :Lot, :Wf, :Name( "PreconTemp(C)" ),:Name( "Precon-cycles" ),:Name( "StressTemp(C)" ),:ReadTemp ),
		SendToReport(
        Dispatch(
            {"Life Distribution - Compare Groups", "Individual Group"},
            "",
            List Box( 2 ),
            {Set Summary Behavior( "Collapse" )}
        ),
        Dispatch(
            {"Life Distribution - Compare Groups", "Individual Group"},
            "",
            List Box( 15 ),
            {Set Summary Behavior( "Collapse" )}
        )
    )
);
	
rld = ld << report;
dt = rld[TableBox(6)]<<Make Combined Data Table;