Me and my group is currently working on our exam, but we have an issue.
The main issue is, that it won't give up P-value result from our margins, dydx(*) command, so we only see dy/dx results.
How can this be?
I tried to post a picture of our issue, but for some reason I cannot get it to work properly.
Here is our Do-file:
tabulate q6
recode q6 (1=4 "Hovedstad") (2=3 "Storby") (3 4 5 6 = 2 "By") (7 8 = 1 "Lille by") (9 = 0 "Landdistrikt") (10=.), generat(Boligområde)
tab Boligområde
recode q91 (1=2 "Lejerbolig") (2=1 "Andelsbolig") (3 4=0 "Ejerbolig") (5=.), generate(Boligtype)
tab Boligtype
recode q1 (1=1 "Mand") (2=0 "Kvinde") (3=.), generate(Køn)
tab Køn
recode q90 (1=1 "Under 100.000kr") (2 3= 2 "100.000-199.999kr") (4 5=3 "200.000=299.999kr") (6 7=4 "300.000-399.999kr") (8 9=5 "400.000-499.999kr") (10=6 "500.000-599.999kr") (11=7 "600.000-699.999kr") (12=8 "700.000-799.999kr") (13=9 "800.000-899.999kr") (14=10 "900.000-999.999kr") (15=11 "1.000.000-1.099.999kr") (16=12 "1.100.000-1.199.999kr") (17=13 "1.200.000-1.299.999kr") (18=14 "1.300.000-1.399.999kr") (19=15 "1.400.000-1.499.999kr") (20=16 "1.500.00kr og derover") (21=.), generate(Husstandsindkomst)
recode q115 (4=1 "Privat") (3=2 "Offenligt") (1 2=3 "Offtentlig/privat"), generate(Jobsektor)
replace Jobsektor = 0 if q113_simpel ==6
recode Jobsektor (0=0 "uden for arbejdsstyrken") (1=1 "Privat") (2=2 "Offentlig") (3=3 "Offentlig/privat"), generate (Jobsektor_NY)
tab Jobsektor_NY
recode udd (1=0 "Folkeskole") (2=1 "Gymnasial udd.") (3=2 "Erhvervsfaglig") (4=3 "Kort videregående") (5=4 "Mellemlang udd.") (6=5 "Lang videregående"), generate (Uddannelse)
tab Uddannelse
tab q120
recode q120 (14/18=.)
clonevar Partivalg = q120
tab Partivalg
//Logistisk regressiom//
mlogit Partivalg i.Boligområde i.Boligtype c.Køn Husstandsindkomst i.Jobsektor_NY c.alder i.Uddannelse
margins, dydx(*)
Help would be very much appreciated!
0 Response to Mlogit: P-value dosen't appear when doing margins.
Post a Comment