Hello
I am currently writing a paper on democratic satisfaction in the UK over the last 20 years where I am using gologit2
I was wondering if it's possible to set some of the control variables at there means.
my control variables are gender, age, economic evaluation and general interest in politics.
this is currently my dofil
global ylist tilfreds global xlist i.year##i.vinder6 i.b_1 c.øi c.b_3 c.d_10 summarize $ylist $xlist ologit $ylist $xlist, nolog brant gologit2 $ylist $xlist, autofit lrforce or nolog
b_1 is a dichotomy variable for gender, where man is 0 and female is 1
øi is an index over economic evaluation, which is categorical and can have a value between 0-5
d_10 is political interest and is a continuous variable between 0-10
b_3 is age and the min values are 18 and max is 98.
I would love to be able to set economical evaluation, general interest, and age their means.
right now my output is for an extreme observation, an 18 male, who has no interest in politics, think the economy is doing horrible.
hope somebody can help
Eva
Related Posts with Gologit2 set categorical values
Time dummies to estimate the length of relationshipsI am working with 18 waves of panel data (HILDA) and in each wave, respondents state their marital s…
merge two files.Dear All, I find this question here (in Chinese). There are two files. The first one is something li…
When I double-click a .dta file, Stata recognizes it as an R file! How to fix it?Today, I went to work on Stata and double clicked a .dta file. The computer presented the message b…
-nbvargr- download fails, Stata 12Stata Version: 12 Dear all, I've tried to download the user written command -nbvargr-, however I r…
drop duplicates valuesHello, I want to drop duplicates values of a variable if the number of copies are less than five. T…
Subscribe to:
Post Comments (Atom)
0 Response to Gologit2 set categorical values
Post a Comment