BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
buhl2752
Fluorite | Level 6

I am hoping to use the %beta_regression macro for an analysis.  But first I was trying to run a very simple data set with the macro to help me understand how it is working and to see how it differs from specifying a beta dstribution in GLIMMIX.  I am interested in the macro instead of GLIMMIX becasue my data is zero-inflated proportion data.  Unfortunately the macro will not run - it gets hung up on the nlmixed procedure and tells me that there was an execution error for observation 1.  currently I am not sure what is going wrong and am looking for assistance from anyone familiar with the macro of nlmixed.  My sample program is attached.  Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
buhl2752
Fluorite | Level 6

I think I solved my own problem.  Since I did not assign starting values for the parameters, it assigned a starting value of 1 for all parameters.  If I provide starting values for my parameters with a parm statement, the procedure will run.   Sorry for the premature post, but if anyone has any other insights, I would appreciate any help.  Thanks.

View solution in original post

3 REPLIES 3
ballardw
Super User

Run the code with Options Mprint;

Post the entire log.

 

Be prepared to describe the input data in some detail.

 

Often the "error" reported at the end of some of these macros is because something else earlier happened and you are only mentioning the final step. All of the intermediate steps need to be examined.

buhl2752
Fluorite | Level 6

I think I solved my own problem.  Since I did not assign starting values for the parameters, it assigned a starting value of 1 for all parameters.  If I provide starting values for my parameters with a parm statement, the procedure will run.   Sorry for the premature post, but if anyone has any other insights, I would appreciate any help.  Thanks.

ballardw
Super User

No problem. You aren't the first person to solve a problem after asking for help.

 

I might recommend that you edit your last post to emphasize the "provide the required parameters for the macro" and then mark it as the solution.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 3 replies
  • 1392 views
  • 0 likes
  • 2 in conversation