05-14-2024
Dicarlis
Obsidian | Level 7
Member since
11-24-2021
- 17 Posts
- 13 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by Dicarlis
Subject Views Posted 1315 04-10-2024 09:57 AM 942 02-27-2024 11:55 AM 962 02-27-2024 11:12 AM 984 02-27-2024 09:54 AM 1059 02-25-2024 04:33 PM 1814 02-08-2024 01:37 PM 1837 02-08-2024 12:29 PM 4756 02-05-2024 12:12 AM 2039 02-03-2024 11:40 AM 5370 12-22-2023 11:58 AM -
Activity Feed for Dicarlis
- Posted What parameter to use for DDFM= in proc mixed? on Statistical Procedures. 04-10-2024 09:57 AM
- Posted Re: Analysis Fatorial, ortogonal contrats or esponse surface regression analysis over time on Statistical Procedures. 02-27-2024 11:55 AM
- Liked Re: Analysis Fatorial, ortogonal contrats or esponse surface regression analysis over time for Rick_SAS. 02-27-2024 11:55 AM
- Posted Re: Analysis Fatorial, ortogonal contrats or esponse surface regression analysis over time on Statistical Procedures. 02-27-2024 11:12 AM
- Liked Re: Analysis Fatorial, ortogonal contrats or esponse surface regression analysis over time for Rick_SAS. 02-27-2024 11:12 AM
- Liked Re: Analysis Fatorial, ortogonal contrats or esponse surface regression analysis over time for Rick_SAS. 02-27-2024 11:12 AM
- Posted Re: Analysis Fatorial, ortogonal contrats or esponse surface regression analysis over time on Statistical Procedures. 02-27-2024 09:54 AM
- Posted Analysis Fatorial, ortogonal contrats or esponse surface regression analysis over time on Statistical Procedures. 02-25-2024 04:33 PM
- Posted Re: Random effect or covariate ? on Statistical Procedures. 02-08-2024 01:37 PM
- Liked Re: Random effect or covariate ? for SteveDenham. 02-08-2024 01:37 PM
- Liked Re: Random effect or covariate ? for SteveDenham. 02-08-2024 12:30 PM
- Posted Re: Random effect or covariate ? on Statistical Procedures. 02-08-2024 12:29 PM
- Posted Re: Can I remove outliers with this command? on SAS Procedures. 02-05-2024 12:12 AM
- Liked Re: Random effect or covariate ? for sbxkoenk. 02-05-2024 12:03 AM
- Liked Re: How to determine random effects? for SteveDenham. 02-03-2024 11:46 AM
- Liked Re: How to determine random effects? for soaresrd. 02-03-2024 11:46 AM
- Posted Random effect or covariate ? on Statistical Procedures. 02-03-2024 11:40 AM
- Posted Re: Can I remove outliers with this command? on SAS Procedures. 12-22-2023 11:58 AM
- Posted Re: Can I remove outliers with this command? on SAS Procedures. 12-20-2023 12:33 PM
- Liked Re: Can I remove outliers with this command? for SteveDenham. 12-20-2023 12:33 PM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 1 5 3
04-10-2024
09:57 AM
Good morning, I'm currently analyzing a much larger database than I'm used to. For this analysis I need to use the proc mixed with repeated measures, however when I test the covariance matrices and use the command DDFM=KR or DDFM=kr2 I have two problems: 1- the script does not work due to lack of memory even using options memsize=; independent of how much memory you use (max obs used 20G) 2- The DEN F appear as infinite, However, I was unable to understand the differences between DDFM= betwithin, contain, kenwardroger, kenwardroger2, residual or satterthwaite. Here is the model used: PROC MIXED; CLASS id_Animal TRT day; MODEL visit = TRT dday trt*ddai / ddfm= ?? ; RANDOM id_Animal ; REPEATED day /TYPE = ?? SUBJECT = id; RUN;
... View more
02-27-2024
11:55 AM
I understand, thank you very much, it helped me a lot! I will read the indicated material and think more about the approach and discuss it with the group.
... View more
02-27-2024
11:12 AM
That's right, understand! I made a similar script thinking about repeated measurements over time, what do you think? (see below)
data cattle; input ID Pen day Factor1 /*(0-50days)*/ Factor2 /*(51 - 100days)*/ Dry_matter_intake; cards; 1 1 1 7 7 10 2 2 1 7 7 9.5 3 1 1 7 7 9.6 4 2 1 7 7 9.9 5 1 1 7 7 10.5 6 2 1 7 12 10 7 1 1 7 12 9.5 8 2 1 7 12 9.6 9 1 1 7 12 9.9 10 2 1 7 12 10.5 11 1 1 12 12 10 12 2 1 12 12 9.5 13 1 1 12 12 9.6 14 2 1 12 12 9.9 15 1 1 12 12 10.5 16 2 1 12 12 10 17 1 1 12 7 9.5 18 2 1 12 7 9.6 19 1 1 12 7 9.9 20 2 1 12 7 10.5
; proc mixed data=a; class ID Pen day Factor1 Factor2; model Dry_matter_intake = Factor1|Factor2|day pen /ddfm=kr; repeated day / subject = ID type= ante(1); random id; lsmeans Factor1|Factor2|day/ pdiff adjust = tukey ; run;
... View more
02-27-2024
09:54 AM
I understand, I just don't know how to put this in the sas programming, how to separate these factors
... View more
02-25-2024
04:33 PM
In an experiment, we evaluated the effect of decreasing or increasing the roughage content in feedlot diets: We have a standard diet with 12% roughage, one as a negative control with 7% roughage for the entire 100 days of confinement (D1 and D2), a diet that starts with 12% roughage for 50 days and then decreases to 7% in the last 50 days (D3), and the last diet that starts with 7% roughage for 50 days and then increases to 12% in the last 50 days (D4). The hypothesis of the study is that by increasing the roughage at the end of confinement, we increase feed intake and consequently the performance of beef cattle. I thought about analyzing this experiment as a 2x2 factorial (two diets with fixed roughage content and two changes in roughage content), or conducting orthogonal contrasts D1vsD2, D1vsD3, and D1vsD4. Or performing a response surface regression analysis over time, but I have no idea how to do that because I've never done it before.
... View more
02-08-2024
01:37 PM
Now everything is clear, I'm sorry for not being able to explain it properly the first time and thank you very much for your help!
... View more
02-08-2024
12:29 PM
Hey Steve, How are you ? Thank you very much for your reply! I studied it and it became clear that the mother effect must be random and is synonymous with the animal effect (they have a unique identification). Now the father effect is more complicated, as they are only 3 individuals within the population, because in our study we tried to control this effect to understand the effect of factors 1 and 2 that were applied to the mother during pregnancy and what this would imply during the life of the child (animal). So I understand that the father effect should be a fixed effect, although we are not interested in studying this effect that we are trying to control, but for many variables it has a significant effect, but I am still not confident if this is really the best approach.
... View more
02-05-2024
12:12 AM
Hi, my new problem is: In our trail, we need to control a lot of effects, example: animal, mother this animal, father this animal, season of bron (3 months rang) and pen. We were using the 2x2 factorial array. Each treatments are composed for 2 factors for each animal. Our problem is that all this factors influence the response varible ex average gain daily (animal, mother this animal, father this animal, season of bron and pen). Before we use the model : PROC MIXED; CLASS mother father factor1 factor2 animal born_season pen time; model PV= factor1|factor2|time / DDFM=KR; RANDOM mother father animal born_season pen time; REPEATED time/ TYPE = ar(1) SUBJECT = animal(factor1|factor2); RUN; But now we want to isolate the effects of the factors 1 and 2, we think that for this we need to use the covariate effect, The model looks like this: PROC MIXED; CLASS mother father factor1 factor2 animal born_season pen time; model PV= factor1|factor2|time mother father animal born_season pen time / DDFM=KR; RANDOM animal; REPEATED time/ TYPE = ar(1) SUBJECT = animal(factor1|factor2); RUN; Do you agree with this approach?
... View more
02-03-2024
11:40 AM
Hi, my new problem is: In our trail, we need to control a lot of effects, example: animal, mother this animal, father this animal, season of bron (3 months rang) and pen. We were using the 2x2 factorial array. Each treatments are composed for 2 factors for each animal. Our problem is that all this factors influence the response varible ex average gain daily (animal, mother this animal, father this animal, season of bron and pen). Before we use the model : PROC MIXED; CLASS mother father factor1 factor2 animal born_season pen time; model PV= factor1|factor2|time / DDFM=KR; RANDOM mother father animal born_season pen time; REPEATED time/ TYPE = ar(1) SUBJECT = animal(factor1|factor2); RUN; But now we want to isolate the effects of the factors 1 and 2, we think that for this we need to use the covariate effect, The model looks like this: PROC MIXED; CLASS mother father factor1 factor2 animal born_season pen time; model PV= factor1|factor2|time mother father animal born_season pen time / DDFM=KR; RANDOM animal; REPEATED time/ TYPE = ar(1) SUBJECT = animal(factor1|factor2); RUN; Do you agree with this approach?
... View more
12-22-2023
11:58 AM
Thanks Dr Denhamm for your help, I go to work in this data, Sincerally,
... View more
12-20-2023
12:33 PM
Hi Dr Denham, thans for yor awnser. I really happie for you share the experiences for your Doctoral. I understand and agree, now I don't understand the term fitting truncated distributions, how i do it ? Sincerally,
... View more
12-14-2023
07:34 AM
Hi, thanks for all the responses! We only remove outliers when the data is not normal or when there are collection problems. We adopt this method to be confident in not making type I or II errors. Our new problem is the amount of data, we are using a new automatic animal feeding system, and this system to generate a lot of data (for each moment that the animal ingests the diet, or interacts with the system). The system shows data that is impossible to be true (i.e., more than 60 kg of dry matter ingested per day). We don't know what causes these errors and how to remove the unreal values and if should do it.
... View more
11-26-2023
04:11 PM
Hi Koen! Thanks for your awnser! The data is from a trail using animals, where we evaluing this animals in all growting phases. The RCBD was used for control the distance betwin borns, the animals born in same month is a block, sumarized we had 3 months betwin borns and 5 blocks. And the repeated measurements (for month) are on the smallest size of experimental unit (animal weigth in frist month of the life, for exemple). The script the me use is correct ?
... View more
11-26-2023
02:07 PM
Hi, In my analysis i had a factorial arrangement 2x2 with measures repeated in the time. My doubt is in "subject" content, i shueld puted the interaction for factor1 e fctor2 to describ the residual error, flow the example: PROC MIXED; CLASS animal mom dad factor1 factor2 block time; MODEL BW= factor1 factor2 time factor1*factor2 factor1*factor2*time factor1*time factor2 *time /DDFM=KR; RANDOM mom dad block animal; REPEATED time/ TYPE= ante(1) SUBJECT= animal(factor1*factor2) RCORR R; LSMEANS factor1 factor2 factor1*factor2 / PDIFF=all; run;
... View more
11-03-2023
03:51 PM
Hello, thanks for the answers, this question was generated because some colleagues, when working with experiments in a factorial arrangement, only consider the main factor to remove outliers, however I believe that the interaction between the factors (which makes up our treatments) that must be considered, is this line of thinking right?
... View more