이 질문은 2012년에 다시 게시되었지만 답변이 없었으므로 여기에서 다시 시작합니다.
에 대한 신뢰 구간과 예측 구간을 구성하는 방법이 있습니까? 직교 이변량 플랫폼의 회귀. 또한 간격 방정식을 저장하고 싶습니다. 두 가지 옵션 모두 "Fit line", 즉 OLS 선형 회귀에 대해 존재합니다.
옵션이 없으면 구현하도록 요청하고 싶습니다.
안녕 이안,
이 JSL 스크립트에 감사드립니다. 그러나 스크립트는 기울기와 절편의 추정치만 부스트랩합니다.이 출력을 사용하여 데밍 회귀에서 예측 간격을 추정하는 방법이 궁금했습니다. 도움을 주시면 감사하겠습니다.
감사합니다
JMP Pro를 사용하면 부트스트래핑을 시도할 수 있습니다.
NamesDefaultToHere(1);
// Sample data
dt = NewTable("Orthogonal Regression",
NewColumn("x1", Formula(RandomUniform(-1, 1))),
NewColumn("x2", Formula(RandomUniform(-1, 1))),
AddRows(50)
);
// Fit orthogonal
fo = dt << Bivariate(Y( :x2 ), X( :x1 ), Fit Orthogonal( Equal Variances ));
// Bootstrap fitted parameters
dt2 = Report(fo)[TableBox(2)] << Bootstrap(1000);
// Look at the result
dt2 << Distribution(
Continuous Distribution( Column( :Intercept ) ),
Continuous Distribution( Column( :Slope ) ),
SendToReport(
Dispatch( {"Intercept"}, "Quantiles", OutlineBox, {Close( 1 )} ),
Dispatch( {"Intercept"}, "Summary Statistics", OutlineBox, {Close( 1 )} ),
Dispatch( {"Slope"}, "Quantiles", OutlineBox, {Close( 1 )} ),
Dispatch( {"Slope"}, "Summary Statistics", OutlineBox, {Close( 1 )} )
)
);