대규모 데이터 세트에서 단일 샘플 t- 테스트를 수행하기 위해 샘플 주석을 추적하는 데 문제가 있습니다.여보세요,
특정 주제 (unique_subject_id)에 대해 수집 된 데이터 (XYZ %)가 참조 모집단 (예 : 'test_article_type'열의 차량)과 크게 다른지 여부를 결정하는 스크립트를 작성하려고합니다. 또한 주어진 주제에 대해 여러 위치 (변수)에서 여러 데이터가 수집 될 수 있습니다.
단일 샘플 t-test를 실행하는 것은 충분히 간단 해 보이지만 'XYZ %'를 사용하는 배포 플랫폼에서 'test mean'옵션을 실행할 때 'unique_subject_id 및 변수'정보를 전달하는 방법을 찾기 위해 고군분투하고 있습니다. for 루프를 사용하여 각 'unique_subject_id_variables'에 대한 값.
'unique_subject_id_variables'레이블을 배포 플랫폼으로 전달하여 생성 된 Pvalue를 혼합 위험없이 상위 테이블로 다시 가져올 수있는 방법을 생각할 수 없습니다.
어떤 제안이라도 대단히 감사하겠습니다.
베스트,
Sebastien
// The distribution for the "XYZ % (Norm to Ctrl Gene/Ctrl Grp)" is assessed for each variables separately for the 'vehicle' samples only ('test_article_type')
//This is used as the starting point to assess whether each "XYZ % (Norm to Ctrl Gene/Ctrl Grp)" values for every unique_subject_id is similar or not to the a reference population (ie 'vehicle') for their respective variables.
// the unique_subject_id_variables is not carried over in the pvalue report table so there is a risk of mix up when merging the Pvalue back to the main table
Names Default To Here( 1 );
Clear Log();
try(data Table( "one sample t-test validation Anonymized")<<CLOSE window=""></CLOSE>스크립팅Re : 대규모 데이터 세트에서 단일 샘플 T 테스트를 수행하기 위해 샘플 주석을 추적하는 데 문제가 있습니다.그래서, 당신의 스크립트는 당신이 생각하는대로하고 있지만 모든 것이 같은 순서로 유지되기를 바라는 것만으로도 항상 위험하지는 않습니다. 또는 적어도 그것은 나를 긴장하게 만듭니다.
레이블이있는 테이블을 만들기 위해 몇 가지 약간 조정했습니다. 와이드 형식은 이상적이지 않지만 쌓아서 데이터에 다시 결합 할 수 있습니다. 그 부분을 분류 해 드리겠습니다.
또한이 줄에 대한이 댓글이
//By( :variables )// does not appear to be used by the platform
": 변수"는 데이터 테이블의 열을 참조하지만 테이블에는 해당 이름의 열이 없으므로 아무 작업도 수행하지 않습니다.
여기에 JSL이 있습니다.
// The distribution for the "XYZ % (Norm to Ctrl Gene/Ctrl Grp)" is assessed for each variables separately for the 'vehicle' samples only ('test_article_type')
//This is used as the starting point to assess whether each "XYZ % (Norm to Ctrl Gene/Ctrl Grp)" values for every unique_subject_id is similar or not to the a reference population (ie 'vehicle') for their respective variables.
// the unique_subject_id_variables is not carried over in the pvalue report table so there is a risk of mix up when merging the Pvalue back to the main table
Names Default To Here( 1 );
Clear Log();
try(data Table( "one sample t-test validation Anonymized")<<CLOSE window=""> |t|", "Prob > t", "Prob < t"} )
);
variable = column(dt,3)<<GET values=""></GET></CLOSE>