Error In Computing The Variance Function Genmod
Contents |
turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for Search instead for Do you mean warning: the generalized hessian matrix is not positive definite. iteration will be terminated. Find a Community Communities Welcome Getting Started Community Memo Community Matters
Proc Genmod
Community Suggestion Box Have Your Say SAS Programming Base SAS Programming SAS Procedures ODS and Base Reporting SAS/GRAPH and ODS Graphics General SAS Programming SAS Studio Data Management SAS Data Management Analytics SAS Statistical Procedures SAS/IML Software and Matrix Computations SAS Data Mining SAS Text and Content Analytics SAS Forecasting and Econometrics Mathematical Optimization, Discrete-Event Simulation, and OR Business Intelligence SAS Enterprise Guide Integration with Microsoft Office SAS Visual Analytics SAS Web Report Studio SAS Stored Processes Administration Administration and Deployment SAS Hot Fix Announcements SAS ITRM Learn SAS SAS Analytics U SAS Certification Customer Intelligence SAS Customer Intelligence SAS Intelligent Advertising Risk Management SAS Risk Management SAS Viya About SAS Viya SAS Visual Data Mining and Machine Learning Coding on SAS Viya SAS Visual Investigator Health Care and Pharma SAS in Health Care Related Fields SAS Drug Development SASware Ballot Ideas Regional Groups Special Interest Groups SAS Community Denmark SANZOC CoDe SAS German SAS Visual Analytics Nederland Singapore SAS Global Forum 2017 SAS Communities Library Home / BI / Enterprise Guide / Proc genmod error Proc genmod error Reply Topic Options Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the Top Bookmark Subscribe Printer Friendly Page « Message Listing « Previous Topic Next Topic » « Previous 1 2 Next » Pooja Contributor Posts: 24 Proc genmod error Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content 11-29-2012 02:14 AM Hello,I want to run a logistic regression on data which are propensity score matched and hence correlated.
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
First | Previous | Next | Last ] By Author: [ First | Previous | Next | Last ] Font: Proportional Font LISTSERV Archives ALLSTAT https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=allstat;4d785bda.02 Home ALLSTAT 2002 Options Subscribe or Unsubscribe Log In Get Password Subject: Problem in PROC GENMOD in a SAS program. From: Khaled Hassan <[log in to unmask]> Reply-To:Khaled Hassan <[log http://www.ats.ucla.edu/stat/sas/faq/relative_risk.htm in to unmask]> Date:Mon, 8 Apr 2002 08:17:28 +0200 Content-Type:text/plain Parts/Attachments: text/plain (59 lines) Dear allstat users. In a SAS program. the procedure was as following: proc genmod data=ADJUST; CLASS RID error in &X AGECAT4 BCSEASON BCBFEXCL BCGBCONI BCCROWD; model &Y/days= &X AGECAT4 BCSEASON BCBFEXCL BCGBCONI BCCROWD / dist=poisson link=log; REPEATED SUBJECT=RID/type=exch; run; where &y is a variable =1 if its an event and 0 if nonevent and days is a person years of follow up. and all the independent variables are numeric and no missing observations. when I run the modle if the error in computing following log message: 567 proc genmod data=ADJUST; 568 CLASS RID &X AGECAT4 BCSEASON BCBFEXCL BCGBCONI BCCROWD; 569 model &Y/days= &X AGECAT4 BCSEASON BCBFEXCL BCGBCONI BCCROWD / dist=poisson 570 link=log; 571 REPEATED SUBJECT=RID/type=exch; 572 run; WARNING: The binomial response distribution is usually appropriate for a ratio response variable. NOTE: Non-integer response values have been detected for the POISSON distribution. NOTE: The scale parameter was held fixed. ERROR: Error in computing the variance function. NOTE: No convergence of GEE parameter estimates after 2 iterations. NOTE: The scale parameter for GEE estimation was computed as the square root of the normalized Pearson's chi-square. NOTE: The PROCEDURE GENMOD used 41.13 seconds. Can any one help me and explain the source of error and how i correct it. Wait to hear from you. Have a nice day. ******************************************* Khaled El_Sayed Hassan, M.Phil Demographer & Data Analyst US Naval Medical Research Center No. 3 (NAMRU3) Enteric disease Department Advanced Study Unit Tel: (202) 684-1375/6 Ext. 54 (202) 310-1082 (Home) Cellular: (20) 12-285-9778 Fax: (202) 684-9625 E-mail: [log in to unmask] [log in to unmask] URL: http://khalid.cjb.net/ Top
in SAS using proc genmod for common outcomes in cohort studies? Credits This page was developed and written by Karla Lindquist, Senior Statistician in the Division of Geriatrics at UCSF. We are very grateful to Karla for taking the time to develop this page and giving us permission to post it on our site. Introduction Binary outcomes in cohort studies are commonly analyzed by applying a logistic regression model to the data to obtain odds ratios for comparing groups with different sets of characteristics. Although this is often appropriate, there may be situations in which it is more desirable to estimate a relative risk or risk ratio (RR) instead of an odds ratio (OR). Several articles in recent medical and public health literature point out that when the outcome event is common (incidence of 10% or more), it is often more desirable to estimate an RR since there is an increasing differential between the RR and OR with increasing incidence rates, and there is a tendency for some to interpret ORs as if they are RRs ([1]-[3]). There are some who hold the opinion that the OR should be used even when the outcome is common, however ([4]). Here the purpose is to demonstrate methods for calculating the RR, assuming that it is the appropriate thing to do. There are several options for how to estimate RRs directly in SAS, which have been demonstrated to be reliable in simulated and real data sets of various sizes and outcome incidence rates ([1],[2]). Two of these methods will be demonstrated here using hypothetical data created for this purpose. Both methods use proc genmod. One estimates the RR with a log-binomial regression model, and the other uses a Poisson regression model with a robust error variance. Example Data: Odds ratio versus relative risk A hypothetical data set was created to illustrate two methods of estimating relative risks using SAS. The outcome generated is called lenses, to indicate if the hypothetical study participants require corrective lenses by the time they are 30 years old. Assume all participants do not need them at a baseline assessment when they are 10 years old. Assume none of them have had serious head injuries or had brain tumors or other major health problems during the 20 years between assessments. Suppose we wanted to know if requiring corrective lenses is associated with having a gene which causes one to have a lifelong love and craving for carrots (assume not having this gene results in the opposite), and that we screened everyone for this carrot