I am trying to predict the stress due to COVID using several predictors like age , race, gender, financial status. We got data from a survey. Some of the predictors are categorical, some ordinal. Trying to use General linear model or even Generalized linear model. As a first step, I am randomly selecting 80% of the cases so that I can use the remaining 20% for cross-validation. However, I do not find a way to do that or could not implement the model based on 80% to the remaining 20% using either General or Generalized linear model. Please help.
Thanks.
Pritish Mondal
Penn State College of Medicine, Hershey
------------------------------
Pritish Mondal
------------------------------
#SPSSStatistics