馃攳
Heteroskedastic ordered probit models - YouTube
Channel: unknown
[0]
hi this is Gabriela Ortiz for the stata YouTube聽
channel I'd like to introduce you to the new聽聽
[9]
hetoprobit command in stata 16 hetoprobit聽
is an ordinal probit regression model with聽聽
[14]
multiplicative heteroskedastic errors this聽
command generalizes ordinal probit regression聽聽
[19]
by incorporating a variance model with its own聽
set of predictor variables these may include聽聽
[24]
variables that are included in the model for the聽
latent variable mean and variables that are not聽聽
[28]
to demonstrate I have loaded an extract from聽
the American time use survey that eat health聽聽
[33]
15 dataset but to keep things simple I will not聽
take the survey design into account I'd like to聽聽
[39]
fill a model for the self rating of physical聽
health as a function of an individual's age聽聽
[43]
body mass index and whether or not they exercise聽
in the week prior to the survey note that health聽聽
[48]
ranges from 1 for poor to 5 for excellent to fit聽
this model I can go to statistics ordinal outcome聽聽
[56]
and heteroskedastic ordered probit regression聽
here I'll specify the outcome variable which is聽聽
[63]
health and the independent variables age BMI and聽
exercise age and BMI are continuous so go ahead聽聽
[72]
and check this box to treat them as continuous聽
and last I'll add exercise which is an indicator聽聽
[79]
variable so I can click OK now I suspect that the聽
variation in health status is greater in an older聽聽
[85]
population as compared with a youthful population聽
and I believe that health variability may differ聽聽
[90]
between those who exercise and those who do not so聽
I can use header profit to model the variance as a聽聽
[94]
function of these variables by simply specifying聽
them here in the variance model so I'll go ahead聽聽
[101]
and add age and exercise and I can click OK once聽
more to fit this model now I see 3 tables here in聽聽
[116]
the output first I see the effect of independent聽
variables on health status then I see the output聽聽
[121]
for the variance model under Ln Sigma and last聽
I see the cut points for the unobserved latent聽聽
[127]
variable and down here in the bottom I also see聽
a test of homogeneity of the variance next I'd聽聽
[133]
like to use the margins command to compute the聽
expected probability of having excellent health聽聽
[137]
for the 3270 age range so I can go to statistics聽
post estimation and I'll select marginal effects聽聽
[147]
marginal means and predictive margins next I'll聽
click on custom analysis and for the prediction聽聽
[157]
I'll specify the fit outcome and click OK next聽
I'll add the age range so simply specify the聽聽
[168]
covariate and specify the age range 30 to 70聽
in increments of 10 and click OK and now we聽聽
[181]
see how the probability of rating one's health聽
as excellent decreases with each decade and I聽聽
[187]
can visualize this relationship between age聽
and the expected probability of rating one's聽聽
[192]
health as excellent by simply typing margins聽
plot there are a lot of other interesting聽聽
[199]
things you can do with margins after fitting a聽
model with header probit for example I obtained聽聽
[203]
population average expected probabilities but聽
you can also obtain expected probabilities for聽聽
[208]
subpopulations or individuals and you might聽
explore the relationship between covariance聽聽
[213]
and the error variance I mentioned before that聽
this was data from a complex survey and I didn't聽聽
[218]
take that into account in the model I fit but聽
you can use header probit to fit models with聽聽
[222]
complex survey data by specifying the svy prefix聽
you can also use robust cluster robust bootstrap聽聽
[229]
and jackknife standard errors and you may even聽
choose to fit a bayesian heteroskedastic ordered聽聽
[234]
probit regression model if you would like to聽
learn more about the new hetoprobit command in聽聽
[239]
Stata 16 you can download the manual from our聽
website at Stata.com thank you for watching
Most Recent Videos:
You can go back to the homepage right here: Homepage





