I estimate an ordinal logistic regression model and use 'oparallel' to get the p-value from a Brant test:
webuse fullauto,clear
ologit rep77 foreign
oparallel, brant
This returns a chi2-value of 926 and a p-value of 0.000.
Now, recoding the dependent variable as:
recode rep77 (1=5) (2=4) (4=2) (5=1), gen(rep77_2)
and running
ologit rep77_2 foreign
oparallel, brant
returns a chi2-value of -3396 and a p-value of 1.000.
This surely has a perfectly reasonable explanation, but i wonder if someone would care to explain to me exactly what is going on here?
Related Posts with Brant test for parallel regression lines dependent on coding of dependent variable
Reshape Long Missing Values ErrorMy dataset is in time series format. I am converting it to a panel using the following code: Code…
Merging 3 data setsGood evening all. I am looking for some help merging 3 data sets. All 3 data sets are sorted by pati…
Different resutls between xtreg and xtivreg2 I recently ran into an issue with xtivreg2. I find that the coefficient estimates are so much diffe…
Marginsplot, addplot - adjustmentHello, using the command: - marginsplot, addplot(hist...)-, I got this graph: Array I would like to…
Twoway line by countyHi everyone, For my Panel Data descriptive Analysis I am trying to graph the development of Chargin…
Subscribe to:
Post Comments (Atom)
0 Response to Brant test for parallel regression lines dependent on coding of dependent variable
Post a Comment