09-01-2015
Boni
Calcite | Level 5
Member since
06-23-2011
- 6 Posts
- 0 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by Boni
Subject Views Posted 1038 02-06-2012 02:07 PM 1070 02-06-2012 08:00 AM 3228 10-22-2010 06:14 AM 3251 10-22-2010 01:40 AM 1992 07-08-2010 04:50 AM 2051 07-02-2010 03:33 AM -
Activity Feed for Boni
- Posted Id in solution output from random statement in PROC MIXED on SAS Procedures. 02-06-2012 02:07 PM
- Posted Id in solution output from random statement in PROC MIXED on SAS Procedures. 02-06-2012 08:00 AM
- Posted Re: How to combine three columns to one date variable? on SAS Procedures. 10-22-2010 06:14 AM
- Posted How to combine three columns to one date variable? on SAS Procedures. 10-22-2010 01:40 AM
- Posted Re: Ordinal regression in GENMOD - model check on Statistical Procedures. 07-08-2010 04:50 AM
- Posted Ordinal regression in GENMOD - model check on Statistical Procedures. 07-02-2010 03:33 AM
02-06-2012
02:07 PM
Thanks Steve! How simple... Sometimes I tend to complicate things... ;o)
... View more
02-06-2012
08:00 AM
Hi, I wonder if it is possible to retain the original identification (Here: unikdyr) from the dataset in the solution output from the random statement in PROC MIXED. SAS code: ods output solutionR=sol; ods trace on; PROC MIXED data=b covtest ratio; id unikdyr; model ekm = dimund60 dimov60 / s ddfm=bw outp=predicted; random dimund60 dimov60 int / type=un subject=unikdyr solution; run; odc trace off; In the Solution output (sol) each individual now got a subject number, but I would like to be able to link that subjectnumber to an animalnumber (=unikdyr) because I want to use the random estimates in another model. Any good ideas?? Thanks - Bodil
... View more
10-22-2010
06:14 AM
I knew that a very easy solution was there somewhere... Thanks!
... View more
10-22-2010
01:40 AM
Hi,
In my data I have three variables - year, month and day that I want to combine into one date variable with the format ddmmyy8.
How can I do that?
Thanks - Bodil
... View more
07-08-2010
04:50 AM
Hi Dale - and any other smart people out there ;o),
Thanks for your answer!
I actually tried that, using GENMOD... I have been working my way through Stokes (Categorical Data Analysis, pp533), but are having problems as my sample size are not adequate. In a two-way cross-classification of my explanatory variables the count for one cell is only two. And then the model crashes...
Is that different in PROC NLMIXED?
Besides, according to Harrell (Regression Modeling Strategies, chap 13, p. 335) the PO test is extremely anti-conservative. The p-value of the test was ~0.03 - and I wonder whether this could be acceptable anyway? PROC LOGISTIC does not allow me to take the clustering of my data into account - how does that affect the PO test?
Thanks,
Bodil
... View more
07-02-2010
03:33 AM
Hi everybody,
I need some help with fitting a PO model for the first time... I
I'm evaluating the effects of different factors on the cleanliness of cows.
My response is a scoring of cleanliness on a scale with four levels: Clean=1 -
Covered in dirt=4. I have data from 1362 cows clustered in 44 herds.
I started out with 16 explanatory variables - and after backward elimination
I'm left with 3-4 categorical and one qualitative explanatory variables.
I've checked the PO assumption using PROC LOGISTIC - and the assumption did
not hold (p<0.001). If I excluded one of my variables it came closer (p=0,482)
.
I then assessed the ordinality of my response with respect to each
explanatory variable by plotting the mean of each explanatory variables
stratified by levels of the response variable. As the means did not differ
between score 1 and 2 it suggested, that these two levels should be merged.
Which I then did - and ran the PROC LOGISTIC again (with the 'suspicious'
variable included again). Now the proportional odds assumption was closer to
hold - p=0,0302.
My question - for now... - are:
* Can I continue with the PO model
* Does the test of the PO assumption in PROC LOGISTIC hold when I can't take
into account the clustering of my data?
* And how do I assess model fit using PROC GENMOD (SAS 9.1)?
This became a very long story - I hope that some of you can find the time to
help me out!
Regards Bodil
... View more