Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using SAS link to excel file: https://docs.google.com/spreadsheets/d/1cHOgMt1qiGMzPFLW7EvTPm4OIVQvqT3fHZXi8mcmaf0/edit?usp=sharing 9. Use code to import Excel data. a. Write the SAS code to import data from the Excel

Using SASimage text in transcribed

link to excel file:

https://docs.google.com/spreadsheets/d/1cHOgMt1qiGMzPFLW7EvTPm4OIVQvqT3fHZXi8mcmaf0/edit?usp=sharing

9. Use code to import Excel data. a. Write the SAS code to import data from the Excel file FAMILY.XLSX using these criteria: I. Create a SAS data set named INCOME in the WORK library using the OUT- statement. 1. Use DATAFILE= to specify the location of the original Excel file on your hard disk 11. Use DBMS= to specify that the data source is XLS . IV. Use RANGEto designate 'Data$A1:E76'as the name of the Excel table to V. Use the GETNAMES= option to indicate that the variable names are on the first row of data. b. Once the data are imported, view the contents of wORK. INCOME using yiewdata. close the iewdt data grid. c. Calculate descriptive statistics for the data using this code TITLE "PUT YOUR NAME HERE"; PROC MEANS DATA-INCOME; RUN; 9. Use code to import Excel data. a. Write the SAS code to import data from the Excel file FAMILY.XLSX using these criteria: I. Create a SAS data set named INCOME in the WORK library using the OUT- statement. 1. Use DATAFILE= to specify the location of the original Excel file on your hard disk 11. Use DBMS= to specify that the data source is XLS . IV. Use RANGEto designate 'Data$A1:E76'as the name of the Excel table to V. Use the GETNAMES= option to indicate that the variable names are on the first row of data. b. Once the data are imported, view the contents of wORK. INCOME using yiewdata. close the iewdt data grid. c. Calculate descriptive statistics for the data using this code TITLE "PUT YOUR NAME HERE"; PROC MEANS DATA-INCOME; RUN

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

How do moods affect the activated stereotype?

Answered: 1 week ago