Como faço para ter a mesma tabela obtida pelo código abaixo em "resultados", exatamente o mesmo, mas nos "dados de saída"?
proc freq/base;
tabela dt*dt_end / out=matriz norow nocol nopercent;
executar;
The information from the TABLE statement is in the OUT= data set, but it is just arranged differently. If you want a data set that has the same basic arrangement as in the displayed output, you can create it using PROC TRANSPOSE. The following creates data set MATRIZ2 that is arranged like the displayed output.
proc transpose data=matriz out=matriz2 prefix=dt_end_;
by dt; id dt_end; var count;
run;
The information from the TABLE statement is in the OUT= data set, but it is just arranged differently. If you want a data set that has the same basic arrangement as in the displayed output, you can create it using PROC TRANSPOSE. The following creates data set MATRIZ2 that is arranged like the displayed output.
proc transpose data=matriz out=matriz2 prefix=dt_end_;
by dt; id dt_end; var count;
run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.