編寫具有多個組的 Fit Life By X 的「製作組合資料表」腳本我正在嘗試為 Fit Life By X 建立一個通用腳本並製作成組合資料表”,如下所示:
flx = Fit Life by X(
Distribution( Weibull ),
Nested Model Tests( Location and Scale ),
Y( :Name("Left"), :Name("Right") ),
X( :d ),
By(:Name ,:Location,:Street,:Apt,:Number),
<<FIT weibull=""></FIT>
This generic script will be applied to multiple different data table where the values of all "By" columns will change which makes the line with "....<<<CODE class=" language-jsl">Make Combined Data Table" not applicable.
How do I script to make a generic script for this?
<LINGO-LABS id="lingo-labs-723015" slang="en-US" mode="CREATE"><LINGO-LABEL>自動化和腳本編寫</LINGO-LABEL><LINGO-LABEL>視窗</LINGO-LABEL></LINGO-LABS>回覆:編寫具有多個群組的 Fit Life By X 的「製作組合資料表」腳本我不熟悉 Fit Life by X,但似乎它提供了不必要的複雜 JSL,但我不確定哪些內容可以輕鬆刪除。您想要做的是找到第一個威布爾結果錶框進行估計並向其發送訊息。
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Reliability/Devalt.jmp");
flx = dt << Fit Life by X(
SendToByGroup({:Status == "Censored"}),
Distribution(Lognormal),
Relationship(Arrhenius Celsius),
Y(:Hours),
X(:Temp),
Censor(:Censor),
Censor Code(1),
Freq(:Weight),
<<FIT lognormal=""></FIT>
<P>如果您有 JMP17,您也可以查看可以從屬性中取得哪種類型的框路徑。使用工具列中的屬性</P>
<P><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1707455775647.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_1-1707455775647.png" style="width: 151px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_1-1707455775647.png" style="width: 151px;"><span class="lia-inline-image-display-wrapper" image-alt="jthi_1-1707455775647.png" style="width: 151px;"><img src="https://us.v-cdn.net/6038925/uploads/images/61011i15FC41D611180017/jthi_1-1707455775647.png" role="button" title="jthi_1-1707455775647.png" alt="jthi_1-1707455775647.png" /></span></SPAN></SPAN></SPAN></P>
<P>然後找到您的表格框並突出顯示它</P>
<P><SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1707455829670.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_2-1707455829670.png" style="width: 400px;"><SPAN class="lia-inline-image-display-wrapper" image-alt="jthi_2-1707455829670.png" style="width: 400px;"><span class="lia-inline-image-display-wrapper" image-alt="jthi_2-1707455829670.png" style="width: 400px;"><img src="https://us.v-cdn.net/6038925/uploads/images/61012iA5702171D7E8D4C1/jthi_2-1707455829670.png" role="button" title="jthi_2-1707455829670.png" alt="jthi_2-1707455829670.png" /></span></SPAN></SPAN></SPAN></P>
<CODE class=" language-jsl">Report(platform)["Results","Weibull Results",TabPageBox(1),"Statistics","Estimates",TableBox(1)]
快速查看這可能是相當強大的選擇
回覆:編寫具有多個群組的 Fit Life By X 的「製作組合資料表」腳本我不確定我是否理解這個問題。我有疑問:
有數據表嗎?
上面的腳本能運行嗎?
如果腳本運行,結果表是什麼?它與您的預期有何不同?
如果您無法在此處共享您的數據,請聯絡support@jmp.com 。我們可以透過該管道解決這個問題。謝謝!