Page 1 of 1

dummy or continuous

PostPosted: Tue Apr 08, 2025 11:50 pm
by ASAL2433
Hi,

I am writing the code for the experimental design in Ngene. I am two numerical variables: sensitivity and frequency of screening (years). As I don't know whether these attributes will be continuous linear variables in the final model, is it more appropriate to code them as categorical (dummy coding) or continuous for the experimental design.

Thanks,
Amber

Re: dummy or continuous

PostPosted: Wed Apr 09, 2025 11:54 am
by Michiel Bliemer
If you are not sure, then simply dummy code them as categorical attributes. This way, you will always be able to test for nonlinearities, while also still able to use it as a linear effect in model estimation instead.

Michiel