Hi,
I need to run a regression. As i use fractional data I thought about using the fracreg (or similar Richard Williams' fracglm) command. But I alway get an error code from stata.
In his PDF "Analyzing Proportions: Fractional Response and Zero One Inflated Beta Models" (https://www3.nd.edu/~rwilliam/stats3...onseModels.pdf) he shows an example with Wooldridge's (2011) data from 4,075 companies in 1987. Using exactly the same codes as he does, mainly
use https://www3.nd.edu/~rwilliam/statafiles/401kpart, clear
fracglm prate mrate ltotemp age i.sole, het(mrate ltotemp age i.sole) link(p)
I get the same error from stata as with my own data:
. use https://www3.nd.edu/~rwilliam/statafiles/401kpart, clear
. fracglm prate mrate ltotemp age i.sole, het(mrate ltotemp age i.sole) link(p)
_robust_work(): 3102 function found where matrix required
rob__compute(): - function returned error
robust(): - function returned error
moptimize_result_V_robust(): - function returned error
mopt__result_V(): - function returned error
moptimize_result_post(): - function returned error
Mopt_maxmin(): - function returned error
<istmt>: - function returned error
r(3102);
The same happens after using the fracreg command which he also describes. It is the same error code.
Can someone help me solving this? Did I (and therefore he as I used what he told me to use) miss something out?
Thanks a lot
Robert
I need to run a regression. As i use fractional data I thought about using the fracreg (or similar Richard Williams' fracglm) command. But I alway get an error code from stata.
In his PDF "Analyzing Proportions: Fractional Response and Zero One Inflated Beta Models" (https://www3.nd.edu/~rwilliam/stats3...onseModels.pdf) he shows an example with Wooldridge's (2011) data from 4,075 companies in 1987. Using exactly the same codes as he does, mainly
use https://www3.nd.edu/~rwilliam/statafiles/401kpart, clear
fracglm prate mrate ltotemp age i.sole, het(mrate ltotemp age i.sole) link(p)
I get the same error from stata as with my own data:
. use https://www3.nd.edu/~rwilliam/statafiles/401kpart, clear
. fracglm prate mrate ltotemp age i.sole, het(mrate ltotemp age i.sole) link(p)
_robust_work(): 3102 function found where matrix required
rob__compute(): - function returned error
robust(): - function returned error
moptimize_result_V_robust(): - function returned error
mopt__result_V(): - function returned error
moptimize_result_post(): - function returned error
Mopt_maxmin(): - function returned error
<istmt>: - function returned error
r(3102);
The same happens after using the fracreg command which he also describes. It is the same error code.
Can someone help me solving this? Did I (and therefore he as I used what he told me to use) miss something out?
Thanks a lot
Robert
Comment