Hi, This actually is a follow up of a previous question i asked (proc glimmix, insect counts), but i shall give the information again: I am busy on a comparative study on different sowing types for field margins in their effect on abundancies of insects I have 4 different types of sowing type: G(rass),I(ndiginous),T(übinger) and C(lover), The experimental setup is as such that I have planted on each location these four different sowing types, so at every location there are four field margins, each containing one of the sowing types, but never two same sowing types on the same location. I then have 3 locations where all four sowing types are represented and 1 location where only I and T are present. So I have an unbalanced design and a very small sample size. This actually is data obtained from repeated measurements, I sampled the field margins four times in the season. I have already (with the help of this forum) done a repeated measurements analysis on the whole abundancies (all insects) and on one functional group of them , using a negative binomial generalized mixed linear model. So here I could fit a model count=treatment date treatment*date with random intercept for location and a repeated measurements cobvariance structure. but for another functional group of intrest in the insect-counts I cannot obtain a converging model, even when adjusting the pconv, maxiter... there are a lot of zero counts for some locations/treatments/dates and i guess that is why it does not converge... Now comes the problem I would like to solve: Because I cannot obtain a model with the repeated measurements design, I thought I could look at it for the whole season then… So now I counted up the number of bumble bees of this functional group at each location at each treatment. Instead of having now for location x, treatment G for example 4 measurements (one on each date), I now have 1 measurement (the 4 measurements of the dates counted up). My first question is: is this reasonable to do so? Although it is a pilot study, I wouldn’t like to report p-values which are not very accurate because of huge confidence intervals and low power because I by doing this reduced the number of freedom degrees drastically… Second question: Is the following proposed justified to do in this experimental setup, given that the first question is positively answered? The counted up data-input is as follows, below that the code I would want to use, but which I am not sure of… data jaarkortetong; input loc $ treatment $ count; cards; mb g 2 md g 33 pv g 2 mb i 1 md i 44 pv i 17 gb i 38 mb k 2 md k 5 pv k 1 mb t 23 md t 27 pv t 27 gb t 48 run; ods graphics on; proc glimmix data=jaarkortetong initglm method=mspl; nloptions maxiter=2000 tech=congra;; class treatment loc; model count=treatment/dist=negbin link=log solution ddfm=sat; random intercept/ subject=loc; lsmeans treatment/cl ilink diff plot=meanplot (ilink); run; ods graphics off; best regards, Bas
... View more