This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: current interest rate. b. Do part a again using Do loop 3. Using an iterative DO loop to make a table of squares and square roots for n from 1 to 10. For example, if n=4, we calculate its square as 16 and the square root is 2. 4. Using an iterative DO loop to graph an equation Y = 2x 3-5X 2 +15X-8, X ∈ [-10, 10] 5. A listing of data set Wide, containing the variables Subj, X1–X5, and Y1–Y5, is shown here: Using a DATA step, create a temporary SAS data set (Long) using data set Wide as input. This data set should contain Subj, Time, X, and Y, with five observations per subject. The first 10 observations from data set Long should look like this:...
View Full Document
This document was uploaded on 05/04/2011.
- Spring '11