Programming the statistical procedures from SAS

How to analyze data country wise

Reply
Contributor
Posts: 72

How to analyze data country wise

I want to apply regression analysis on the attached data on country basis.

I have applied following regression model but it gives overall results but not on the basis of country.

can anyone please help me to analyze on the basis of country.

proc reg data=em3;

model TD=TA Tang MV_BV ROA;

run;

Super User
Posts: 5,307

Re: How to analyze data country wise

BY?

Data never sleeps
Contributor
Posts: 72

Re: How to analyze data country wise

on country basis

Super User
Posts: 18,506

Re: How to analyze data country wise

As indicated correctly by @linush BY group processing.

Proc sort data=em3;

by Country;

run;

proc reg data=em3;

By country;

model TD=TA Tang MV_BV ROA;

run;

Ask a Question
Discussion stats
  • 3 replies
  • 266 views
  • 0 likes
  • 3 in conversation