適合度 - 包括在腳本中親愛的大家,
我正在嘗試使用腳本在分發後添加適合度。有一個循環。對n列進行分析。
這是代碼的一部分:
disti = dt << Distribution(
stack( 0 ),
Continuous Distribution(
Column( listName[i] )),
Normal Quantile Plot( 1 ),
Fit Distribution( Normal(Goodness of Fit( 1 ) )),
Capability Analysis( 1 ),
Invisible( 1 )
);
但是沒有合適的優點...... 我不知道為什麼..
你有好主意嗎?
這個函數的“1”參數是什麼意思?
謝謝
麥納
回复:適合度 - 包含在腳本中是的,我的所有列都是連續的
回复:適合度 - 包含在腳本中您正在分析建模類型連續的列嗎?如果它們是序數或標稱,它們將無法提供合適的優點
回复:適合度 - 包含在腳本中或者我沒有地方顯示結果?
這可能嗎?
回复:適合度 - 包含在腳本中我使用了你的腳本,只是附加了一個不同的數據表,這就是為什麼我建議你需要尋找其他地方。
回复:適合度 - 包含在腳本中不,它運作良好!回复:適合度 - 包含在腳本中如果你運行Jim的腳本,你有同樣的問題嗎?
回复:適合度 - 包含在腳本中謝謝吉姆,
我已經做了這個循環:)這個腳本更大!
我的第一個腳本是這樣的:
分佈出現,能力分析,但不適合測試的良好性...
我不明白為什麼;(
disti <SPAN class="token operator">=</SPAN> dt <SPAN class="token operator"><</SPAN><SPAN class="token operator"><</SPAN> Distribution<SPAN class="token punctuation">(</SPAN>
stack<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">0</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Continuous Distribution<SPAN class="token punctuation">(</SPAN> <SPAN class="token function">Column</SPAN><SPAN class="token punctuation">(</SPAN> listName<SPAN class="token punctuation">[</SPAN>i<SPAN class="token punctuation">]</SPAN> <SPAN class="token punctuation">)</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
<SPAN class="token function">Normal Quantile</SPAN> Plot<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">1</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Capability Analysis<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">1</SPAN> <SPAN class="token punctuation">)</SPAN><SPAN class="token punctuation">,</SPAN>
Invisible<SPAN class="token punctuation">(</SPAN> <SPAN class="token number">1</SPAN> <SPAN class="token punctuation">)</SPAN>
但我想在分佈的直方圖下面添加擬合優度分析。
TKS
回复:適合度 - 包含在腳本中我稍微擴展了你的腳本,使它成為一個正常運行的腳本。 您的代碼使用半導體功能數據表可以很好地工作。 我建議您查看數據的構成或列表“listName”。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );
listName = dt << get column names( numeric, continuous );
For( i = 1, i <= 2, i++,
disti = dt << Distribution(
stack( 0 ),
Continuous Distribution( Column( listName[i] ) ),
Normal Quantile Plot( 1 ),
Fit Distribution( Normal( Goodness of Fit( 1 ) ) ),
Capability Analysis( 1 ),
Invisible( 1 )
)
);