The 'React' dataset is created directly within the script using a DATA STEP statement and the 'datalines' clause to integrate the data.
1 Codeblock
DATA STEP Data
Erklärung : This DATA STEP block is responsible for creating the 'React' dataset. It reads two variables, 'Stim' and 'Time', whose values are directly provided via the 'datalines' clause. The mention ' @code_sas/@TEMPLATE.sas' in the INPUT statement appears to be a syntactic anomaly or a malformed comment, but it does not affect the data input by the 'datalines'.
Erklärung : This block executes the NPAR1WAY procedure, designed for non-parametric analyses. It uses the previously created 'React' dataset. The 'hl' option activates Hodges-Lehmann estimation, and 'alpha=.02' sets the significance level for confidence intervals. The variable 'Stim' is designated as the classification variable, and 'Time' as the analysis variable. The 'exact hl' statement requests exact p-values for Hodges-Lehmann estimation. Finally, 'ods select' filters the ODS output to present only the Wilcoxon scores and Hodges-Lehmann estimates tables.
Kopiert!
proc npar1way hl alpha=.02 data=React;
class Stim;
var Time;
exact hl;
ods select WilcoxonScores HodgesLehmann;
run;
1
PROC NPAR1WAY hl alpha=.02DATA=React;
2
class Stim;
3
var Time;
4
exact hl;
5
ods select WilcoxonScores HodgesLehmann;
6
RUN;
Dieses Material wird von We Are Cas "wie besehen" zur Verfügung gestellt. Es gibt keine ausdrücklichen oder stillschweigenden Garantien hinsichtlich der Marktgängigkeit oder Eignung für einen bestimmten Zweck in Bezug auf die hierin enthaltenen Materialien oder Codes. We Are Cas ist nicht verantwortlich für Fehler in diesem Material, wie es jetzt existiert oder existieren wird, noch bietet We Are Cas technischen Support dafür an.
Urheberrechtsinformationen : SAS SAMPLE LIBRARY
Zugehörige Dokumentation
Aucune documentation spécifique pour cette catégorie.
SAS und alle anderen Produkt- oder Dienstleistungsnamen von SAS Institute Inc. sind eingetragene Marken oder Marken von SAS Institute Inc. in den USA und anderen Ländern. ® zeigt die Registrierung in den USA an. WeAreCAS ist eine unabhängige Community-Site und nicht mit SAS Institute Inc. verbunden.
Diese Website verwendet technische und analytische Cookies, um Ihre Erfahrung zu verbessern.
Mehr erfahren.