Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Programming question

From   "Antonio Rodrigues Andres" <[email protected]>
To   <[email protected]>
Subject   st: Programming question
Date   Fri, 24 Oct 2003 09:43:58 +0200

Dear friends

I run this regression using probit grouped data regression models

gprobit ntcrimes pop cl income1 pyoung pforeign unempl $zvars

I have tried to replicate the analysis

gen lpe1=invnorm(ntcrimes/pop)
gen v= (ntcrimes/pop)*(pop-ntcrimes/pop)/(pop*normden^2*lpe1)

regress lpe1 cl income1 pyoung pforeign unempl $zvars [aweight=1/v]

but I dont get the same results I guess the problem is concerning with
the weights

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index