Dear Statalist
I have the following data
100 observations
yvar is a proportion (taking values from 0 to 1)
xvar is a count var containing integers 0, 1 [...] 20
the data has a hieracical structure ( i.e. the same 10 sections clustered within 4 herds have been observed twice by to different observers on 20 different days)
I would like to fit a beta regression, as this will be the an appropiate way to model the proportion.
However I need to account for the hierachy of the data, but ufortunately i don't find a multilevel possibilty for the betareg command. The vce(cluster clustervar) option only allows to account for one level of clustering.
Do you have any suggestions on alternatives?
Best Regards
Esben
I have the following data
100 observations
yvar is a proportion (taking values from 0 to 1)
xvar is a count var containing integers 0, 1 [...] 20
the data has a hieracical structure ( i.e. the same 10 sections clustered within 4 herds have been observed twice by to different observers on 20 different days)
I would like to fit a beta regression, as this will be the an appropiate way to model the proportion.
Code:
betareg yvar xvar
Do you have any suggestions on alternatives?
Best Regards
Esben