Question
SAS PROGRAMMING (Write the full code I'll put data's link by myself just write (infile smth.dat I will put link by myself,thanks) Assignment #4 -
SAS PROGRAMMING (Write the full code I'll put data's link by myself just write (infile smth.dat I will put link by myself,thanks)
Assignment #4 - Chapter 2 Covering more statistical tests
This assignment uses three data sets - the bladder data, the bodyfat data from Assignment 2 (with the age2 variable), and the Slimming Club data (with the missing observation removed.) Be sure to suppress all plot output for each exercise.
Use a t-test to test the difference between the average of the starting weight and the average of the current weight of wrestlers using the SlimmingClub data.
Using the bodyfat.sas7bdat file you made for Assignment 2, use a t-test to test if the means of the pctfat variable, classified by the age2 variable from Assignment 2.
Using the bladder dataset, use the Wilcoxen rank-sum test to test if the medians of number of tumors, separated by tumorsize, are equal.
Here is the input statement and a comment of what the bladder variables are, written as a SAS comment:
input idno time tumorsize $ number; /* 31 males with bladder cancer, time is some amount of time tumorsize is a factor level, classes are: <= 3cm or > 3cm number is number of recurrent tumors */
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started