BookmarkSubscribeRSS Feed
APU_007
Fluorite | Level 6

I am getting the following error/warning when Proc PSMatch used on SAS9.4 TS Level 1M4, 64bits Windows 7Pro Platform. Basic model summary is:

  1. Used Greedy K=2 match with caliper = .10
  2. LPS (logit of PS) used with 'no exact' option and 'no weight' option
  3. Independent variables are either categorical or nominal
  4. No continuous variable used
  5. Event/Cases: N= ~42,000

Warning from SAS Log:

Spoiler
WARNING: The maximum likelihood estimates for the logistic regression model might not exist. The
maximum likelihood estimates are based on the last maximum likelihood iteration.
Spoiler
ERROR: Floating Point Zero Divide
ERROR: Termination due to Floating Point Exception

Total N = 1,289,000 (rounded).

Looks like main issue is 'Number of Observations' used in a model. As I tested with less observations, it worked. Details below:

 

*----------------------------------------------------------------------------------------------------;

Same code works without any issues or warning when Total N = 915,000

*----------------------------------------------------------------------------------------------------;

When sample size incrased to, i.e. N=1,040,000 with same set of codes, the following warning sign appears but still produces result:

WARNING: The maximum likelihood estimates for the logistic regression model might not exist. The
maximum likelihood estimates are based on the last maximum likelihood iteration.

*----------------------------------------------------------------------------------------------------;

Again increased  sample size to: N=1,164,000, it is still working with warning sign. 

WARNING: The maximum likelihood estimates for the logistic regression model might not exist. The
maximum likelihood estimates are based on the last maximum likelihood iteration.

*----------------------------------------------------------------------------------------------------;

Again increased  sample size to: N=1,286,000 it is still working with warning sign. 

WARNING: The maximum likelihood estimates for the logistic regression model might not exist. The
maximum likelihood estimates are based on the last maximum likelihood iteration.

 

The magic number for not working the procedure is somewhat close to: 1,289,000 (rounded) but greater than 1,286,000.

 

Not sure what to make of it. Any suggestions appriciated!

 

Thx,

APU_007

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
  • 0 replies
  • 1866 views
  • 0 likes
  • 1 in conversation