I have a GUI I made that works well, but I can't seem to save it correctly-- I have read up on other posts and the SAS scripting guide, but any time I run the program the data doesn't save or show up anywhere?
Also, when I try to make another one with two other variables it shows up in the same window--is there a way to get around that and have it pop up in it's own window?
Lastly, how would I be able to get the slope and have it come out as a column I could append into the dataframe?
Thanks for any and all help, you guys are truly helpful!
Tyler
status3 = List(0);
//Distribution for the Nominal Area versus Inverse Resistance
New Window("Analysis for 1/Rn Vs. Nominal Area",
H List Box(
V List Box(;
Panel Box("Controls",
Text Box("Choose Analysis"),
choice1 = Check Box({"Distribution for 1/Rn Vs. Nominal Area"},
current3 = choice3 << Get(1);
xParam = Column_Area; //Corrected Area
yParam = Column_MaxIc; //Max Ic
x1Param = Column_NomArea; // Nominal Area
y1Param = Column_InverseRes; //Inverse Resistance
//Get the distribution
If( And( current3, Not(status3[1] ) ),
dt << Append(
dt = V List Box(
bivPlatform1 = Bivariate( by(Column_Wafer,Column_Reticle),
Y( Eval(y1Param) ),
X( Eval(x1Param) ),
Fit Line( Intercept(0),{Line Color( {57, 177, 67} )} ),
);
)
);
status3[1]=1; //mark as present
);
)
)
),
dt = V List Box(),
)
dont know why you can't find what you're saving, maybe try providing a specific path. usually the default dir is the place where the script is saved.
here's how to get the slope formula back into the data table. This is the same as running the fit model report and saving the prediction formulat to the table manually.
dt = Open("$SAMPLE_DATA/Big Class.jmp");
obj=dt<<FIT model=""></FIT>
note: if you're used to R or python, the indents don't matter in JMP, spelling counts, but not the case of the letters. "Fit Model" is the same as fitmodel, FiTmOdEL, or f i t m o d e l. "//" comments. Lists and variables don't need to be defined up front, but sometimes I'll use x={} or x=[] to make empty lists or matricies that I plan to fill later.