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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1495 views
  • 3 likes
  • 2 in conversation