Example: dental hygienist

Title stata.com ologit — Ordered logistic regression

Ordered logistic regressionSyntaxMenuDescriptionOptionsRe marks and examplesStored resultsMethods and formulasReferencesAlso seeSyntaxologitdepvar[indepvars] [if] [in] [weight] [,options]optionsDescriptionModeloffset( varname)includevarnamein model with coefficient constrained to 1constraints(constraints)apply specified linear constraintscollinearkeep collinear variablesSE/Robustvce(vcetype)vcetypemay beoim,robust,clusterclustvar,bootstrap, orjackknifeReportinglevel(#)set confidence level; default islevel(95)orreport odds ratiosnocnsreportdo not display constraintsdisplayoptionscontrol column formats, row spacing, line width, display of omittedvariables and base and empty cells, and factor-variable labelingMaximizationmaximizeoptionscontr ol the maximization process; seldom usedcoeflegenddisplay legend instea

to 10s, we would still obtain the same results when we refit our model. Example 2 In theexampleabove, we used ordered logit as a way to model a table. We are not, however, limited to including only one explanatory variable or to including only categorical variables. We can explore the relationship of rep77 with any of the variables in our data.

Tags:

  Model

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of Title stata.com ologit — Ordered logistic regression

1 Ordered logistic regressionSyntaxMenuDescriptionOptionsRe marks and examplesStored resultsMethods and formulasReferencesAlso seeSyntaxologitdepvar[indepvars] [if] [in] [weight] [,options]optionsDescriptionModeloffset( varname)includevarnamein model with coefficient constrained to 1constraints(constraints)apply specified linear constraintscollinearkeep collinear variablesSE/Robustvce(vcetype)vcetypemay beoim,robust,clusterclustvar,bootstrap, orjackknifeReportinglevel(#)set confidence level; default islevel(95)orreport odds ratiosnocnsreportdo not display constraintsdisplayoptionscontrol column formats, row spacing, line width, display of omittedvariables and base and empty cells, and factor-variable labelingMaximizationmaximizeoptionscontr ol the maximization process; seldom usedcoeflegenddisplay legend instead of statisticsindepvarsmay contain factor variables; see[U] Factor contain time-series operators.

2 See[U] Time-series ,by,fp,jackknife,mfp,mi estimate,nestreg,rolling,statsby,stepwis e, andsvyare allowed;see[U] Prefix (bootstrap)andvce(jackknife)are not allowed with themi estimateprefix; see [MI]mi are not allowed with thebootstrapprefix; see [R] ()and weights are not allowed with thesvyprefix; see [SVY] ,iweights, andpweights are allowed; see[U] not appear in the dialog [U] 20 Estimation and postestimation commandsfor more capabilities of estimation >Ordinal outcomes> Ordered logistic regression12 ologit Ordered logistic regressionDescriptionologitfits Ordered logit models of ordinal variabledepvaron the independent actual values taken on by the dependent variable are irrelevant, except that larger values areassumed to correspond to higher [R]logisticfor a list of related estimation model offset(varname)

3 ,constraints(constraints),collinear; see [R]estimation options. SE/Robust vce(vcetype)specifies the type of standard error reported, which includes types that are derivedfrom asymptotic theory (oim), that are robust to some kinds of misspecification (robust), thatallow for intragroup correlation (clusterclustvar), and that use bootstrap or jackknife methods(bootstrap,jackknife); see [R]vceoption. Reporting level(#); see [R]estimation the estimated coefficients transformed to odds ratios, that is,ebrather thanb. Standard errorsand confidence intervals are similarly transformed.

4 This option affects how results are displayed,not how they are be specified at estimation or when replaying previouslyestimated ; see [R]estimation :noomitted,vsquish,noemptycells,baseleve ls,allbaselevels,nofvla-bel,fvwrap(#),fv wrapon(style),cformat(%fmt),pformat(%fmt ),sformat(%fmt), andnolstretch; see [R]estimation options. Maximization maximizeoptions:difficult,technique(algo rithmspec),iterate(#),[no]log,trace,grad ient,showstep,hessian,showtolerance,tole rance(#),ltolerance(#),nrtolerance(#),no nrtolerance, andfrom(initspecs); see [R]maximize.

5 These options areseldom following option is available withologitbut is not shown in the dialog box:coeflegend; see [R]estimation and logit models are used to estimate relationships between an ordinal dependent variable anda set of independent variables. Anordinalvariable is a variable that is categorical and Ordered , forinstance, poor , good , and excellent , which might indicate a person s current health status orthe repair record of a car. If there are only two outcomes, see [R] logistic , [R]logit, and [R] entry is concerned only with more than two outcomes.

6 If the outcomes cannot be Ordered (forexample, residency in the north, east, south, or west), see [R]mlogit. This entry is concerned onlywith models in which the outcomes can be Ordered logistic regression 3In Ordered logit, an underlying score is estimated as a linear function of the independent variablesand a set of cutpoints. The probability of observing outcomeicorresponds to the probability that theestimated linear function, plus random error, is within the range of the cutpoints estimated for theoutcome:Pr(outcomej=i) = Pr( i 1< 1x1j+ 2x2j+ + kxkj+uj i)ujis assumed to be logistically distributed in Ordered logit.

7 In either case, we estimate the coefficients 1, 2,.., ktogether with the cutpoints 1, 2,.., k 1, wherekis the number of possibleoutcomes. 0is taken as , and kis taken as+ . All of this is a direct generalization of theordinary two-outcome logit 1We wish to analyze the 1977 repair records of 66 foreign and domestic cars. The data are avariation of the automobile dataset described in[U] Example datasets. The 1977 repair records,like those in 1978, take on values Poor , Fair , Average , Good , and Excellent.

8 Here is across-tabulation of the data:. use (Automobile Models). tabulate rep77 foreign, chi2 RepairRecordForeign1977 Domestic ForeignTotalPoor2 13 Fair10 111 Average20 727 Good13 720 Excellent0 55 Total45 2166 Pearson chi2(4) = Pr = it appears thatforeigntakes on the valuesDomesticandForeign, it is actually anumeric variable taking on the values 0 and 1. Similarly,rep77takes on the values 1, 2, 3, 4, and5, corresponding toPoor,Fair, and so on.

9 The more meaningful words appear because we haveattached value labels to the data; see[U] Value the chi-squared value is significant, we could claim that there is a relationship betweenforeignandrep77. Literally, however, we can only claim that the distributions are different; thechi-squared test is not directional. One way to model these data is to model the categorization thattook place when the data were created. Cars have a true frequency of repair, which we will assumeis given bySj= foreignj+uj, and a car is categorized as poor ifSj 0, as fair if 0< Sj 1, and so on:4 ologit Ordered logistic regression .

10 ologit rep77 foreignIteration 0: log likelihood = 1: log likelihood = 2: log likelihood = 3: log likelihood = 4: log likelihood = logistic regression Number of obs = 66LR chi2(1) = > chi2 = likelihood = Pseudo R2 = Std. Err. z P>|z| [95% Conf. Interval] .5308951 .4153425 .5988208 .3217706 .3136398 .3278925 .5423257 model isSj= +uj; the expected value for foreign cars is and, for domesticcars, 0; foreign cars have better repair estimated cutpoints tell us how to interpret the score.


Related search queries