Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following is my incomplete SAS program. options nodate; data HW1; if (state = Maine or state= Maryland or state=Massachusettsor state=Michiganor state=Minnesotaor state=Montana or state=Missourior

The following is my incomplete SAS program.

options nodate;

data HW1;

if (state = "Maine" or state= "Maryland" or state="Massachusetts"or state="Michigan"or state="Minnesota"or state="Montana" or state="Missouri"or state="Missisippi") then delete;// This is incomplete. Don't know how to do it afterward.

proc print data=HW1; var state; title "Question 1B(v)"; run;

Question: I only want to print all American states except the ones that start with M and N and T using SAS.

48 American states are as follow

Delaware
Rhode Island
Idiana
Maine
New Hampshire
Vermont
Connecticut
Maryland
Massachusetts
New Jersey
Ohio
Pennsylvania
Iowa
Michigan
Minnesota
Wisconsin
Illinois
NewYork
Nebraska
Oregon
Washington
Idaho
Montana
Wyoming
North Dakota
South Dakota
West Virginia
Kentucky
Virginia
Arkansas
Lousiana
Missouri
Alabama
Arizona
Georgia
Missisippi
Tennessee
Florida
North Carolina
South Carolina
Nevada
Utah
New Mexico
Oklahoma
Colorado
Kansas
California
Texas

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

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago