I am modeling a proportion (numerator/denominator where the denominator represents the number of trials and the numerator the number of successes), comparing performance between 2 groups of subjects over time, with melogit as follows:
The problem I'm running into is that when I try to get the marginal predictions:
Then I get the predictions in terms of the numerator. How do I get the marginal predictions instead as proportions?
Code:
melogit numerator i.time##i.group [pweight = w], || subject:time, covariance(unstructured) binomial(denominator)
Code:
margins i.time#i.group, predict(fixedonly)
Comment