Code Repeated Measures and distribution in R from SAS -


I have the following code in the SAS, and I am R. There is a need to recreate this model for the data set in Trouble finding the appropriate code to recreate the model, especially changing the distribution of data for gamma distribution.

SAS code

  proc glimmix data = combined plot = (residualpanel studentpanel); Class block pen hour day; Meaning of the model = hours | Pen / solution ddfm = kr dist = gamma; Random _residual_ / theme = steer type = cs; Random block; Random blocking / subject = pen; LSMens Hours / Cl Plot = Earthlot; Output Out = Final MODEL pred = p resid = r lcl = lowlimit ucl = uplimit; Run;  

Any help would be appreciated


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -