BookmarkSubscribeRSS Feed
laurenhosking
Quartz | Level 8

I want to create a logistic model to predict the body fat group i.e. lean or bulky. Select the significant variables, check all the criteria to analyse your model and make an sensitivity-specificity analysis. However I’m unsure what my classification or continuous varible would be or if I’d have any

13 REPLIES 13
PaigeMiller
Diamond | Level 26

You have to use independent variables to do any prediction. Do you have independent variables? What are they?

--
Paige Miller
laurenhosking
Quartz | Level 8

I m given variables including sport (basketball, cross-country, track, softball, volleyball, swim & tennis), height, weight, percentage body fat, BMI (body mass index), sit ups per minute, 40 yard dash, vertical jump, sit reach test, bench press (60lbs and max), leg press (200lbs and max), medicine ball throw and shuttle run.

PaigeMiller
Diamond | Level 26

So that list contains the independent variables you could put into your model. Sport seems to be the only categorical variable in the list.

--
Paige Miller
laurenhosking
Quartz | Level 8

So are these variables classed as continuous variables or classification variables?

PaigeMiller
Diamond | Level 26

Categorical variables (like sport) are also considered to be classification variables (and you would use the CLASS statement when you do the model). The rest seem to be continuous, but since I don't have your data, you have to look at the data and confirm that.

--
Paige Miller
laurenhosking
Quartz | Level 8

They are independent however I am very confused how to carry out this test

laurenhosking
Quartz | Level 8

Thank you! Would you say to include every one of the independent variables? 

PaigeMiller
Diamond | Level 26

The answer depends on the data.

--
Paige Miller
laurenhosking
Quartz | Level 8

 

Tgis is my data it goes down to 57 entries but 

PaigeMiller
Diamond | Level 26

No, I didn't mean you should show me the data, I meant you have to analyze the data and see what variables belong in the model.

--
Paige Miller
laurenhosking
Quartz | Level 8

I also made a variable based on body fat which I know is the response 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 13 replies
  • 1912 views
  • 6 likes
  • 2 in conversation