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

Pseudo Failure Table

I have created a degradation graph and now I want to add some script that will create pseudo failure data and output a table for time to failure for each unit ID. The script gained from creating the table manually does not create a data table but a Life Distribution. Is there any script to allow me to create a Pseudo Failure Data Table.

The reason I want the data in a table is because I then want to plot a Survival Plot.

1 ACCEPTED SOLUTION

Accepted Solutions
Jemster
Level III

Re: Pseudo Failure Table

//Generate Failure Time Prediction Data
obj << Set Lower Spec Limit(100);
pfailures = obj << Save Crossing Time;
A_failures = pfailures << Get As Matrix;

//Put the data into a column
dt_3 = Data Table( "Stacked and Transposed New Dates Raw Data" );
col_pred = dt_3 << New Column( "Predictions" );
col_pred << Set Values(A_failures);
Survival( Y( :Predictions ), Failure Plot( 1 ) );

I used this code to get the graph I wanted

View solution in original post

3 REPLIES 3
peng_liu
Staff

Re: Pseudo Failure Table

I don't understand what is this step: "The script gained from creating the table manually does not create a data table but a Life Distribution."

Here is an example of steps to get Pseudo Failure using scripting and get Survival Plot.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Reliability/GaAs Laser.jmp" );
obj = dt << Degradation(
	Y( :Current ),
	Time( :Hours ),
	Label( :Unit ),
	Model Report(
		Simple Linear Path( X Scale( Linear ), Y Scale( Linear ), Intercept( Common ), Slope( Different ) )
	)
);
obj << Show Fitted Lines( 1 );
obj << Set Upper Spec Limit( 10 );//set pseudo failure threshold
pfailures = obj << Save Crossing Time;//get pseudo failure data in table
pobj = pfailures << run script("Life Distribution");//run the embedded script to analyze pseudo failure data
pobj << Show Survival Curve;//turn failure distribution curve to survival curve
Jemster
Level III

Re: Pseudo Failure Table

This works well but I'd like to then plot a Survival curve instead/as well as a Life Distribution curve. By a survival curve I mean 

analyse>reliability and survival>survival not analyse>reliability and survival>life distribution

Jemster
Level III

Re: Pseudo Failure Table

//Generate Failure Time Prediction Data
obj << Set Lower Spec Limit(100);
pfailures = obj << Save Crossing Time;
A_failures = pfailures << Get As Matrix;

//Put the data into a column
dt_3 = Data Table( "Stacked and Transposed New Dates Raw Data" );
col_pred = dt_3 << New Column( "Predictions" );
col_pred << Set Values(A_failures);
Survival( Y( :Predictions ), Failure Plot( 1 ) );

I used this code to get the graph I wanted