BookmarkSubscribeRSS Feed
doudou66
Calcite | Level 5

Hello, All

Suppose I have two datasets: dataset_1 and dataset_2. The two datasets have same variables (variables Y and X, and variable Y is binary); however, the observations of two datasets are different.

I did logistic regressions on two datasets, respectively; and I got coefficients of X from each regression, say, coefficient_X_dataset_1, and coefficient_X_dataset_2.

My question is : how can we know if these two coefficients are significantly different?

2 REPLIES 2
SteveDenham
Jade | Level 19

You may want to look into PROC TTEST.  It can compare data that comes from summary statistics.  The work will be in getting your coefficient datasets into shape, with the necessary labeled variables (mean, standard deviation, number of observations).

Good luck

Steve Denham

doudou66
Calcite | Level 5

Sorry for the late response and thank you very much.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1453 views
  • 3 likes
  • 2 in conversation