Hello all,
Is it correct to use the code below to obtain the λ in a Box-Cox transformation?
I’m unsure because my model includes an independent categorical variable (pre_score) plus a few categorical and continuous confounders (age neuro_scale sex
).
I was looking for a way to include a class statement to account for the categorical nature of these variables, but it seems that PROC TRANSREG does not support the class statement.
Is that necessary to include the categorical nature of these variable?
%let c = 1.45;
proc transreg data=tmp1 ss2 details plots=(boxcox);
model BoxCox(fim / parameter=&c
convenient lambda=-2 to 2 by 0.05) = identity(pre_score age neuro_scale sex);
run;
Thanks,