How to overcome this warning and run the regression in sas enterprise guide
Obviously, you need an input data set that has 2 or more observations.
Show us your data. Show us your code.
My data set has more than 2 observations, one of the variable is a categorical variable containg the country names. Two of the countries in that occuronly once. Im getting this warning for those two countries for that particular variable
The warning is still correct.
How would you like to handle those records?
If you want to exclude them, you can do so with a WHERE statement in the PROC.
where country not in ('United States');
Yeah...you can't do a regression with less than 2 observations.
Something else is wrong.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.