I have a porportional response variable (herbivore damage to a leaf) that is between 0 and 1 with many zeros. I am interested in fitting a model of several different traits (continuous variables) to this response variable. These observations are on many different genotypes, each having several replicates. I am not entirely certain how to transform the dataset in order to properly use this model. A part of creating a ZI beta regression model is that you need 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." I don't know what the sample size variable looks like. Any help is greatly appreciated!

... View more