I have a dataset that is constructed like this:
The beta binomail distribution seems appropriate because my response variable (Y) is porportional. Thus, I am interested in looking at the relationship of the two X variables to Y. In order to use a beta binomial regression in jmp, you need to:
The beta binomial distribution requires a sample size greater than one for each observation. Thus, the user must specify a sample size column. To insert a sample size column, specify two continuous columns as Y in this order: the count of the number of successes, and the count of the number of trials. The link function for p is the logit.
Has anyone ever used this type of analysis and understands how to arrange the dataset to perform it correctly? Thank you for your help!
Yes, JMP requires two columns in the Y role. The order of entry in the Y role is important. The first data column is a count of successes (as you define success) and the second column is the count of the total observed (successes plus failures). So, for example, you might have observed 10 cases but none of them were successes when ID=A and Replicate=1. Instead of a proportion of 0, enter a count of 0 and a size of 10. You need to replace the proportional Y in your data table with two data columns.
I'm fitting a beta binomial generalized regression but the regression plot in the output is not accurate. The number of success (or number attacked) should be between 0 and 50 but in the plot is never above 5. Attached is a screenshot of the data and output. Any ideas what is going on here?