Hi all,
Just wondering as to why the sample sizes are different when I run Logit/probit and PMLE regression? I am running the model on the same sample, i.e. there are no missing values in my data for all the covariate I use, however, the sample sizes are still different between the two models.
I use the follwoing commanf:
firthlogit c $reg2
estimates store pmle1 ** sample size or number of obs 7081
logit c $reg2 , r
estimates store l1 ** sample size or number of obs 6903
probit c $reg2 ,r
estimates store p1 ** sample size or number of obs 6903
After I run the logit and probit I get the following message
"note: 9.income_week != 0 predicts failure perfectly
9.income_week dropped and 117 obs not used
note: 1.educ != 0 predicts failure perfectly
1.educ dropped and 61 obs not used"
Is there some way I can avoid these observations to not be dropped?
Thanks for the help !!
Kind Regards,
Aarushi
Related Posts with Logit, Probit and Penalised Maximum Likelihood (PMLE)
Problem when running loops with forvalues command: error message: `i' invalid nameDear Statalist, I got a problem with running a loop. I give you my whole code, so you can see how v…
Merge m:1 using participant ID in matched case-control data - error messagesHi, I have a matched case control dataset with 3 controls to every case. I have data that I want to…
Help in 'moving common' commandI have an unbalanced panel, say firms over years, each firm has a variable of interest. I would like…
Renaming group of variables as varHello, Can anyone advise how to rename a group as variables as simply var1 var2 var3 etc. Currentl…
Collapsing time variableHello all, I am quite new to stata and I need help with a simple question (I think), that I just ca…
Subscribe to:
Post Comments (Atom)
0 Response to Logit, Probit and Penalised Maximum Likelihood (PMLE)
Post a Comment