using an analysis sample and a holdout sample in discriminant analysis

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

using an analysis sample and a holdout sample in discriminant analysis

Poba-Nzaou
Dear All,
I would like to create discriminant functions with an analysis sample (subsample composed of 60% of my global sample) and use the functions to classify a holdout sample (subsample composed of 40% of my global sample). I need help for SPSS syntax.
Thanks in advance for your help.
Placide
Reply | Threaded
Open this post in threaded view
|

Re: using an analysis sample and a holdout sample in discriminant analysis

Art Kendall
In the syntax window type "discriminant." Place your cursor on that text and key <f1> (aka <help>).

See the specifications for the classification phase.


create a new variable which is identical to your grouping variable.
create an additional value label for that new variable which says "ungrouped"

Do you want to consider 40 % of each original group as ungrouped or do you want to consider 40% of all cases as ungrouped.


transform the new variable so that the cases you want to be ungrouped have the appropriate value and value label.
Art Kendall
Social Research Consultants
Reply | Threaded
Open this post in threaded view
|

Re: using an analysis sample and a holdout sample in discriminant analysis

David Marso
Administrator
In reply to this post by Poba-Nzaou
See /SELECT subcommand in DISCRIMINANT.
--
Poba-Nzaou wrote
Dear All,
I would like to create discriminant functions with an analysis sample (subsample composed of 60% of my global sample) and use the functions to classify a holdout sample (subsample composed of 40% of my global sample). I need help for SPSS syntax.
Thanks in advance for your help.
Placide
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"