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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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