There is a homoskedasticity test for the tobit model as outlined in microeconometrics with stata by cameron and trivedi.
However a certain command keeps giving error messages and it is not a problem of syntax:
foreach var in $xlist {
2. generate score 'var' = gres1*'var'
3. }
' invalid name
r(198);
. foreach var in $xlist {
2. generate score 'var' = gres1 * 'var'
3. }
' invalid name
r(198);
Originally I used score'var' = gres1*'var' which also gave an error.
Would you know why this has occurred and how to solve this?
Many thanks
However a certain command keeps giving error messages and it is not a problem of syntax:
foreach var in $xlist {
2. generate score 'var' = gres1*'var'
3. }
' invalid name
r(198);
. foreach var in $xlist {
2. generate score 'var' = gres1 * 'var'
3. }
' invalid name
r(198);
Originally I used score'var' = gres1*'var' which also gave an error.
Would you know why this has occurred and how to solve this?
Many thanks
Comment