11-05-2021
LiHZ
Fluorite | Level 6
Member since
03-02-2021
- 9 Posts
- 2 Likes Given
- 1 Solutions
- 1 Likes Received
-
Latest posts by LiHZ
Subject Views Posted 778 10-26-2021 10:52 PM 1023 04-21-2021 04:04 AM 1156 04-12-2021 05:25 AM 684 03-22-2021 11:40 PM 3377 03-02-2021 10:56 PM 3378 03-02-2021 10:51 PM 3471 03-02-2021 07:35 AM 3473 03-02-2021 07:30 AM 3529 03-02-2021 05:09 AM -
Activity Feed for LiHZ
- Posted How to generate a regression curve for a binary dependent variable on Statistical Procedures. 10-26-2021 10:52 PM
- Got a Like for Re: How to interpret Odds Ratio in Proc Glimmix with interaction. 04-22-2021 09:08 AM
- Posted Re: How to interpret Odds Ratio in Proc Glimmix with interaction on Statistical Procedures. 04-21-2021 04:04 AM
- Posted How to interpret Odds Ratio in Proc Glimmix with interaction on Statistical Procedures. 04-12-2021 05:25 AM
- Posted How to add confidence interval and significance in plot on SAS Programming. 03-22-2021 11:40 PM
- Posted Re: A question about quasi-complete separation on Statistical Procedures. 03-02-2021 10:56 PM
- Posted Re: A question about quasi-complete separation on Statistical Procedures. 03-02-2021 10:51 PM
- Liked Re: A question about quasi-complete separation for StatDave. 03-02-2021 10:51 PM
- Liked Re: A question about quasi-complete separation for SteveDenham. 03-02-2021 10:51 PM
- Posted Re: A question about quasi-complete separation on Statistical Procedures. 03-02-2021 07:35 AM
- Posted Re: A question about quasi-complete separation on Statistical Procedures. 03-02-2021 07:30 AM
- Posted A question about quasi-complete separation on Statistical Procedures. 03-02-2021 05:09 AM
-
Posts I Liked
Subject Likes Author Latest Post 2 3 -
My Liked Posts
Subject Likes Posted 1 04-21-2021 04:04 AM
10-26-2021
10:52 PM
Hi everyone, Please bear with me. I'm confused to finish this model alone. There is a discrete independent variable and a binary dependent variable (percentage). I can use proc glimmix to generate the figure below. But how can i generate a regression curve by Legendre polynomials like in the second figure?
... View more
04-21-2021
04:04 AM
1 Like
Hope this may help whom have the same problem. https://support.sas.com/kb/24/455.html
... View more
04-12-2021
05:25 AM
Hi everyone, Please bear with me. I'm confused to understand Odds Ratio in Proc Glimmix with interaction. In Proc Logistic, if there is an interaction between factor A(two levels) and B(levels ≥2), Odds ratio of A will be presented in different level of B. In a word, there are different OR of A under different level of B. However, in Proc Glimmix, only one OR is presented even if there is an interaction. Here is my code are result. proc glimmix data=mas ; where farm ne 'hy'; class season(ref='summer') treatment parity(ref='1') result farm year ; model result(event='pregnant')= season | parity | treatment / dist=binary oddsratio ; random farm year; run; As you can see, there is an interaction between treatment and parity or season. However, OR of treatment is 1.509. Why there is a difference between proc logistic and proc glimmix in the matter of OR? Thanks in advance for the help!
... View more
03-22-2021
11:40 PM
How can I add confidence interval and significance like in the first plot below?. I'm using syntax "series" in PROC SGPLOT Procedure, however can not found any statement about the interval and significance. I want to show the confidence interval and significance between two group in the second plot. Here are the codes: proc sgplot data=text; series x=season y=Preg/group=co smoothconnect markers; run; Hope you can help me. Thank you.
... View more
03-02-2021
10:56 PM
Than you for your reply, @StatDave and your suggestions were professional and useful. It will take a time for me to digest your comment, but I suppose yours as a good solution.
... View more
03-02-2021
10:51 PM
Than you for your reply, @SteveDenham and your suggestion were very professional and useful.
... View more
03-02-2021
07:35 AM
Thank you for your reply. I'm new to SAS, so your suggestion is too academic to understand. It seems that using ScoreCard method to category the variables on CLASS is a good way. I'll try to use it.
... View more
03-02-2021
07:30 AM
Thank you for your reply, Yes, I repeat SEASON twice by accident, I deleted the second one. RESULT is a respond variable used in the MODEL, the computation seems no difference when I deleted RESULT on the CLASS. The procedure can ran only with "WARNING: There is possibly a quasicomplete separation of data points in step 0. The maximum likelihood estimate may not exist.WARNING: The LOGISTIC procedure continues in spite of the above warning. Results shown are based on the last maximum likelihood iteration. Validity of the model fit is questionable."
... View more
03-02-2021
05:09 AM
I encountered quasi-complete separation when I used Logistic Regression. After viewing definition of quasi-complete separation and its solutions. There are still two confusions remained. 1:One of these solutions is FIRTH method. However, there came out "ERROR: Selection methods are not currently available with the FIRTH option" after I tried to use FIRTH method to solve the problem. 2:I can't found out which independent variable or a combination of several independent variables caused the separation. Here is the program: proc logistic data=maanshan320; class season(ref='summer') treatment result season parity; model result(event='pregnant')=season | treatment | parity | BCS / firth selection=B sls=0.11 lackfit orpvalue ; oddsratio treatment ; run; Hope you can help me.
... View more