2438_ko-KR
분위수 사용자 지정안녕하세요 JMPers님
히스토그램 보고서에서 분위수를 변경하는 방법이 있습니까?
감사,Re: 분위수 사용자 지정이런 일을 하려고 하는 겁니까?
style="font-size: 10pt; font-family: "Courier New"; color: black;">dt
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">열기
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"$SAMPLE_DATA/fitness.jmp"
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">nw
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">신규
창문
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
(
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"요약"
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
거리
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
dt
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
분포 (
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
스택 (
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
주파수 (
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">무게
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
마디 없는
분포 (
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">열
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">옥시
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
분위수 (
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
순간 (
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
국외자
상자 그림 (
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
세다
중심선 (
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
보여 주다
백분율 (
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
보여 주다
카운트 (
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
에 의해 (
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">성별
)
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
rdist
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
거리
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">신고
style="font-size: 10pt; font-family: "Courier New"; color: black;">()
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">요약
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
여러 떼
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
~에 의해 (
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">성별
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
수정하다
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">평균
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">옥시
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
P95
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">분위수
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">옥시
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">0.95
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
N
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">N
아이템
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
여러 떼 )
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">용
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">j
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">j
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
N
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">j
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">++,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
rdist [
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">j
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"Quantiles"
style="font-size: 10pt; font-family: "Courier New"; color: black;">]
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
삭제
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
( rdist [
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">j
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"Oxy"
style="font-size: 10pt; font-family: "Courier New"; color: black;">])
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
추가 (
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">개요
상자
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"Quantiles"
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">표
상자
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">문자열
콜박스
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">""
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
{
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"95.0%"
style="font-size: 10pt; font-family: "Courier New"; color: black;">}
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">숫자
콜박스
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">""
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
{ P95 [
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">j
style="font-size: 10pt; font-family: "Courier New"; color: black;">]}
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
)
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
)
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
rdist [
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">j
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">][
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">]
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
참조 라인 추가 (
수정하다 [
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">j
style="font-size: 10pt; font-family: "Courier New"; color: black;">]
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
단단한
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"빨간색"
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;Re: 분위수 사용자 지정당신이 무엇을하려고하는지 더 이상 확실하지 않습니다. 그러나 "P95 = Quantile(:Oxy,0.95);"
해야한다
P95 = Col Quantile(:Oxy, 0.95);
문법적으로 정확합니다.Re: 분위수 사용자 지정안녕,
여기 내가 가지고 있는 스크립트가 있습니다. 어떻게 P95를 얻을 수 있는지 확인하십시오.
시간과 노력에 감사드립니다.
===========================================
dt = 열기("$SAMPLE_DATA/fitness.jmp");
nw = 새 창(("요약"),
Biv = dt << 분포( 스택(1),
주파수(:무게),
지속적인 배포(
열( : 옥시 ),
분위수(1),
순간 (0),
이상치 상자 그림(0),
카운트 축( 1 ),
백분율 표시( 1 ),
카운트 표시( 1 ),
), By( :섹스 ));
rbiv = Biv << 보고서();
요약( 그룹 = 기준( :Sex ), 기준 = 평균( :Oxy ));
n = N 항목( 그룹 );
For( j = 1, j <= n, j++,
rbiv[1][1][1][1][1][1][1][1] <<
참조선 추가(참조선, 실선, "빨간색"));
rdist = 보고서(Biv);
rdist["분위수"]<
P95 = 분위수(:Oxy,0.95);
(rdist["옥시"])<개요 상자("분위수",
테이블 상자(문자열 열 상자("",{"95.0%",}),
번호 열 상자("",P95)
))));Re: 분위수 사용자 지정내가 시도했을 때 요약은 분위수에 대한 빈도 역할이 있는 열을 존중하지 않는 것으로 나타났지만 평균에 대해서는 그러했습니다. 빈도 역할이 있는 다른 열이 있는 열에서 요약을 사용하여 얻은 결과가 확장된 테이블에서 요약을 사용하여 얻은 결과와 다르다고 말할 수 있습니다. JMP의 다양한 분위수 함수가 모두 동일한 알고리즘을 사용하여 관계를 처리하지 않을 수 있습니다. 시간이 허락하는 대로 요약을 사용하여 다시 확인하겠습니다.
좋아, 여기 내가 시도한 것이 있습니다. 나는 피트니스 데이터를 열고 연령과 빈도(Freq로 이름을 바꾼 N 행) 테이블을 제공하는 Summary for Age를 실행했습니다. 나는 Freq에게 주파수 역할을 부여했습니다. 원본 테이블에서 Summary for Age를 실행하고 요약 테이블에서 다시 실행했습니다. 나는 여러 분위수를 선택했습니다. 나는 25번째와 75번째 분위수가 일치하지 않았지만 평균은 일치한다는 것을 발견했습니다. 요약 테이블의 분위수는 빈도 열을 지정하지 않은 것과 같습니다.
메시지 편집자: mpbRe: 분위수 사용자 지정요약이 원하는 것을 제공하지 않습니까?Re: 분위수 사용자 지정이를 수행하는 영리한 방법이 있을 수 있지만 여기에 무차별 대입 방법의 개요가 있습니다. 아이디어는 단순히 빈도 열에 표시된 만큼 각 값을 포함하는 테이블의 행렬 버전을 만든 다음 해당 행렬에서 원하는 분위수를 계산하는 것입니다. 이 코드와 같은 것은 이 스레드의 이전 예제와 결합됩니다.
style="font-size: 10pt; font-family: "Courier New"; color: green;">/*
첫 번째 테이블을 가정합니다.
열을 Y로, 두 번째 열을 Freq로
style="font-size: 10pt; font-family: "Courier New"; color: green;">
스타일="">
Y 열을 단일로 확장
각각의 원래 Y가 있는 열 행렬
style="font-size: 10pt; font-family: "Courier New"; color: green;">
스타일="">
값 반복 빈도 횟수 */
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: black;">dt
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">현재
데이터 테이블
style="font-size: 10pt; font-family: "Courier New"; color: black;">()
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">A
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
dt
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
행렬로 가져오기
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: green;">//Show(
ㅏ );
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">expandA
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
[]
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">용
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
나
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
나
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">N
행
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
dt )
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
나
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">++,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
이발
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ㅏ [ 나
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">]
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
주파수
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
ㅏ [ 나
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">2
style="font-size: 10pt; font-family: "Courier New"; color: black;">]
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: green;">//Show(
이발,
주파수 발);
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
확장
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">|/=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">J
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
주파수
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
이발 )
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: green;">//Show(
확장A );
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">minQ
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">분위수
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">0.0
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
확장 )
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">medQ
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">분위수
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">0.5
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
확장 )
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">maxQ
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">분위수
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1.0
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
확장 )
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">표시
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">minQ
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">medQ
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">maxQ )Re: 분위수 사용자 지정MPB,
스크립트 주셔서 감사합니다. 효과가있다!!! 매우 감사합니다,
또 다른 문제가 있습니다. 히스토그램에는 열 외에 빈도 데이터가 있습니다.
스크립트에 빈도를 추가하려고 했지만 작동하지 않았습니다.
감사,Re: 분위수 사용자 지정내가 아는 방법이 내장되어 있지 않습니다. 그러나 기본 분위수 세그먼트를 삭제하고 관심 있는 분위수를 표시하는 맞춤 제작 세그먼트로 바꿀 수 있습니다. 다음 베어 본 예제는 이것이 수행되는 방법을 제안합니다.
dt
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">열기
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: purple;">"$SAMPLE_DATA/fitness.jmp"
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">dist
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
분포 (
지속적인 배포 (
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">열
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">옥시
)
)
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">rdist
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">신고
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
거리 )
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">rdist [
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"Quantiles"
style="font-size: 10pt; font-family: "Courier New"; color: black;">]
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
삭제
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">maxQ
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">Col
분위수
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">옥시
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">1
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">medQ
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">Col
분위수
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">옥시
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">0.5
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">minQ
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">=
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">Col
분위수
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: Navy;">:
style="font-size: 10pt; font-family: "Courier New"; color: black;">옥시
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 청록색;">0
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">;
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">rdist [
style="font-size: 10pt; font-family: "Courier New"; color: purple;">"Oxy"
style="font-size: 10pt; font-family: "Courier New"; color: black;">])
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;"><<
style="font-size: 10pt; font-family: "Courier New"; color: black;">
추가 (
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">개요
상자
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"Quantiles"
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">표
상자
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">문자열
콜박스
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">""
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
{
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"100.0%"
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"50%"
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">"0.0%"
style="font-size: 10pt; font-family: "Courier New"; color: black;">}
style="font-size: 10pt; font-family: "Courier New"; color: black;">
)
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
style="font-size: 10pt; font-family: "Courier New"; color: rgb(0, 0, 221);">숫자
콜박스
style="font-size: 10pt; font-family: "Courier New"; color: black;">(
style="font-size: 10pt; font-family: "Courier New"; color: black;">
style="font-size: 10pt; font-family: "Courier New"; color: 보라색;">""
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
{ 최대Q
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
메드Q
style="font-size: 10pt; font-family: "Courier New"; color: 네이비;">,
style="font-size: 10pt; font-family: "Courier New"; color: black;">
minQ }
)
)
style="font-size: 10pt; font-family: "Courier New"; color: black;">
스타일="">
)
style="font-size: 10pt; font-family: "Courier New"; color: black;">)
style="font-size: 10pt; font-family: "Courier New"; color: black;">