Hola,
Estoy tratando de armar un script que determine si un dato (XYZ%) recopilado para un sujeto específico (unique_subject_id) es significativamente diferente de una población de referencia (como el vehículo en la columna 'test_article_type'). Además, para un tema determinado puede haber varios datos recopilados en múltiples ubicaciones (variables).
Ejecutar la prueba t de una muestra parece bastante simple, pero estoy luchando por encontrar una manera de llevar la información 'unique_subject_id y variables' cuando ejecuto la opción 'test mean' en la plataforma de distribución haciendo uso del 'XYZ%' valor para cada 'variable_id_subjeto_unico' utilizando un bucle for.
No puedo pensar en una forma de transferir la etiqueta 'unique_subject_id_variables' a la plataforma de distribución para permitir que el valor P generado vuelva a la tabla principal sin riesgo de confusión.
Cualquier sugerencia será muy apreciada.
Mejor,
Sébastien
// 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>