A data set (MANY) contains the variables X1-X5, Y1-Y5. First, run the following program to create this data set:
Write a program to include the following in data set MANY:
(a) The mean (average) of the Xs (call it MEAN_X) and the mean of the Ys (call it MEAN_Y).
(b) The minimum value of the Xs (call it MIN_X) and the minimum value of the Ys (call it MTN_ V).
(c) A new variable (CRAZY) that is the maximum of the Xs times the minimum of the Ys times the sum of (the number of non-missing Xs plus the number of missing Ys). In other words:
(d) Compute a variable MEAN_X_ Y that is the mean of all the Xs and Ys (the mean of all 10 numbers) with the provision that there be three or more non-missing X values and four or more non-missing Y values.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here