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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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